2015-10-27 64 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,您會在目標的常規選項卡中找到鏈接框架和庫中的內容。

相關問題