这是config.json
{
"frameworks":[
],
"deploymentTarget": "13.0",
"dependencies-pod-sources": [
"https://github.com/TuyaInc/TuyaPublicSpecs.git",
"https://github.com/CocoaPods/Specs.git",
"https://github.com/tuya/tuya-pod-specs.git",
"https://cdn.cocoapods.org/"
],
"dependencies-pods": [
{
"name": "ThingSmartCryption",
"repo":
{
"git": "https://LiLSun:445d60b7de882706232438bdd37b3424@gitee.com/LiLSun/thing-smart-cryption-l.git"
}
},
{
"name": "ThingSmartHomeKit",
"version": "6.4.0.1"
},
{
"name": "ThingSmartBusinessExtensionKit",
"version": "6.4.0.1"
},
{
"name": "ThingSmartMiniAppBizBundle",
"version":"6.2.0.1"
}
]
}
报错如下
开始编译插件 LZ-Tyapi
14:34:24.305 uts插件[LZ-Tyapi]编译失败
14:34:24.305 编译uts插件动态库错误 at /var/folders/4b/73l1z74x6jg2077gf4qkfbvc0000gn/T/uts_plugin_iOS_build_tmp/unimoduleLZTyapi_build.log:1
打开日志文件后的错误
Build description signature: f0a56fa2184a29d54924e149f1801efe
Build description path: /Users/sumu/Library/Developer/Xcode/DerivedData/UTS-bqixsxmwimmjqjbbxxhvafwmseks/Build/Intermediates.noindex/XCBuildData/f0a56fa2184a29d54924e149f1801efe.xcbuilddata
error: Multiple commands produce '/var/folders/4b/73l1z74x6jg2077gf4qkfbvc0000gn/T/ios_build_device/template/xcode_ust_template/uni_modules/LZ-Tyapi/utssdk/app-ios/build/Debug-iphoneos/unimoduleLZTyapi.framework/config.json'
note: Target 'unimoduleLZTyapi' (project 'UTS') has copy command from '/var/folders/4b/73l1z74x6jg2077gf4qkfbvc0000gn/T/ios_build_device/template/xcode_ust_template/uni_modules/LZ-Tyapi/utssdk/app-ios/src/config.json' to '/var/folders/4b/73l1z74x6jg2077gf4qkfbvc0000gn/T/ios_build_device/template/xcode_ust_template/uni_modules/LZ-Tyapi/utssdk/app-ios/build/Debug-iphoneos/unimoduleLZTyapi.framework/config.json'
note: That command depends on command in Target 'unimoduleLZTyapi' (project 'UTS'): script phase “[CP] Copy Pods Resources”
/var/folders/4b/73l1z74x6jg2077gf4qkfbvc0000gn/T/ios_build_device/template/xcode_ust_template/uni_modules/LZ-Tyapi/utssdk/app-ios/Pods/Pods.xcodeproj: warning: The iOS deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 9.0, but the range of supported deployment target versions is 12.0 to 18.1.99. (in target 'GodzillaMiniIService' from project 'Pods')
看起来像是三方SDK也在操作config.json这个文件报的错,该如何解决呢
0 个回复