Xcode 4-“未找到有效签名身份”在新的Macintosh安装上配置配置文件时出错 [英] Xcode 4 - "Valid signing identity not found" error on provisioning profiles on a new Macintosh install

查看:450
本文介绍了Xcode 4-“未找到有效签名身份”在新的Macintosh安装上配置配置文件时出错的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个Macintosh我曾经使用XCode 4开发iPhone应用程序。
我现在有一个新的Macintosh的新安装的一切。

I had a Macintosh I used to develop iPhone apps with using XCode 4. I now have a new Macintosh with a new install of... everything.

当打开在旧Mac上构建的Xcode项目时,我无法在配置为开发iPhone的iPhone上运行该应用程序。

Xcode 4组织者告诉我我没有找到有效的签名身份

When opening Xcode projects built on the old Mac, I cannot run the app on the iPhone that was configured as a development iPhone.
Xcode 4 organizer tells me "Valid signing identity not found" on my provisioning profiles.

我想这是与我之前在旧Mac上生成的.certSigningRequest文件(我有该文件的备份)有关,但是我需要在新的Mac上做它吗?

I guess this is something to do with the .certSigningRequest file I had generated before on the old Mac (I have a backup of that file), but what do I have to do with it on the new Mac?

另一个奇怪的事情,我没有看到我的5现有供应配置文件即使在刷新之后以及在进入我的配置门户登录名和密码后:

Another strange thing, I don't see my 5 existing provisioning profiles (defined on Apple provisioning portal) in the organizer, even after a refresh and after having entered my provisioning portal login and password :

推荐答案

使用Xcode 4.2及更高版本,包括XCode 4.6,更好的方式将整个开发人员配置文件迁移到新机器。在现有计算机上,启动Xcode并执行此操作:

With Xcode 4.2 and later versions, including XCode 4.6, there is a better way to migrate your entire developer profile to a new machine. On your existing machine, launch Xcode and do this:


  1. 打开管理器(Shift-Command-2)。

  2. 选择设备标签。

  3. 选择LIBRARY左上角的开发人员资料,可以在标题库下或TEAMS标题下。


  4. 窗口的左下角选择导出。

  1. Open the Organizer (Shift-Command-2).
  2. Select the Devices tab.
  3. Choose Developer Profile in the upper-left corner under LIBRARY, which may be under the heading library or under a heading called TEAMS.
  4. Choose Export near the bottom left side of the window. Xcode asks you to choose a file name and password.

为Xcode 4.4编辑

使用Xcode 4.4,在步骤3中,选择LIBRARY下的Provisioning Profiles。然后使用鼠标或Command-A选择您的配置文件。

With Xcode 4.4, at step 3 choose Provisioning Profiles under LIBRARY. Then select your provisioning profiles either with the mouse or Command-A.

此外,苹果正在改进他们管理Xcode的这一方面,一些用户报告右下角的重新整理 按钮即可解决问题。因此,请尝试点击刷新,如果没有帮助,请执行导出/导入序列。

Also, Apple is making improvements in the way they manage this aspect of Xcode, and some users have reported that the Refresh button in the lower-right corner does the trick. So try clicking Refresh first, and if that doesn't help, do the export/import sequence.

WP添加的XCode 4.6的图片

>

编辑XCode 5.0或更新版本


  1. 打开XCode - > Preferences('Command'+',')

  2. 从列表中选择 Apple ID

  3. 点击窗口左下角附近的SETTING图标,然后选择EXPORT ACCOUNTS ... Xcode要求您选择文件名和密码。

  1. Open XCode -> Preferences ('Command' + ',')
  2. Select the Apple ID from the list.
  3. Click on the SETTING icon near the bottom-left corner of window, and choose EXPORT ACCOUNTS... Xcode asks you to choose a file name and password.

在新计算机上,启动Xcode并导入上面导出的配置文件。

On your new machine, launch Xcode and import the profile you exported above. Works like a charm.

Ankur添加的XCode 5.0的图片

img src =https://i.stack.imgur.com/qH8IL.jpgalt =对于XCode 5或更高版本>

这篇关于Xcode 4-“未找到有效签名身份”在新的Macintosh安装上配置配置文件时出错的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆