我有一个支持 amrv6 和 armv7 的已发布应用程序。现在我有一个只兼容 armv7 的升级(我添加了一个依赖于 armv7 的外部库)。当我尝试将应用程序提交到商店时,我收到详细信息中的错误
我了解之前的错误,我需要更改我的应用程序,以便它支持两种架构。我的问题是我的代码依赖于仅与 armv7 兼容的库。如果我将项目的属性更改为同时支持 armv6 和 armv7,则会出现编译错误(详情如下)。我需要能够编译支持两种架构的代码:armv7 使用我依赖的库进行编译 armv6 具有不依赖于库的不同代码。
我怎样才能做到这一点?
错误详情:
• the compile crash is in one Lib file (.a) and the error says :
ld: warning: directory not found for option '-L/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS5.0.sdk/usr/lib/gcc/arm-apple-darwin10/4.0.1' ld: in /Users/.../(lib file).a, file is universal but does not contain a(n) armv6 slice for architecture armv6 Command /Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/llvm-gcc-4.2 failed with exit code 1
提前致谢