I am trying to launch an iOS project with an Enterprise account. First thing first, the project is running just fine when I run it from xcode. When I download the ipa archive(I created) from the server it appears to open the app on the screen for less than a second and then immediately closes it.
I have tried various provisioning profiles:
Development -> iOS App Development
Distribution -> In House
Distribution -> Ad Hoc
And combined the above with all the possible ways of archiving the project:
-> Ad Hoc Deployment
-> Enterprise Deployment
-> Development Deployment
Only when I archive the ipa for development it works on my phone, as it is registered as development device for this provisioning profile, but not other phones.
Am I missing something out? Is there a setting in Xcode I should change for an enterprise launch?
UPDATE: device logs says:
Dyld Error Message: Dyld Message: Library not loaded: @rpath/ResearchKit.framework/ResearchKit Referenced from: /var/containers/Bundle/Application/6DBB2C29-B1AE-4AE0-AEFB-ABF4081467A5/Beck Chestionar.app/Beck Chestionar Reason: no suitable image found. Did find: /private/var/containers/Bundle/Application/6DBB2C29-B1AE-4AE0-AEFB-ABF4081467A5/Beck Chestionar.app/Frameworks/ResearchKit.framework/ResearchKit: mmap() errno=1 validating first page of '/private/var/containers/Bundle/Application/6DBB2C29-B1AE-4AE0-AEFB-ABF4081467A5/Beck Chestionar.app/Frameworks/ResearchKit.framework/ResearchKit' Dyld Version: 390.7
Binary Images: 0x100004000 - 0x100017fff Beck Chestionar arm64 /var/containers/Bundle/Application/6DBB2C29-B1AE-4AE0-AEFB-ABF4081467A5/Beck Chestionar.app/Beck Chestionar 0x120050000 - 0x12007ffff dyld arm64 /usr/lib/dyld