khjde1207 / tesseract_ocr

Tesseract OCR for flutter
BSD 3-Clause "New" or "Revised" License
62 stars 31 forks source link

Not working on IOS #5

Closed sikandernoori closed 2 years ago

sikandernoori commented 2 years ago

Hello @khjde1207,

I tried to run this package by example App and I get the following Error on IOS build.

skandar@Skandars-MacBook-Pro-1892 ocr % flutter build ios                    
Building com.domain.ocr for device (ios-release)...
Found saved certificate choice "Apple Development: xxxxxxxxx. To clear, use "flutter config".
Signing iOS app for device deployment using developer identity: "Apple Development: xxxxxxxxx"
Running pod install...                                              7.2s
Running Xcode build...                                                  
 └─Compiling, linking and signing...                        17.8s
Xcode build done.                                           149.7s
Failed to build iOS app
Error output from Xcode build:
↳
    ** BUILD FAILED **

Xcode's output:
↳
    /Users/skandar/Desktop/domain/ocr/ios/Runner/GeneratedPluginRegistrant.m:10:9: fatal error: module 'flutter_tesseract_ocr' not
    found
    @import flutter_tesseract_ocr;
     ~~~~~~~^~~~~~~~~~~~~~~~~~~~~
    1 error generated.
    note: Using new build system
    note: Building targets in parallel
    note: Planning build
    note: Constructing build description

Encountered error while building for device.
khjde1207 commented 2 years ago

i don't have a mac Can you help me build it on mac? I'm installing Hackintosh. I don't know if xcode works.

sikandernoori commented 2 years ago

@khjde1207 XCode Works on Hackintosh, it will be very slow though.

If you are okay we can fix it together over AnyDesk or TeamViewer here is my SkypeID: sikandernoori

khjde1207 commented 2 years ago

thank you!