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

查看:29
本文介绍了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 个现有配置文件(在 Apple 配置门户上定义):

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 下选择 Developer Profile,它可能位于标题 library 或名为 TEAMS 的标题下.
  4. 选择左下角附近的导出窗户.Xcode 会要求您选择文件名和密码.

针对 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.

此外,Apple 正在改进他们管理 Xcode 这方面的方式,一些用户报告说,右下角的 Refresh 按钮可以诡计.因此,请先尝试单击刷新",如果这没有帮助,请执行导出/导入序列.

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 ->首选项('Command' + ',')
  2. 从列表中选择 Apple ID.
  3. 单击窗口左下角附近的 SETTING 图标,然后选择 EXPORT ACCOUNTS... Xcode 要求您选择文件名和密码.

在您的新机器上,启动 Xcode 并导入您在上面导出的配置文件.很有魅力.

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

由 Ankur 添加的 Xcode 5.0 图片

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

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