OGeek|极客世界-中国程序员成长平台

标题: ios - 不要在 xcode 7 中使用 opencv 运行应用程序? [打印本页]

作者: 菜鸟教程小白    时间: 2022-12-12 08:54
标题: ios - 不要在 xcode 7 中使用 opencv 运行应用程序?

我如何安装opencv pods,当我在我的ios 设备上运行应用程序时,我遇到了这个问题。

opencv2.framework/opencv2(cap_ios_photo_camera.o)' does not contain bitcode. You must rebuild it with bitcode enabled (Xcode setting ENABLE_BITCODE), obtain an updated library from the vendor, or disable bitcode for this target. for architecture armv7



Best Answer-推荐答案


在您的 App Target 的build设置中,搜索“Bitcode”并将 Bitcode Enabled 设置为 NO。


虽然我建议您让框架供应商提供支持 Bitcode 的版本

关于ios - 不要在 xcode 7 中使用 opencv 运行应用程序?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/32651222/






欢迎光临 OGeek|极客世界-中国程序员成长平台 (http://ogeek.cn/) Powered by Discuz! X3.4