将Xcode升级到4.5后,Restkit 10.0项目没有针对iOS 5.1设备进行编译 [英] After upgrading Xcode to 4.5, Restkit 10.0 project not compiling for iOS 5.1 device
问题描述
刚升级到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?关于Xcode 4.5修复,我在github历史中看不到任何内容......
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
so我去了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设备进行编译的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!