After upgrading Xcode to 4.5, Restkit 10.0 project not compiling for iOS 5.1 device(将 Xcode 升级到 4.5 后,Restkit 10.0 项目无法为 iOS 5.1 设备编译)
问题描述
刚刚升级到 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 设备编译的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!
本文标题为:将 Xcode 升级到 4.5 后,Restkit 10.0 项目无法为 iO


- 在测试浓缩咖啡时,Android设备不会在屏幕上启动活动 2022-01-01
- MalformedJsonException:在第1行第1列路径中使用JsonReader.setLenient(True)接受格式错误的JSON 2022-01-01
- Android viewpager检测滑动超出范围 2022-01-01
- 使用自定义动画时在 iOS9 上忽略 edgesForExtendedLayout 2022-01-01
- 想使用ViewPager,无法识别android.support.*? 2022-01-01
- Android - 拆分 Drawable 2022-01-01
- 用 Swift 实现 UITextFieldDelegate 2022-01-01
- android 4中的android RadioButton问题 2022-01-01
- Android - 我如何找出用户有多少未读电子邮件? 2022-01-01
- 如何检查发送到 Android 应用程序的 Firebase 消息的传递状态? 2022-01-01