Ask Your Question

Revision history [back]

Cocoapods issues and Xcode 7 - rebuild it with bitcode enabled

I've upgraded to the latest version of opencv on cocoapods (v 2.4.10) and I'm getting linker issues, specifically...

ld: '~Pods/OpenCV/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 clang: error: linker command failed with exit code 1 (use -v to see invocation)

I've tried updating the pod spec to an older versions and rebooted. I've looked at all the targets and it seems fine. Is there something I'm missing?