2
votes

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

2

2 Answers

3
votes

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

0
votes

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.