xcode - iOS library not loaded when using IPA -
my code uses external library using dlsym
(for reasons out of control).
in order xcode find library, had 2 things:
-force_load "$(srcroot)/pathto/mylibrary.a"
- dead-code stripping: no
this works fine when running wit debug profile. both on simulator , on physical device, library loaded , works.
however if create adhoc ipa file , install on device, same library no longer found.
what difference?
this solved issue:
in build settings → deployment → strip linked product, select no
.
Comments
Post a Comment