-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathThingSmartCryption.podspec
More file actions
39 lines (33 loc) · 1.57 KB
/
ThingSmartCryption.podspec
File metadata and controls
39 lines (33 loc) · 1.57 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
Pod::Spec.new do |s|
s.name = 'ThingSmartCryption'
s.version = '5.0.0'
s.summary = 'This is an encrypted SDK designed to ensure basic security.'
s.description = 'This is an encrypted SDK designed to ensure basic security.'
s.homepage = 'https://github.com/tuya'
s.license = { :type => 'MIT', :file => 'LICENSE' }
s.author = { 'ios' => '[email protected]' }
s.source = { :git => '', :tag => s.version.to_s }
# s.prepare_command = <<-CMD
# if [ -f "ios_core_sdk.tar.gz" ]; then
# if [ ! -d "Build/ThingSmartCryption.xcframework" ]; then
# unzip ios_core_sdk.tar.gz
# fi
# else
# echo "File ios_core_sdk.tar.gz not found."
# fi
# CMD
s.ios.deployment_target = '9.0'
s.watchos.deployment_target = '2.0'
s.ios.source_files = 'Build/ThingSmartCryption.xcframework/ios*simulator/ThingSmartCryption.framework/Headers/*'
s.resources = ['Build/ThingSmartCryption.xcframework/ios*simulator/**/*.bundle', 'Build/ThingSmartCryption.xcframework/ios*simulator/**/t_cdc.tcfg']
s.watchos.source_files = 'Build/ThingSmartCryption.xcframework/watchos*simulator/ThingSmartCryption.framework/Headers/*'
s.vendored_frameworks = 'Build/ThingSmartCryption.xcframework'
s.user_target_xcconfig = {
'CLANG_ALLOW_NON_MODULAR_INCLUDES_IN_FRAMEWORK_MODULES' => 'YES',
}
s.pod_target_xcconfig = {
'CLANG_ALLOW_NON_MODULAR_INCLUDES_IN_FRAMEWORK_MODULES' => 'YES',
'DEFINES_MODULE' => 'YES',
'EXCLUDED_ARCHS[sdk=iphonesimulator*]' => 'arm64',
}
end