NeutrinosPlatform / cordova-plugin-document-scanner

cordova plugin for document scan
https://www.neutrinos.co/
MIT License
84 stars 63 forks source link

CropViewController fails in Xcode due to Imcompatible Swift Versions #13

Closed BrogrammerGV closed 6 years ago

BrogrammerGV commented 6 years ago

For reference: Using ionic@latest, xcode@latest, cordova@latest.

When building my app from Xcode to live device (build works fine on simulator) I get a 'Build Failed' due to the CropViewController and "Incompatible versions of Swift". Interestingly enough, simply removing the embedded binaries for 'CropViewController' within Xcode i'm able to build and use the plugin just fine in the app.

Here is an excerpt from the Error Log: screen shot 2018-05-24 at 2 58 02 pm

The highlighted binaries that cause build to fail screen shot 2018-05-24 at 2 51 58 pm

ChrisTomAlx commented 6 years ago

Thank you for bringing this issue up. I will look into it and see what can be done. Meanwhile I am glad you got it to work for yourself. If a workaround can't be found for this issue, will add your solution to the documentation for future users to access easily.