我正在使用Xcode 7.1,并且我有一个使用Xcode的早期版本构建的项目。
当我在模拟器中构建和测试应用程序时,一切都很好,但是当我尝试存档项目时,出现了错误。

我设置了通用iOS设备,尝试构建此消息:

Libtool /Users/inalambrik/Library/Developer/Xcode/DerivedData/QR_App-bazrfzfvzmearxfmexfpkknhtynu/Build/Intermediates/ParseKit.build/Debug-iphoneos/libParseKitMobile.build/Objects-normal/arm64/libParseKitMobile.a normal arm64
    cd "/Users/inalambrik/Documents/XCode Projects/Buysmart/Frameworks/Third Party/ParseKit"
    export IPHONEOS_DEPLOYMENT_TARGET=5.0
    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"
    /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool -static -arch_only arm64 -syslibroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS9.1.sdk -L/Users/inalambrik/Library/Developer/Xcode/DerivedData/QR_App-bazrfzfvzmearxfmexfpkknhtynu/Build/Products/Debug-iphoneos -filelist /Users/inalambrik/Library/Developer/Xcode/DerivedData/QR_App-bazrfzfvzmearxfmexfpkknhtynu/Build/Intermediates/ParseKit.build/Debug-iphoneos/libParseKitMobile.build/Objects-normal/arm64/ParseKitMobile.LinkFileList -framework Foundation /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS9.1.sdk/usr/lib/libicucore.dylib -o /Users/inalambrik/Library/Developer/Xcode/DerivedData/QR_App-bazrfzfvzmearxfmexfpkknhtynu/Build/Intermediates/ParseKit.build/Debug-iphoneos/libParseKitMobile.build/Objects-normal/arm64/libParseKitMobile.a

error: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool: can't open file: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS9.1.sdk/usr/lib/libicucore.dylib (No such file or directory)

我在Mac上找不到libicucore.dylib文件。
为什么我可以使用模拟器进行构建,而尝试存档时却不能构建?

最佳答案

Xcode 7.1现在使用.tdb文件更改了某些库的名称。

删除libicucore.dylib并将其替换为libicucore.tdb,您将在目标的常规选项卡中的链接框架和库中搜索它。

关于ios - Xcode 7.1-libicucore.dylib(无此类文件或目录),我们在Stack Overflow上找到一个类似的问题:https://stackoverflow.com/questions/33375947/

10-11 14:57