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

Popular posts from this blog

javascript - jQuery: Add class depending on URL in the best way -

caching - How to check if a url path exists in the service worker cache -

Redirect to a HTTPS version using .htaccess -