越简单越好!

iOS 6 and Core Plot 打包时的一个错误问题

bevin 发表于 2013-03-29 09:50 | 110次阅读 0次推荐   IOS开发


ld: file is universal (2 slices) but does not contain a(n) armv7s slice: /Users/bevin1984/ios开发/erpUnitStore.ios/erpUnitStore/libCorePlot-CocoaTouch.a for architecture armv7s
clang: error: linker command failed with exit code 1 (use -v to see invocation)

后来找了好多地方,在老外的一个博客发现了解决方法:

This error did not allow me to run on my iPad.  So I did a bit of searching and found that I have to change the Build Active Architecture Only to YES.  After that, it all worked fine.  This setting is in the build setting.  Hope this helps someone!


具体操作:

打个项目的Build Setting  找到 Build Active Architecture Only 把里头的Debug和Release 都改成YES

再进行打包一切OK!


+0
发表评论
×您的大名会显示在评论处

评论内容不能少于5个字哦~~~

评论列表
当前暂无评论
发送数据中... 请求错误. 请输入评论内容和验证码后再发布 您已经参与过了,谢谢
返回顶部 ^