我正在尝试在发布模式下构建我的应用,但我一直收到这些警告,而我似乎无法弄清楚如何修复它们。
chipmunk-ios was rejected as an implicit dependency for 'libchipmunk-ios.a' because its architectures 'armv6 armv7' didn't contain all required architectures 'armv7 armv7s'
cocos2d-extensions-ios was rejected as an implicit dependency for 'libcocos2d-extensions-ios.a' because its architectures 'armv6 armv7' didn't contain all required architectures 'armv7 armv7s'
kobold2d-ios was rejected as an implicit dependency for 'libkobold2d-ios.a' because its architectures 'armv6 armv7' didn't contain all required architectures 'armv7 armv7s'
chipmunk-spacemanager-ios was rejected as an implicit dependency for 'libchipmunk-spacemanager-ios.a' because its architectures 'armv6 armv7' didn't contain all required architectures 'armv7 armv7s'
cocos2d-ios was rejected as an implicit dependency for 'libcocos2d-ios.a' because its architectures 'armv6 armv7' didn't contain all required architectures 'armv7 armv7s'
box2d-ios was rejected as an implicit dependency for 'libbox2d-ios.a' because its architectures 'armv6 armv7' didn't contain all required architectures 'armv7 armv7s'
cocos3d-ios was rejected as an implicit dependency for 'libcocos3d-ios.a' because its architectures 'armv6 armv7' didn't contain all required architectures 'armv7 armv7s'
objectal-ios was rejected as an implicit dependency for 'libobjectal-ios.a' because its architectures 'armv6 armv7' didn't contain all required architectures 'armv7 armv7s'
cocosdenshion-ios was rejected as an implicit dependency for 'libcocosdenshion-ios.a' because its architectures 'armv6 armv7' didn't contain all required architectures 'armv7 armv7s'
sneakyinput-ios was rejected as an implicit dependency for 'libsneakyinput-ios.a' because its architectures 'armv6 armv7' didn't contain all required architectures 'armv7 armv7s'
我正在使用kobold2d 1.1.3和cocos2d cocos2d v1.1.0-beta2b构建我的项目
答案 0 :(得分:12)
尝试将Build active architecture only
设置为NO
。
答案 1 :(得分:3)
如果您拥有这些库(libchipmunk-ios.a,libcocos2d-extensions-ios.a,...),那么它们缺少架构armv7s:请联系您的库源以获得其他架构支持。
如果要从源构建这些库,则需要将每个子项目Build Settings配置为目标$(ARCHS_STANDARD_32_BIT)体系结构,而不仅仅是旧的armv6和armv7。