cake_wallet/cw_monero/ios/cw_monero.podspec

63 lines
2.9 KiB
Text
Raw Normal View History

2020-01-04 19:31:52 +00:00
#
# To learn more about a Podspec see http://guides.cocoapods.org/syntax/podspec.html.
# Run `pod lib lint cw_monero.podspec' to validate before publishing.
#
Pod::Spec.new do |s|
s.name = 'cw_monero'
s.version = '0.0.2'
s.summary = 'CW Monero'
s.description = 'Cake Wallet wrapper over Monero project.'
s.homepage = 'http://cakewallet.com'
2020-01-04 19:31:52 +00:00
s.license = { :file => '../LICENSE' }
s.author = { 'CakeWallet' => 'support@cakewallet.com' }
2020-01-04 19:31:52 +00:00
s.source = { :path => '.' }
s.source_files = 'Classes/**/*'
2022-03-30 15:57:04 +00:00
s.public_header_files = 'Classes/**/*.h, Classes/*.h, External/ios/libs/monero/include/External/ios/**/*.h'
2020-01-04 19:31:52 +00:00
s.dependency 'Flutter'
2022-03-30 15:57:04 +00:00
s.dependency 'cw_shared_external'
s.platform = :ios, '10.0'
2020-01-04 19:31:52 +00:00
s.swift_version = '4.0'
s.pod_target_xcconfig = { 'DEFINES_MODULE' => 'YES', 'VALID_ARCHS' => 'arm64', 'ENABLE_BITCODE' => 'NO' }
2020-01-04 19:31:52 +00:00
s.xcconfig = { 'HEADER_SEARCH_PATHS' => "${PODS_ROOT}/#{s.name}/Classes/*.h" }
s.subspec 'OpenSSL' do |openssl|
2022-03-30 15:57:04 +00:00
openssl.preserve_paths = '../../../../../cw_shared_external/ios/External/ios/include/**/*.h'
openssl.vendored_libraries = '../../../../../cw_shared_external/ios/External/ios/lib/libcrypto.a', '../../../../../cw_shared_external/ios/External/ios/lib/libssl.a'
2020-01-04 19:31:52 +00:00
openssl.libraries = 'ssl', 'crypto'
openssl.xcconfig = { 'HEADER_SEARCH_PATHS' => "${PODS_ROOT}/#{s.name}/External/ios/include/**" }
2020-01-04 19:31:52 +00:00
end
2022-03-30 15:57:04 +00:00
s.subspec 'Sodium' do |sodium|
sodium.preserve_paths = '../../../../../cw_shared_external/ios/External/ios/include/**/*.h'
sodium.vendored_libraries = '../../../../../cw_shared_external/ios/External/ios/lib/libsodium.a'
sodium.libraries = 'sodium'
sodium.xcconfig = { 'HEADER_SEARCH_PATHS' => "${PODS_ROOT}/#{s.name}/External/ios/include/**" }
2020-01-04 19:31:52 +00:00
end
s.subspec 'Unbound' do |unbound|
unbound.preserve_paths = '../../../../../cw_shared_external/ios/External/ios/include/**/*.h'
unbound.vendored_libraries = '../../../../../cw_shared_external/ios/External/ios/lib/libunbound.a'
unbound.libraries = 'unbound'
unbound.xcconfig = { 'HEADER_SEARCH_PATHS' => "${PODS_ROOT}/#{s.name}/External/ios/include/**" }
end
2020-01-04 19:31:52 +00:00
s.subspec 'Boost' do |boost|
2022-03-30 15:57:04 +00:00
boost.preserve_paths = '../../../../../cw_shared_external/ios/External/ios/include/**/*.h',
boost.vendored_libraries = '../../../../../cw_shared_external/ios/External/ios/lib/libboost.a',
boost.libraries = 'boost'
boost.xcconfig = { 'HEADER_SEARCH_PATHS' => "${PODS_ROOT}/#{s.name}/External/ios/include/**" }
2020-01-04 19:31:52 +00:00
end
2022-03-30 15:57:04 +00:00
s.subspec 'Monero' do |monero|
monero.preserve_paths = 'External/ios/include/**/*.h'
monero.vendored_libraries = 'External/ios/lib/libmonero.a'
monero.libraries = 'monero'
monero.xcconfig = { 'HEADER_SEARCH_PATHS' => "${PODS_ROOT}/#{s.name}/External/ios/include" }
2020-01-04 19:31:52 +00:00
end
2020-05-12 12:04:54 +00:00
2022-03-30 15:57:04 +00:00
# s.subspec 'lmdb' do |lmdb|
# lmdb.vendored_libraries = 'External/ios/lib/liblmdb.a'
# lmdb.libraries = 'lmdb'
# end
end