dont run app with open-cv in xcode 7?

谁都会走 提交于 2019-12-08 00:44:08

问题


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)' 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


回答1:


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


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




回答2:


You can disable the "Bitcode" as answered by @liamnichols.

But it is strongly recommended that you must use the frameworks with bitcode enabled. I suggest you to re-create the Opencv framework with bitcode enabled.

Please check this post, It'll help you creating opencv framework.



来源:https://stackoverflow.com/questions/32651222/dont-run-app-with-open-cv-in-xcode-7

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!