iMicknl / cordova-plugin-openalpr

This Cordova plugin adds support for the OpenALPR (Automatic License Plate Recognition) library, which provides support for retrieving the license plate from a picture.
MIT License
33 stars 23 forks source link

Enable Bitcode for ios #51

Open pateldi1524 opened 3 years ago

pateldi1524 commented 3 years ago

I am using this plugin in ionic5 capacitor, but while building the project I am getting this error

capacitor-cordova-ios-plugins/sources/CordovaPluginOpenalpr/src/ios/lib/opencv2.framework/opencv2(matrix-86DBD15CF0D8AAA8.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 arm64

mrSeoD commented 3 years ago

Go to build settings, search for "bitcode" for each capacitor/cordova targets and app, and set them to "NO" And it should work!