cocos iOS 编译

来源:互联网 发布:手机淘宝怎么样 编辑:程序博客网 时间:2024/06/03 18:08

Build Active Architecture Only

    这个选项为no时候会编译所有版本的target,而yes的只会编译当前版本的

    常常在debug时候,选项设置为yes,导致缺少想要的lib而链接失败,出现

   Undefined symbols for architecture armv7


valid architectures 的选项中

armv7 

iPhone3GS, iPhone4
iPad, iPad2, the new ipad
iPod touch 3G, iPod touch 4

armv7s

iphone5


在游戏target的设置里面支持两种结构,若引用的子项目库只使用了一种结构,会导致子项目无法使用,而出现上一个错误

原创粉丝点击