不要在xcode 7中使用open-cv运行应用程序? [英] dont run app with open-cv in xcode 7?

查看:384
本文介绍了不要在xcode 7中使用open-cv运行应用程序?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我安装opencv是如何安装Pod的,当我在ios中运行应用程序时,我遇到了这个问题.

I install opencv how pods, and when i run app in my ios devise i have this issue.

opencv2.framework/opencv2(cap_ios_photo_camera.o)'不包含 位码.您必须在启用位码(Xcode设置ENABLE_BITCODE)的情况下重建它,从供应商处获取更新的库,或禁用此目标的位码.用于架构armv7

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

推荐答案

在您的App Target的构建设置中,搜索位码"并将已启用位码"设置为否".

In the build settings for your App Target, search for "Bitcode" and set Bitcode Enabled to NO.

尽管我建议您让框架供应商提供启用了Bitcode的版本

Although I recommend you get the framework vendor to supply a Bitcode enabled version

这篇关于不要在xcode 7中使用open-cv运行应用程序?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆