将 Xcode 升级到 4.5 后,Restkit 10.0 项目无法为 iOS 5.1 设备编译

2023-03-23移动开发问题
3

本文介绍了将 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 设备编译的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

The End

相关推荐

从 Documents 目录存储和读取文件 iOS 5
Storing and reading files from Documents directory iOS 5(从 Documents 目录存储和读取文件 iOS 5)...
2024-08-12 移动开发问题
9

如何在使用 cocos2d 的 iphone 应用程序中使用 MYSQL 数据库连接?
How can i use MYSQL database connection in iphone application useing cocos2d?(如何在使用 cocos2d 的 iphone 应用程序中使用 MYSQL 数据库连接?)...
2024-08-12 移动开发问题
5

在 cocos2d 中平滑拖动一个 Sprite - iPhone
Smoothly drag a Sprite in cocos2d - iPhone(在 cocos2d 中平滑拖动一个 Sprite - iPhone)...
2024-08-12 移动开发问题
10

CCScrollView 滚动和触摸事件永远不会触发
CCScrollView scroll and touch events never firing(CCScrollView 滚动和触摸事件永远不会触发)...
2024-08-12 移动开发问题
1

使用 OpenGLES 的抗锯齿去除绳索的锯齿状边缘
removing jagged edges of my ropes using antialiasing of OpenGLES(使用 OpenGLES 的抗锯齿去除绳索的锯齿状边缘)...
2024-08-12 移动开发问题
34

cocos2d 在场景之间移动
cocos2d Moving between scene(cocos2d 在场景之间移动)...
2024-08-12 移动开发问题
2