MMCamScanner icon indicating copy to clipboard operation
MMCamScanner copied to clipboard

TesseractOCR Undefined symbols for architecture arm64:

Open SravanthiRedd opened this issue 8 years ago • 2 comments

Hi, Thanks to your great project. It works fine for normally rectangle image In Simulator. But in the when we are unable to build into iPhone. Getting Belo Issues.

ld: warning: ignoring file /Users/XXXX/Desktop/MMCamScanner/TesseractOCR.framework/TesseractOCR, file was built for archive which is not the architecture being linked (arm64): /Users/XXXX/Desktop/MMCamScanner/TesseractOCR.framework/TesseractOCR Undefined symbols for architecture arm64: "OBJC_CLASS$_G8RecognitionOperation", referenced from: objc-class-ref in ViewController.o ld: symbol(s) not found for architecture arm64 referenced from: objc-class-ref in ViewController.o ld: symbol(s) not found for architecture arm64 clang: error: linker command failed with exit code 1 (use -v to see invocation)

SravanthiRedd avatar Jul 05 '17 09:07 SravanthiRedd

Go to Project Targets -> Build Settings. Under that,

  • Change [Architectures] to "Standard architectures(armv7, arm64) - ..."
  • Below that Keep the value of Debug = Yes and Release = No for [Build Active Architecture Only]. That's all..

tushar666 avatar Oct 31 '17 06:10 tushar666

ld: library not found for -lstdc++.6.0.9 clang: error: linker command failed with exit code 1 (use -v to see invocation)

-- Getting above error, i am not getting , how to resolve this issue.. Anyhow if i resolve above issue, i am getting TesseractOCR framework not found issue even framework were added..

vymallesh avatar Apr 02 '19 14:04 vymallesh