获取用于iOS开发的预配证书时出错 [英] Error in getting provisioning certificate for iOS development
问题描述
我想在iPad上测试我的iOS应用程序.为此,我在Apple Portal上创建了开发人员证书,应用程序ID和设备ID.之后,我在Portal上创建了Provisioning配置文件.它已激活,并且可以看到下载按钮.当我单击下载时,它给我失败的错误提示.
I want to test my iOS application on iPad. For this I have created developer certificate,App ID and Device ID on Apple Portal. After that I have created Provisioning profile on portal.It is activated and I can see download button. When I click on download it is giving me error of Failed Download.
请注意,在我使用Marmalade开发应用程序时,为了使用.csr进行签名和创建,我使用了Marmalade签名工具.另外,我正在使用Windows 7进行开发.
Note that for signing and creating .csr I have used Marmalade signing tool as I am developing applicaton using Marmalade. Also I am using Windows 7 for development.
请让我知道可能是什么问题.
Please let me know what can be issue.
关于, 上级
推荐答案
这是一个很老的问题,但是另一个开发人员可能会遇到相同的错误. 您需要的基本步骤是:
It is a pretty old question, but another developer might fall in the same error. The basic steps you need are:
- 使用果酱代码签名请求工具生成.csr文件
- 在Apple开发人员面板中,创建两个证书(.cer):一个用于开发,一个用于分发
- 在Apple Developer面板中使用UDID注册您的iOS设备
- 也在Apple Developer面板中,创建两个配置文件(.mobileprovision):一个用于开发,一个用于分发,与您的证书(.cer)和设备(UDID)关联.
-
在果酱的.mkb文件中,包括最近创建的.mobileprovision,如下所示:
- generating a .csr file, using Marmalade Code Sign Request tool
- Inside Apple developer panel, create two certificates (.cer): One for development, one for distribution
- register your iOS device with its UDID in the Apple Developer panel
- Also in Apple Developer panel, create two provisioning profiles (.mobileprovision): One for development, one for distribution, associated to your certificate (.cer), and your devices (UDID).
Inside Marmalade's .mkb file, include the recently created .mobileprovision like this:
iphone-provisioning-profile='data/myprofile.mobileprovision'
希望有帮助!
这篇关于获取用于iOS开发的预配证书时出错的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!