Reset Search



Why am I getting a 'Library not found' error in Xcode during integration?

« Go Back



Sometimes you might see error in Xcode such as 

ld: library not found for -lCrittercism_v5_3_0 (or whichever version you're using)
clang: error: linker command failed with exit code 1 (use -v to see invocation)

You're experiencing this issue because Xcode can't find the location of the library, simply tell Xcode where they are by adding the right directory to the Library Search Paths in Xcode for linking.

You may set the path that Xcode needs in Build Settings => Search Paths => Library Search Paths (both Debug and Release)


xcode path

If you have multiple targets in your project, Apteligent might only be integrated with just one of them. In this case you might have to manually link them for each additional target.

Please also note that when you copy or duplicate a target, Xcode sometimes escapes double quotes " with a \. In this case, just remove all the \ and everything should return to normal.




Was this article helpful?



Please tell us how we can make this article more useful.

Characters Remaining: 255