NeutrinosPlatform / cordova-plugin-mobile-ocr

A cordova plugin that can accept image URI or Base64 data and returns the text present in the image as string without need for network. You can also try :- https://github.com/NeutrinosPlatform/cordova-plugin-ml-text
MIT License
49 stars 30 forks source link

podspec issue installing on iOS 7+ #49

Open jb-72 opened 1 year ago

jb-72 commented 1 year ago

Looks like the plugin.xml needs updating for iOS.

Cannot install in new project with Cordova 12.0.0 / ios 7.0.1.

cordova plugin add cordova-plugin-mobile-ocr

returns

Error during processing of action! Attempting to revert... Failed to install 'cordova-plugin-mobile-ocr': Error [ERR_UNHANDLED_ERROR]: Uh oh! Unhandled error. ('"framework" tag with type "podspec" is no longer supported. Please use the "podspec" tag.') ...

Looks like support for type="podspec" was dropped in Cordova ios 7.0.0: https://cordova.apache.org/announcements/2023/07/10/cordova-ios-7.0.0.html

Any workarounds in the interim?

Thanks