2015-10-27 31 views
1

我使用的是Xcode 7.1,我有一个使用Xcode的早期版本构建的项目。
当我在模拟器中构建和测试应用程序时,一切都很好,但是当我尝试存档项目时出现错误。Xcode 7.1 - libicucore.dylib(没有这样的文件或目录)

我一套通用的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
为什么我可以使用模拟器构建,但不能在我尝试存档时创建?

回答

2

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

删除libicucore.dylib并将其替换为libicucore.tdb,您会在目标的常规选项卡中找到链接框架和库中的内容。

相关问题