-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathRNZano.podspec
More file actions
37 lines (29 loc) · 1.05 KB
/
RNZano.podspec
File metadata and controls
37 lines (29 loc) · 1.05 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
31
32
33
34
35
36
37
require "json"
package = JSON.parse(File.read(File.join(__dir__, "package.json")))
Pod::Spec.new do |s|
s.name = "RNZano"
s.version = package["version"]
s.summary = package["description"]
s.homepage = package["homepage"]
s.license = package["license"]
s.authors = package["author"]
s.platforms = { :ios => "16.6" }
s.source = { :git => "https://github.com/hyle-team/react-native-zano.git", :tag => "#{s.version}" }
s.source_files = [
"cpp/**/*.{hpp,cpp}",
"ios/**/*.{m,mm,swift}",
]
s.vendored_frameworks = [
# 'libraries/lib/libzano-iphoneos-iphonesimulator.xcframework'
'libraries/_install_ios/lib/libzano-plain-wallet.xcframework',
]
s.pod_target_xcconfig = {
# C++ compiler flags, mainly for folly.
"GCC_PREPROCESSOR_DEFINITIONS" => "$(inherited) FOLLY_NO_CONFIG FOLLY_CFG_NO_COROUTINES"
}
s.dependency 'React-jsi'
s.dependency 'React-callinvoker'
load 'nitrogen/generated/ios/RNZano+autolinking.rb'
add_nitrogen_files(s)
install_modules_dependencies(s)
end