TesseractOCR Undefined symbols for architecture arm64:
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)
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..
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..