【问题标题】:"missing required architecture i386" warning“缺少所需的架构 i386”警告
【发布时间】:2011-06-03 09:09:07
【问题描述】:

在我的 IOS 应用程序中,有外部显示支持。所以我使用了 libredirect_device.a 框架。但我收到了警告:

ld: warning: in /Volumes/Decelopment/Subversion/Abbott/trunk/development/Source/Abbott/Abbott/ExternalDisplay/libredirect_device.a, missing required architecture i386 in file

【问题讨论】:

    标签: ios ipad frameworks


    【解决方案1】:

    在我看来,您只会在为模拟器编译时收到该警告。你能确认你在为设备编译时没有得到它吗?

    为了消除警告,我认为必须重新编译库,所以除非您能获得源代码或 i386 版本,否则您无法消除警告。编译模拟器时可能不包含它。

    【讨论】:

    • 感谢您的回答。我得到了我的解决方案。对于模拟器,X-code 将使用 i386 架构,对于设备,它将使用 ARM 架构。我在模拟器模式下编译了我的代码。所以它显示警告。如果我在设备模式下编译,它对我来说很好。
    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 2012-06-21
    • 1970-01-01
    • 2016-08-26
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2012-04-03
    相关资源
    最近更新 更多