Xcode 7.1 - libicucore.dylib(没有这样的文件或目录)

时间:2015-10-27 18:35:14

标签: ios xcode build xcode7 archive

我正在使用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 为什么我可以使用模拟器进行构建,但是当我尝试存档时却无法构建?

1 个答案:

答案 0 :(得分:2)

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

删除libicucore.dylib并将其替换为libicucore.tdb,您会发现它在目标的常规选项卡中的Linked Frameworks和Libraries中搜索。