iOS library not loaded when using IPA

0 votes

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:

  • -force_load "$(SRCROOT)/pathTo/myLibrary.a"
  • 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?


 

Nov 16 in Mobile Development by gaurav
• 22,040 points
20 views

No answer to this question. Be the first to respond.

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.

Related Questions In Mobile Development

0 votes
0 answers

How to login to a site using POST request? (Swift,iOS)

I want to create an iOS Application ...READ MORE

Nov 9 in Mobile Development by gaurav
• 22,040 points
42 views
0 votes
0 answers
0 votes
0 answers

OneLogin Portal iOS App Not Sending Domain Redirect URI

I have set up a Custom Connection ...READ MORE

Nov 9 in Mobile Development by gaurav
• 22,040 points
24 views
0 votes
0 answers

FB Login not working with React Native iOS v13+

I've a project with following configuration. "react": "16.8.3", "react-native": ...READ MORE

Nov 10 in Mobile Development by gaurav
• 22,040 points
36 views
0 votes
0 answers

iOS + Firebase Analytics not showing correct location

I'm using Unity 2019 LTS and Firebase ...READ MORE

Nov 10 in Mobile Development by gaurav
• 22,040 points
41 views
0 votes
0 answers
0 votes
1 answer

URL Scheme for iOS Home App

I think you could try doing it ...READ MORE

answered Nov 16, 2018 in IoT (Internet of Things) by nirvana
• 3,130 points
500 views
0 votes
1 answer

swift for windows? xcode on windows? ?

Hi, @Aminegac, If you’re a little more technically ...READ MORE

answered Dec 4, 2020 in Others by Nikita
694 views
0 votes
1 answer

Xcode 12.4 “Unsupported OS version” after iPhone iOS update 14.7

This may only be a short-term fix, ...READ MORE

answered Sep 21 in IOS by Rahul
• 9,680 points
191 views
0 votes
0 answers

NO iOS 14.6 Simulator Found Anywhere

I developed an app for a client ...READ MORE

Sep 22 in Others by gaurav
• 22,040 points
44 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP