在真实设备中测试 Ad-hoc 配置文件 - IOS XCode [英] Testing Ad-hoc Provisioning Profile in Real Device - IOS XCode
问题描述
对于我正在处理的应用程序,我使用解析服务器和推送通知属性.到目前为止,我一直在使用开发人员配置文件.现在我想使用 Ad-hoc 配置文件来测试该应用程序,因为据说在将其放入 Apple Store 之前最好在 Ad-hod 中对其进行测试.我创建了配置文件,并在构建设置>配置配置文件下的X-code中选择了临时配置文件,并将代码签名标识下的调试信息设置为iphone发行版.但是,当我在设备中运行项目时,出现错误:process launch failed: failed to get the task for process 4481
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
当我在 xcode 中再次将配置文件转换为开发人员模式时,它可以工作.我错过了什么吗?
When I convert the profile to developer mode again in xcode, it works. Am I missing something?
推荐答案
为了直接在设备中运行,您需要在开发模式下生成 Provisioning Profiles.如果您没有添加 device id
,adhoc Provisioning Profiles 将无法在设备中运行.
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.
在 developer.apple
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.
这篇关于在真实设备中测试 Ad-hoc 配置文件 - IOS XCode的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!