简体   繁体   English

无法使用发行证书签署iPhone应用程序

[英]Unable to sign iPhone app with distribution certificate

I have struggled every step of the way with the process of submitting to the appstore. 在提交到Appstore的过程中,我一直很努力。 I am now at the point where it asked if I wanted to use the distibution certificate I have in Xcode. 我现在正要问我是否要使用我在Xcode中拥有的发行证书。

I selected yes and I get an error as below. 我选择是,然后收到如下错误。 What is the problem with this? 这是什么问题? please help. 请帮忙。 I have stuggled more to setup this process than to develop my app. 与开发我的应用程序相比,我更加努力地设置了此过程。

The iPhone “**********” doesn’t have the provisioning profile with which the application was signed.



Click “Install and Run” to install the provisioning profile “#######” on “**********” and continue running “$$$$$$$.app”.

If I click install and run it just says it cannot install blah blah 如果我单击安装并运行它只是说它无法安装等等

Open Organizer in Xcode (Window > Organizer). 在Xcode中打开管理器(“窗口”>“管理器”)。

  1. Does your iPhone's name appear there? 您的iPhone的名字出现在这里吗? If not, is your phone plugged in :)? 如果没有,您的电话是否插入了:)? Also, some people have had this issue when installing multiple versions of XCode - if your phone also doesn't show up in iTunes, reinstall iTunes to address this. 另外,某些人在安装多个版本的XCode时遇到了此问题-如果您的手机也没有显示在iTunes中,请重新安装iTunes以解决此问题。

  2. If it does show up, click on it. 如果确实显示,请单击它。 Look at the provisioning profiles. 查看配置文件。 What do you see there? 您在那看到什么? Do you see one that matches your app? 您是否看到与您的应用程序匹配的应用程序?

Make sure your build configurations are correct for the following: 确保您的构建配置适用于以下情况:

  • Distribution (which i think you've got) 发行(我认为您已经拥有)
  • Device (for whichever device you're building for) 设备(针对您要为其构建的设备)

There are very detailed and clear instructions provided. 提供了非常详细和清晰的说明。 Start all over at #1, and follow them through carefully one by one. 从#1重新开始,然后仔细地逐一跟踪它们。 Check each step several times to make sure you've done it right. 多次检查每个步骤,以确保您做对了。

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

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