Repository navigation
Expand file tree
/
Copy pathtronlink-iOS-core.podspec
More file actions
64 lines (57 loc) · 2.54 KB
/
Copy pathtronlink-iOS-core.podspec
File metadata and controls
64 lines (57 loc) · 2.54 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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
Pod::Spec.new do |s|
s.name = 'tronlink-iOS-core'
s.version = '2.0.0'
s.summary = 'tronlink-iOS-core is repo of TronLink'
s.module_name = 'TLCore'
s.homepage = 'https://github.com/TronLink/tronlink-iOS-core'
s.license = { :type => 'Apache', :file => 'LICENSE' }
s.author = 'tronlinkdev'
s.source = { :git => 'https://github.com/TronLink/tronlink-iOS-core.git', :tag => s.version.to_s }
s.platform = :ios, '15.1'
s.swift_versions = '4.2'
s.framework = 'Security'
s.source_files = 'tronlink-iOS-core/Classes/**/*.{h,m,c,swift}'
s.preserve_paths = [
'tronlink-iOS-core/Classes/ABI/TrezorCrypto/trezor-crypto/*.table',
'tronlink-iOS-core/Classes/ABI/TrezorCrypto/trezor-crypto/LICENSE',
'ThirdPartyLicenses/*'
]
s.module_map = 'tronlink-iOS-core/TLCore.modulemap'
trezor_headers = 'tronlink-iOS-core/Classes/ABI/TrezorCrypto/trezor-crypto'
s.private_header_files = [
"#{trezor_headers}/nem_serialize.h",
"#{trezor_headers}/bip39_english.h",
"#{trezor_headers}/blake2_common.h",
"#{trezor_headers}/check_mem.h",
"#{trezor_headers}/groestl_internal.h",
"#{trezor_headers}/aes/aesopt.h",
"#{trezor_headers}/aes/aestab.h",
"#{trezor_headers}/chacha20poly1305/ecrypt-machine.h",
"#{trezor_headers}/chacha20poly1305/ecrypt-portable.h",
"#{trezor_headers}/chacha20poly1305/poly1305-donna-32.h",
"#{trezor_headers}/ed25519-donna/curve25519-donna-scalarmult-base.h",
"#{trezor_headers}/ed25519-donna/ed25519-hash-custom.h",
"#{trezor_headers}/ed25519-donna/ed25519-hash-custom-keccak.h",
"#{trezor_headers}/ed25519-donna/ed25519-hash-custom-sha3.h",
"#{trezor_headers}/ed25519-donna/ed25519-keccak.h",
"#{trezor_headers}/ed25519-donna/ed25519-sha3.h"
]
trezor = "$(PODS_TARGET_SRCROOT)/#{trezor_headers}"
s.pod_target_xcconfig = {
'HEADER_SEARCH_PATHS' => "$(inherited) \"#{trezor}\" \"#{trezor}/aes\" \"#{trezor}/chacha20poly1305\" \"#{trezor}/ed25519-donna\"",
'OTHER_CFLAGS' => '$(inherited) -O3',
'SWIFT_OPTIMIZATION_LEVEL[config=Debug]' => '-Owholemodule'
}
s.dependency 'gRPC', '1.84.0'
s.dependency 'Protobuf', '5.36.2'
s.dependency 'gRPC-Core', '1.84.0'
s.dependency 'gRPC-ProtoRPC', '1.84.0'
s.dependency 'gRPC-RxLibrary', '1.84.0'
s.dependency 'FMDB', '2.7.12'
s.dependency 'BigInt', '5.2.0'
s.dependency 'CryptoSwift', '1.10.0'
s.requires_arc = [
'tronlink-iOS-core/Classes/gRPC/**/*.pbrpc.m',
'tronlink-iOS-core/Classes/ABI/ObjectiveC/EthereumCrypto.m'
]
end