码迷,mamicode.com
首页 > 移动开发 > 详细

ios开发中遇到的编译错误总结

时间:2014-06-15 22:20:08      阅读:363      评论:0      收藏:0      [点我收藏+]

标签:style   class   blog   code   java   http   

1:Undefined symbols for architecture arm64:

1
2
3
<code>Undefined symbols for architecture arm64:
  "_OBJC_CLASS_$_FBSession", referenced from: someFile
ld: symbol(s) not found for architecture arm64</code>
解决:

project -> target (your project name) -> build settings and change architectures to standard architectures (armv7, armv7s), and valid architectures to armv7, armv7s.


参考:http://stackoverflow.com/questions/19213782/undefined-symbols-for-architecture-arm64



2:No architectures to compile for (ARCHS=arm6 arm7, VALID_ARCHS=armv7)

解决:

  • Go to Project Target > Build Settings > Architectures Delete whatever you see there, and then add these rows one by one:

    armv6 armv7

    There are no ‘save‘ buttons there, so what I do, is adding another blank row, pressing enter, removing it, and then clicking out somewhere else, so that I make sure I have both of them added:

    bubuko.com,布布扣

    • Now go to the AppName-Info.plist file, and look for the key "Require device capabilities" and delete it all. 参考:http://stackoverflow.com/questions/10005896/no-architectures-to-compile-for-archs-arm6-arm7-valid-archs-armv7 

ios开发中遇到的编译错误总结,布布扣,bubuko.com

ios开发中遇到的编译错误总结

标签:style   class   blog   code   java   http   

原文地址:http://www.cnblogs.com/hanjun/p/3785299.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!