carthage build 不适用于 Xcode 12.0,它适用于 Xcode 11.3。任务失败,退出代码为 1:

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

请更新到最新的迦太基版本:0.36.0。您目前使用的是 0.35.0

*** xcodebuild 输出可以在 /var/folders/y2/9rgqlp3n51nd73tg8_7gf7nr0000gn/T/carthage-xcodebuild.hHyZ7t.log

中找到

*** 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

这通常表示项目本身编译失败。请检查 xcodebuild 日志以获取更多详细信息:/var/folders/y2/9rgqlp3n51nd73tg8_7gf7nr0000gn/T/carthage-xcodebuild.hHyZ7t.log

Carthage 正在处理这些问题。同时尝试此解决方法。

https://gist.github.com/skymobilebuilds/61f4a95bd62a3db36b52719aeab7e0d5

这对我有用。