automatically select architectures

各位在用XCode 5.x 打开用XCode 4.x 创建的项目时候。会遇到编译器警告automatically select architectures.

1. This is because the XCode 5 improves the compile time to active a new feature called 

Build Active Architecture Only.

 

2. so. The XCode only compile the active architecture code.

 

3. The may be a bug. (

when you've built the debug version of a static library while having connected an armv7 device, and then, when you're debugging your main application, you've connected an armv7s device (or vice versa). Subsequently you'll get the error above (or a similar one)

)

就是说在debug 版本时, 你编译的code只有 armv7, 当你在armv7s的设备上运行code. 就会遇到链接错误的问题。

 

参考:

http://stackoverflow.com/questions/17311075/after-update-to-xcode-5-ld-symbols-not-found-for-architecture-armv7-or-armv

原文地址:https://www.cnblogs.com/JiesonWu/p/3583890.html