NeutrinosPlatform / cordova-plugin-document-scanner

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

Undefined symbol: _OBJC_CLASS_$_IRLScannerViewController when trying to build on Xcode 14.2 #109

Open nusjeff opened 1 year ago

nusjeff commented 1 year ago

Describe the bug Hi, I had upgraded xcode to latest version and tried to build my project, however I received an error: Undefined symbol: _OBJC_CLASS_$_IRLScannerViewController.

Screenshots

Screenshot 2023-01-16 at 16 17 35
darthnox123 commented 1 year ago

Having the same problem does someone knows the answer?

darthnox123 commented 1 year ago

I just did this and worked,

Removed the document scanner cordova plugin

cordova plugin remove cordova-plugin-document-scanner

And added the awesome-cordova-plugins

cordova plugin add @awesome-cordova-plugins/document-scanner

You need to update the imports on your project

import { DocumentScanner } from '@awesome-cordova-plugins/document-scanner/ngx'

macsupport commented 1 year ago

Same issue here. Using @awesome-cordova-plugins won't work if your not using an ionic project.