iOS - 升级到Xcode 4.5后的链接器错误,可能与Core Plot相关 [英] iOS - Linker error after upgrading to Xcode 4.5, possibly Core Plot related

查看:129
本文介绍了iOS - 升级到Xcode 4.5后的链接器错误,可能与Core Plot相关的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我刚刚升级到 Xcode 4.5GM 并整理了我的iPhone项目中的一些屏幕,以应对iPhone 5上的额外屏幕尺寸。该项目的目标是 iOS 5.1 我刚刚为我的手机构建它而我收到此链接器错误:

I've just upgraded to Xcode 4.5GM and tidied up some screens in my iPhone project to cope with the extra screen size on iPhone 5. The project is targeting iOS 5.1 and I've just come to build it for my phone and I get this linker error :


文件是通用的(2个切片),但不包含(n)armv7s切片:
/Users/JonathanW/Documents/MyXcode/myApp/myApp/CorePlot/libCorePlot-CocoaTouch.a
for architecture armv7s

file is universal (2 slices) but does not contain a(n) armv7s slice: /Users/JonathanW/Documents/MyXcode/myApp/myApp/CorePlot/libCorePlot-CocoaTouch.a for architecture armv7s

我正在使用 Core Plot 1.0 静态库在我的项目中,直到现在还没有任何问题。环顾四周,我可以看到与构建体系结构设置类似的错误,但不知道从何处开始。该项目在模拟器中工作正常( iOS 5.1 iOS 6 )。有什么想法吗?

I'm using the Core Plot 1.0 static library in my project and have not had any issues with it until now. Looking around I can see similar errors to do with the build architecture settings but not sure where to go from here. The project works fine in the simulator (both iOS 5.1 and iOS 6). Any ideas?

推荐答案

从它看起来你需要用Xcode 4.5GM重建libCorePlot库,这样就有了ARMV7S构建的库。似乎它正在尝试使用您使用旧版Xcode构建的版本。

By the looks of it you'll need to rebuild the libCorePlot library with Xcode 4.5GM so that there's a ARMV7S build of the library. Seems as if it's trying to use the version you built with the older Xcode.

这篇关于iOS - 升级到Xcode 4.5后的链接器错误,可能与Core Plot相关的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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