My code uses an external library using
dlsym (for reasons out of my control).
In order Xcode to find my library, I had to do 2 things:
- Dead-Code Stripping: NO
This works fine when running wit the debug profile. Both on the simulator and on a physical device, the library is loaded and works.
However if I create an AdHoc IPA file and install it on my device, this same library is no longer found.
What could be the difference?