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, 2022 in Mobile Development by gaurav
• 23,260 points
365 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, 2022 in Mobile Development by gaurav
• 23,260 points
687 views
0 votes
0 answers

iOS Custom Notification Sound (UNNotificationSound) doesn't play when iPhone is locked

My app uses remote notifications with a ...READ MORE

Nov 9, 2022 in Mobile Development by gaurav
• 23,260 points
994 views
0 votes
0 answers

OneLogin Portal iOS App Not Sending Domain Redirect URI

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

Nov 9, 2022 in Mobile Development by gaurav
• 23,260 points
347 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, 2022 in Mobile Development by gaurav
• 23,260 points
1,231 views
0 votes
0 answers

iOS + Firebase Analytics not showing correct location

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

Nov 10, 2022 in Mobile Development by gaurav
• 23,260 points
871 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
1,154 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
1,773 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, 2022 in IOS by Rahul
• 9,680 points
1,236 views
0 votes
0 answers

NO iOS 14.6 Simulator Found Anywhere

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

Sep 22, 2022 in Others by gaurav
• 23,260 points
507 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