ios开发中遇到的错误总结
2014-01-23 13:50
477 查看
开始做个记录,逐渐添加~
1:Undefined
symbols for
architecture arm64:
解决:
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
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:
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
报错的代码:
报错原因:多写了一个分号!
参考:http://www.cnblogs.com/ygm900/p/3472324.html
1:Undefined
symbols for
architecture arm64:
Undefined symbols for architecture arm64: "_OBJC_CLASS_$_FBSession", referenced from: someFile ld: symbol(s) not found for architecture arm64
解决:
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 > ArchitecturesDelete 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:
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
3:iOS
使用宏 常量 报错 expected expression
报错的代码:报错原因:多写了一个分号!
参考:http://www.cnblogs.com/ygm900/p/3472324.html
相关文章推荐
- ios开发中遇到的编译错误总结
- ios开发总会遇到的N大错误总结
- unity AR开发中遇到的一些错误总结
- Android开发遇到错误总结
- iOS开发OC基础:Xcode中常见英文总结,OC常见英文错误
- iOS开发中遇到的一些问题以及解决办法总结
- iOS开发中常见错误,遇到即记下
- [HAXE] haxe接入IOS版FacebookSdK以及iOS开发遇到的问题总结(一)
- Window7安装开发Storm遇到的错误总结
- JAVA开发错误总结(仅记录遇到的错误---后续不断更新......)
- Android 开发过程遇到的错误和总结
- iOS开发常遇错误之Xcode编译Undefined symbols for architecture xxx 错误总结
- 微信小程序开发遇到的错误总结
- iOS开发异常错误总结之——wait_fences: failed to receive reply: 10004003
- ios开发遇到的memory持续上涨导致页面crash解决思路总结
- iOS开发-记录下在开发过程中遇到的问题的解决方案及经验总结-1
- iOS开发异常错误总结之——wait_fences: failed to receive reply: 10004003
- iOS开发OC基础:Xcode中常见英文总结,OC常见英文错误
- iOS开发中遇到的错误整理 - 集成第三方框架时,编译后XXX头文件找不到
- 最近在ArcGIS Engine开发中关于调用gp工具过程出现COM 组件的调用返回了错误 HRESULT E_FAIL 错误的解决方法 和 学习oracle中遇到的一些问题总结