letterassist-ai / flusseract

Flutter plugin for Tesseract OCR library.
MIT License
2 stars 1 forks source link

iPhone example app cannot run #4

Open FarisSpahic opened 2 months ago

FarisSpahic commented 2 months ago

Hello, I have an iPhone device on which I'm trying to run the example app. I installed all dependencies from the readme with brew but the app can't run with default setup. I changed bundle identifier to my team also, no changes there. Tried making some sample app and listing flusseract as dependency, can't run. ` user1@192 my_flutter_project % flutter run Launching lib/main.dart on User1 iPhone in debug mode... Automatically signing iOS for device deployment using specified development team in Xcode project: 426P4THQ53 Running Xcode build...
Xcode build done. 16.7s Failed to build iOS app Could not build the precompiled application for the device. Error (Xcode): linker command failed with exit code 1 (use -v to see invocation) /Users/user1/Desktop/my_flutter_project/ios/Pods/%20%20%20%20clang:0:0

Uncategorized (Xcode): Command PhaseScriptExecution emitted errors but did not return a nonzero exit code to indicate failure

Lexical or Preprocessor Issue (Xcode): 'leptonica/allheaders.h' file not found /Users/user1/.pub-cache/hosted/pub.dev/flusseract-0.1.3/src/flusseract.cpp:4:9

Error launching application on User1 iPhone.`

This is one of the errors. Main issue is that I can't run the example app. Is there some kind of initial setup on the cmake file or similar things? I am running on an iPhone, MacBook Pro is my development device.