简体   繁体   English

在Xcode 3.2.4中启动Adhoc应用程序时出错

[英]Error when launch adhoc app in xcode 3.2.4

I'm sorry about asking this question again, I looked for many forums, websites about this issue, even if I did follow Apple's instruction at http://developer.apple.com/library/ios/#qa/qa2010/qa1710.html but it's seem helpful for me. 很抱歉再次提出这个问题,即使我确实遵循Apple在http://developer.apple.com/library/ios/#qa/qa2010/qa1710上的指示, 仍在寻找有关此问题的论坛和网站。 html,但对我似乎很有帮助。 I upraged my xcode sdk to 3.2.4 and iOS 4.1, everything is well with Development, but when I built adhoc with Distribution, the app can't launch with error: 我将xcode sdk升级到3.2.4和iOS 4.1,Development一切都很好,但是当我使用Distribution构建adhoc时,该应用程序无法启动并出错:

Error launching remote program: failed to get the task for process 571. 启动远程程序时出错:无法获取进程571的任务。

Error launching remote program: failed to get the task for process 571. 启动远程程序时出错:无法获取进程571的任务。

The program being debugged is not being run. 正在调试的程序未在运行。

The program being debugged is not being run. 正在调试的程序未在运行。

I created the Entitlements.plist with configurations: 我使用配置创建了Entitlements.plist:

<key>application-identifier</key>

<string>$(AppIdentifierPrefix)$(CFBundleIdentifier)</string>

<key>get-task-allow</key>

<false/>

<key>keychain-access-groups</key>

<array>

    <string>$(AppIdentifierPrefix)$(CFBundleIdentifier)</string>

</array>

but nothing is changed. 但是什么都没有改变。 Anyone could help me? 有人可以帮助我吗? Thanks so much. 非常感谢。

You cannot run distribution builds directly from xcode. 您不能直接从xcode运行发行版本。 Instead go to the organizer, select your device, and drag the app into the Applications section. 而是去组织者,选择您的设备,然后将应用拖到“应用程序”部分。 Then you can run it from the device as you would any app from the app store. 然后,您可以像在应用商店中的任何应用一样,从设备上运行它。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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