Issue while adding tesseract library. - ios

I want to implement OCR scanning. I added tesseract library from flowing link.
http://lois.di-qual.net/blog/install-and-use-tesseract-on-ios-with-tesseract-ios/#
But after adding the file mentioned and changing the settings, I am getting linker error.
I am working on latest Xcode version.
Error message : clang: error: linker command failed with exit code 1 (use -v to see invocation)

Only keep tesseract-ios/classes/Tesseract.h and tesseract-ios/classes/Tesseract.mm and remove all other files in tesseract-ios folder in your project bundle. Then build again. Hope it will successful. If it doesn't work please let me know.

Related

iOS library not found for -lfsdk

I'm trying to get an older ~2014 era app running on my M1 Mac. I'm able to update cocoa pods and all that, but I keep getting the following error (with or without rosetta)
ld: library not found for -lfsdk
clang: error: linker command failed with exit code 1 (use -v to see invocation)
I can't find any documentation about this one. Any clue what -lfsdk is?
Thank you!

clang: error: linker command failed with exit code 1 (use -v to see invocation) Bitcode Fix NOT Working

I'm trying to move an Xcode app from a MBP to an iMac. I've copied all the folders and files needed but keep getting to following error on build:
clang: error: linker command failed with exit code 1 (use -v to see invocation)
After Googling around a bit the most common fix for this is to set Bitcode to no. I've done this but it doesn't make a difference. I've also tried quitting Xcode emptying the DerivedData folder and restarting.
Below is the error in Full:
Here is a list of my linked libraries:
It sounds a lot like the error is true - have you definitely got your libWikitude framework in a referenced path?
Go to XCode, Build Settings, find 'Framework Search Paths' under Search Paths, and make sure the folder of your libWikitude is correct.
Perhaps it's hardcoded and now the path has changed?
After a few headaches with this I decided to simply remove all references to the Wikitude lib as it was not being used by the app.
This immediately solved the issue. Thanks for those who answered.

Chartboost with Unity 5 on xcode missing linking file

Has anybody used chatboost with unity 5 on IOS? I get a linking error and a warning
warning: directory not found for option '-L/Users/alexm/Downloads/iosFree/LibrariesPlugins/iOS'
ld: library not found for -lChartboost
clang: error: linker command failed with exit code 1 (use -v to see invocation)
On the Android everything is fine. Do I have to do anything extra other what i mentioned on chartboost integration page?
Make sure that if the Chartboost plugin is using some PostprocessBuildPlayer stuff, that is isn't getting clobbered by a different script.
If, in XCode, you check the build phases tab for linked frameworks and you don't see Chartboost.framework, it's likely the build script not running correctly.

PJSIP Siphon(ld: library not found for -lpj-arm-apple-darwin9)

Hi i am using the Siphon application to build my application. I have successfuly upload the binary to itunes store 3 months before. Now have to change the graphic of that app and trying to build the binary but it is giving me the following linker error. Any one can please guide me why it is so.
ld: library not found for -lpj-arm-apple-darwin9
clang: error: linker command failed with exit code 1 (use -v to see invocation)
one thing more i have libpj-arm-apple-darwin9.a library inside my project.
This error occurs when we copy the project from one place to other. so the path of libraries become changed and
we can solve it by just removing the required libraries by reference and copy the libraries again inside our project.

Library not found for lgcov

I'm using Xcode 4.6 and I've been writing some Unit Tests for an iOS app. I've tried to do some code coverage following from this tutorial: http://supermegaultragroovy.com/2005/11/03/unit-testing-and-code-coverage-with-xcode/ .
I've followed the 3 steps for my AppTests Target:
Check “Generate Test Coverage Files”
Check “Instrument Program Flow”
Add “-lgcov” to “Other Linker Flags”
The problem is that if I hit "Test" I get this error:
ld: library not found for -lgcov
clang: error: linker command failed with exit code 1 (use -v to see invocation)
How can I fix this?
I think it's caused by your xcode version. Apple remove the library code-coverage needed after xcode 4.3. You need to add one file to your project manually. You can see check this blog for more details: http://www.gerardcondon.com/blog/2012/02/21/code-coverage-updates-for-xcode-4-dot-3/
You can try this. I tried but failed since my project include C++ code. I think that's because xcode 4.6 has not supported this feature...

Resources