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

徘徊边缘 提交于 2019-12-13 05:51:17

问题


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?


回答1:


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.



来源:https://stackoverflow.com/questions/37615777/testing-ad-hoc-provisioning-profile-in-real-device-ios-xcode

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!