简体   繁体   中英

iOS Enterprise provisioning profile distribution

I am signing a dylib in my application with an Enterprise certificate and noticed that on some devices I get the following error:

0xe8008015: A valid provisioning profile for this executable was not found.

The strange thing is on the devices where this works I never manually installed a provisioning profile. I think when I used XCode it got automated installed somehow.

Manually installing the 'Distribution in house' profile associated with the cert on these devices fixed the problem, but I'm trying to understand how to deploy my software without requiring this extra step.

What is the standard way of pushing out the enterprise provisioning profile?

Does the mentioned Enterprise certificate appear under Settings ➞ Profiles on the iOS devices that experience the problem?

Is said Enterprise certificate available as a valid (signable) certificate on the Xcode installation where you package the final .ipa?

Do you use the same certificate for signing the dylibs and the app?

The standard way of pushing an Enterprise certificate to devices is to include it when packaging/archiving an app. Xcode should do this automatically - at least for the certificate used to sign the app itself.

You can extract an .ipa (rename to .zip) and look for a file called "embedded.mobileprovision" in the .app package.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM