简体   繁体   中英

Testing Ad-hoc Provisioning Profile in Real Device - IOS XCode

For an application that I am working on, I use parse server and the push notification property. Until now I was using a developer provisioning profile. Now I want to test the app with the Ad-hoc provisioning profile as it is said that before putting to the apple store it would be good to test it in Ad-hod. I created the profiles, and selected the ad-hoc profile in X-code under build settings>provisioning profile, and the debug info under code signing identity are set as iphone distribution. However when I run the project in a device I got the error: process launch failed: failed to get the task for process 4481

When I convert the profile to developer mode again in xcode, it works. Am I missing something?

For run directly in the device, you need generate Provisioning Profiles in development mode. The adhoc Provisioning Profiles can't run in the device if you not have the device id added.

in developer.apple

在此处输入图片说明

Later edit your provisioning profile and add the new device and re-generate it.

This way is very unstable. Personally i recommend the development provisioning way.

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