gpt4 book ai didi

xcode - Swift stdlib 工具错误 : Expected a single Swift ABI version in

转载 作者:行者123 更新时间:2023-12-05 00:50:50 26 4
gpt4 key购买 nike

我在使用 Xcode 8.3.3(8E3004b) 和 Swift 3.1 进行编译时遇到此错误:

error message

编译日志的结尾看起来像:

Copy Swift standard libraries into app

CopySwiftLibs /Users/.../Library/Developer/Xcode/DerivedData/.../Build/Intermediates/ArchiveIntermediates/.../InstallationBuildProductsLocation/Applications/...

cd /Users/.../Desktop/...

export CODESIGN_ALLOCATE=/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/codesign_allocate

export DEVELOPER_DIR=/Applications/Xcode.app/Contents/Developer

export PATH="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin"

export SDKROOT=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS10.3.sdk

builtin-swiftStdLibTool --copy --verbose --sign 5E5A51CAC2539864509F6653B0DC104FE3A518D1 --scan-executable /Users/.../Library/Developer/Xcode/DerivedData/.../Build/Intermediates/ArchiveIntermediates/.../InstallationBuildProductsLocation/Applications/.../... --scan-folder /Users/jpower/Library/Developer/Xcode/DerivedData/TAFIPS-cdqhmsienumzxcdzytsdwwwawavl/Build/Intermediates/ArchiveIntermediates/.../InstallationBuildProductsLocation/Applications/.../Frameworks --scan-folder /Users/.../Library/Developer/Xcode/DerivedData/.../Build/Intermediates/ArchiveIntermediates/.../InstallationBuildProductsLocation/Applications/.../PlugIns --scan-folder /Users/.../Desktop/.../Carthage/Build/iOS/Alamofire.framework --scan-folder /Users/.../Desktop/.../Carthage/Build/iOS/ObjectMapper.framework --platform iphoneos --toolchain /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain --destination /Users/.../Library/Developer/Xcode/DerivedData/.../Build/Intermediates/ArchiveIntermediates/.../InstallationBuildProductsLocation/Applications/.../Frameworks --unsigned-destination /Users/.../Library/Developer/Xcode/DerivedData/.../Build/Intermediates/ArchiveIntermediates/.../BuildProductsPath/SwiftSupport

奇怪的是,当我使用 Xcode 9.0 beta(9M136h) 和 Swift 3.2 进行编译时,我没有出现此错误,而且,我可以在今天之前取得成功。

希望有人能帮忙。

最佳答案

这是一个迦太基问题。这里正在讨论:issue #2062

我使用的解决方法是打开:~/Library/Caches/org.carthage.CarthageKit/并在做另一个之前删除所有内容 carthage update

关于xcode - Swift stdlib 工具错误 : Expected a single Swift ABI version in,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/45346090/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com