移动到iOS6我几乎所有外部包都出现此链接器错误 [英] Moving to iOS6 I get this linker error with almost all external packages

查看:96
本文介绍了移动到iOS6我几乎所有外部包都出现此链接器错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

文件是为存档而构建的,而不是被链接的架构(armv7s)

"file was built for archive which is not the architecture being linked (armv7s)"

我是否需要等待人们发布新的二进制文件或者我有一个出路,

我得到这个GoogleAnalytics Restkit ...

do I need to wait for people to release new binaries or I have a way out,
I get this for GoogleAnalytics Restkit ...

编辑:Restkit解决了他们最新提交的问题,只需从github拉出来,

problem with Restkit solved with their latest commit, just pull from github,

推荐答案

编辑:解决了Restkit的问题,查看github的最新提交:git://github.com/RestKit/ RestKit.git

Problem with Restkit solved, check out the latest commit from github: git://github.com/RestKit/RestKit.git

编辑:从1.5.1版开始,Google Analytics问题也解决了。
只需下载新版本。

Problem with Google Analytics also solved as of Version 1.5.1 just download the new version.

不要忘记删除旧的二进制文件,然后清理然后构建。

Just do not forget to remove old binaries, and clean then build.

对于像'RestKit'这样的东西你有源代码,如果你单独清理然后构建(确保架构包含Armv7s)它工作得很好,你得到你需要的二进制文件,然后正确链接到你的应用程序。

For things like 'RestKit' that you have the source code, if you clean them separately and then build (making sure that the Architecture includes Armv7s) it works just fine, you get the binaries that you need and then linked properly to your app.

由于理由超出了我的理解,当我将目标从iOS设备更改为iPhone 6.0模拟器并执行干净然后构建时,我也可以链接到Google Analytics,

For reason's beyond my understanding, when I changed the target from iOS device to iPhone 6.0 Simulator and did a clean and then build, I could link against Google Analytics as well,

仍在构建iOS设备(不是模拟器)不起作用,我收到链接器错误。

Still building for the "iOS device" (not the simulator) does not work, I get linker errors.

这篇关于移动到iOS6我几乎所有外部包都出现此链接器错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆