Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

iOS build error: "Use of undeclared identifier 'MLKTextBlock'" in ionichub #16

Open
megha2021 opened this issue Aug 23, 2023 · 2 comments

Comments

@megha2021
Copy link

#import <MLKitTextRecognitionCommon/MLKitTextRecognitionCommon.h>

Hi, using the above import in my local machine I'm able to run successfully but when I'm trying to build in ionic Appflow(ionichub) the build fails. How can I resolve this?

@sc0ttdav3y
Copy link

FWIW I also get this error when trying to compile the plugin directly in XCode 15 within my cordova project.

@Madserker
Copy link

Hello!
I am also facing the same issue, the only way I am able to run my ionic app is adding that line:
#import <MLKitTextRecognitionCommon/MLKitTextRecognitionCommon.h>
in this file:
../ios/capacitor-cordova-ios-plugins/sourcesstatic/CordovaPluginMlText/Mltext.m
everytime I do an npx cap sync ios

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants