【问题标题】:XCode won't compile - file is universal (3 slices) but does not contain a(n) armv7s sliceXCode 不会编译 - 文件是通用的(3 个切片)但不包含 a(n) armv7s 切片
【发布时间】:2013-03-29 15:17:20
【问题描述】:

我正在尝试在 XCode 上为 armv7s 和 armv7 编译我的应用程序,但不断收到此错误。

我尝试过使用包含 armv6 的编译器,但还是没有运气。有什么想法吗?我完全被难住了。

ld: file is universal (3 slices) but does not contain a(n) armv7s slice: /Users/User/Documents/App/AdMob/libGoogleAdMobAds.a for architecture armv7s
clang: error: linker command failed with exit code 1 (use -v to see invocation)

谢谢

【问题讨论】:

标签: xcode compilation clang armv7


【解决方案1】:

糟糕 - 搞清楚了 - 正在为 armv7 和 armv7s 编译,并从链接器标志中删除了“-all_load”!

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 2015-07-02
    • 1970-01-01
    • 1970-01-01
    • 2012-09-26
    • 2012-09-06
    相关资源
    最近更新 更多