[英]carthage build not works with Xcode 12.0, It works fine with Xcode 11.3. Task failed with exit code 1:
apple@Apples-iMac ConfigData % carthage build --no-skip-current apple@Apples-iMac ConfigData % carthage build --no-skip-current
Please update to the latest Carthage version: 0.36.0.请更新到最新的迦太基版本:0.36.0。 You currently are on 0.35.0您目前在 0.35.0
*** xcodebuild output can be found in /var/folders/y2/9rgqlp3n51nd73tg8_7gf7nr0000gn/T/carthage-xcodebuild.hHyZ7t.log *** xcodebuild 输出可以在 /var/folders/y2/9rgqlp3n51nd73tg8_7gf7nr0000gn/T/carthage-xcodebuild.hHyZ7t.log 中找到
*** Building scheme "ConfigData" in ConfigData.xcodeproj Build Failed *** ConfigData.xcodeproj 中的构建方案“ConfigData”构建失败
Task failed with exit code 1:
/usr/bin/xcrun lipo -create /Users/apple/Library/Developer/Xcode/DerivedData/ConfigData-bypjmncfuigbwmaixccfdcxuhgpp/Build/Intermediates.noindex/ArchiveIntermediates/ConfigData/IntermediateBuildFilesPath/UninstalledProducts/iphoneos/ConfigData.framework/ConfigData /Users/apple/Library/Developer/Xcode/DerivedData/ConfigData-bypjmncfuigbwmaixccfdcxuhgpp/Build/Products/Release-iphonesimulator/ConfigData.framework/ConfigData -output /Users/apple/Desktop/XCode_12/ConfigData/Carthage/Build/iOS/ConfigData.framework/ConfigData
This usually indicates that project itself failed to compile.这通常表示项目本身未能编译。 Please check the xcodebuild log for more details: /var/folders/y2/9rgqlp3n51nd73tg8_7gf7nr0000gn/T/carthage-xcodebuild.hHyZ7t.log请查看 xcodebuild 日志以获取更多详细信息:/var/folders/y2/9rgqlp3n51nd73tg8_7gf7nr0000gn/T/carthage-xcodebuild.hHyZ7t.log
Carthage is working on these issues.迦太基正在研究这些问题。 In the meantime try this workaround.同时尝试此解决方法。
https://gist.github.com/skymobilebuilds/61f4a95bd62a3db36b52719aeab7e0d5 https://gist.github.com/skymobilebuilds/61f4a95bd62a3db36b52719aeab7e0d5
This has worked for me.这对我有用。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.