刚刚升级到 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模板网!