-
Notifications
You must be signed in to change notification settings - Fork 10
/
Podfile
31 lines (25 loc) · 1.16 KB
/
Podfile
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
source 'https://github.com/CocoaPods/Specs'
source 'https://github.com/tuya/TuyaPublicSpecs.git'
source 'https://github.com/tuya/tuya-pod-specs.git'
target 'TuyaAppSDKSample-iOS-ObjC' do
pod 'SVProgressHUD'
pod 'SGQRCode', '~> 4.1.0'
pod 'ThingSmartHomeKit', '~> 5.8.0'
# 从 iot.tuya.com 构建和获取 ThingSmartCryption
# 购买正式版后,需重新在 IoT 平台构建 SDK 并重新集成
# ./ios_core_sdk 代表将 `ios_core_sdk.tar.gz` 解压之后所在目录与 `podfile` 同级
# 若自定义存放目录,可以修改 `path` 为自定义目录层级
pod 'ThingSmartCryption', :path => './ios_core_sdk'
end
post_install do |installer|
`cd TuyaAppSDKSample-iOS-ObjC; [[ -f AppKey.h ]] || cp AppKey.h.default AppKey.h;`
installer.pods_project.targets.each do |target|
target.build_configurations.each do |config|
config.build_settings['CLANG_WARN_DOCUMENTATION_COMMENTS'] = 'NO'
config.build_settings["IPHONEOS_DEPLOYMENT_TARGET"] = "11.0"
config.build_settings["EXCLUDED_ARCHS[sdk=iphonesimulator*]"] = "arm64"
# replace to your teamid
config.build_settings["DEVELOPMENT_TEAM"] = "your teamid"
end
end
end