問題描述
剛剛升級到 Xcode 4.5.在我的 6.0 模擬器中的應用程序出現錯誤后,我不得不重新下載 5.1 模擬器.萬歲,成功了!但是....
Just upgraded to Xcode 4.5. Figured out after getting bugs in my app in the 6.0 simulator that I had to redownload the 5.1 simulator. Hurray, that worked! but....
當我嘗試在裝有 iOS 5.1.1 的 iPad1 上運行時,我收到一大堆 restkit 編譯錯誤.
When I went and tried to run against my iPad1 with iOS 5.1.1 on it, I get a whole bunch of restkit compile errors.
獲取:鏈接器命令失敗,退出代碼為 1"
Getting : "Linker command failed with exit code 1"
我必須升級到 Resktit 10.3 嗎?我在 github 歷史上沒有看到任何關于 Xcode 4.5 修復的內容...
Do I have to upgrade to Resktit 10.3 ? I don't see anything in the github history regarding Xcode 4.5 fixes...
謝謝!
推薦答案
好的,剛剛注意到以下警告:
OK, just noticed the following warning:
ignoring file /Users/.../Library/Developer/Xcode/DerivedData/PlascoTrac-ginlxeicfonetcaicpyggfpyuxrj/Build/Products/Debug-iphoneos/libRestKit.a, file was built for archive which is not the architecture being linked (armv7s): /Users/.../Library/Developer/Xcode/DerivedData/PlascoTrac-ginlxeicfonetcaicpyggfpyuxrj/Build/Products/Debug-iphoneos/libRestKit.a
所以我去了Restkit目標并將架構更改為
so I went to the Restkit target and changed the architecture to
Standard (armv7, armv7s)
瞧!
在這里留下這個問題和答案,因為我在這里看不到確切的等價物,它可能對其他人有用,
Leaving this question and answer here because I don't see the exact equivalent here and it might be useful to others,
干杯.
這篇關于將 Xcode 升級到 4.5 后,Restkit 10.0 項目無法為 iOS 5.1 設備編譯的文章就介紹到這了,希望我們推薦的答案對大家有所幫助,也希望大家多多支持html5模板網!