-
Notifications
You must be signed in to change notification settings - Fork 11
/
RNCardano.podspec
36 lines (27 loc) · 1.04 KB
/
RNCardano.podspec
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
Pod::Spec.new do |s|
package = JSON.parse(File.read(File.join(File.dirname(__FILE__), 'package.json')))
s.name = "RNCardano"
s.version = package['version']
s.summary = package['description']
s.homepage = "https://github.com/Emurgo/react-native-cardano"
s.license = package['license']
s.author = { "Crossroad Labs" => "[email protected]" }
s.source = { :git => "https://github.com/Emurgo/react-native-cardano.git", :tag => "#{s.version}" }
s.source_files = 'ios/**/*.{h,m,swift,sh}'
s.exclude_files = 'android/'
s.requires_arc = true
s.ios.deployment_target = '10.0'
s.tvos.deployment_target = '10.0'
s.script_phase = {
:name => 'Build Rust Binary',
:script => 'bash ${PODS_TARGET_SRCROOT}/ios/rust/build.sh',
:execution_position => :before_compile
}
s.pod_target_xcconfig = {
'HEADER_SEARCH_PATHS' => '$(CONFIGURATION_BUILD_DIR)',
'OTHER_LIBTOOLFLAGS' => '"-lrust_native_cardano"',
"ENABLE_BITCODE" => "NO"
}
s.libraries = 'resolv'
s.dependency "React"
end