-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathreact-native-cfd.podspec
More file actions
30 lines (24 loc) · 1.16 KB
/
react-native-cfd.podspec
File metadata and controls
30 lines (24 loc) · 1.16 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
require "json"
package = JSON.parse(File.read(File.join(__dir__, "package.json")))
Pod::Spec.new do |s|
s.name = "react-native-cfd"
s.version = package["version"]
s.summary = package["description"]
s.homepage = package["homepage"]
s.license = package["license"]
s.authors = package["author"]
s.platforms = { :ios => "10.0" }
s.source = { :git => "https://github.com/atomicfinance/react-native-cfd.git", :tag => "#{s.version}" }
s.source_files = ["ios/*.{h,hpp,cpp,m,mm,swift}", "ios/cfd-js/src/**/*.{h,cpp}", "ios/cfd-js/include/**/*.{h}"]
s.vendored_libraries = "ios/lib/libcfd.a", "ios/lib/libcfdcore.a", "ios/lib/libunivalue.a", "ios/lib/libwally.a"
s.private_header_files = ["ios/lib/**/*.{h}", "ios/**/*.hpp", "ios/cfd-js/**/*.h"]
s.dependency "React-Core"
s.preserve_paths = ['lib/**', 'include/**']
s.pod_target_xcconfig = {
'HEADER_SEARCH_PATHS' => ["\"" + __dir__ + "/ios/lib\"", "\"" + __dir__ + "/ios/cfd-js/include\""]
}
s.xcconfig = {
'HEADER_SEARCH_PATHS' => ["\"${PODS_ROOT}/react-native-cfd/ios/lib\"", "\"${PODS_ROOT}/react-native-cfd/ios/cfd-js/include\""]
}
s.library = 'c++'
end