Xcode 7.2:无法定位或生成签名资产,不能使用通配符应用 ID 来创建内部配置文件 [英] Xcode 7.2: Failed to Locate or generated signing assets, Wild Card App IDs can not be used to create In House Provisioning Profiles

查看:83
本文介绍了Xcode 7.2:无法定位或生成签名资产,不能使用通配符应用 ID 来创建内部配置文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我签署了一个 iOS 应用程序和 WatchKit 应用程序 &具有有效配置文件的扩展目标(每个应用程序标识符的单独配置文件,而不是通配符 App ID),构建已成功存档,但是当我尝试导出/保存企业构建时,Xcode 自动生成/定位 XC:配置文件,它也并重置/使之前选择的配置文件无效.我得到以下错误.(即使我们没有使用通配符应用 ID)

I signed an iOS App and WatchKit App & Extension targets with valid provisioning profiles (Separate provisioning profile for each app identifier, and not wild card App ID), Build was archived successfully but when I try to export/save Enterprise build, Xcode auto generate/locate XC: provisioning profile and it also and resets/invalidates previously selected provisioning profiles. I get below error. (even though we are not using Wild Card App IDs)

无法定位或生成签名资产,不能使用通配符应用 ID 来创建内部供应配置文件".

推荐答案

这似乎是 Xcode 7.2 中的错误,经过多次尝试和故障排除后,以下解决方案对我有用.

It seems like it is bug in Xcode 7.2 , after trying multiple times and troubleshooting , below solution worked for me.

1) 打开 Xcode 偏好设置

1) Open Xcode preference

2) 选择团队

3) 点击查看详情.."

3) Click the "View Details.."

4) 在配置文件"部分:右键单击任何配置文件并在 Finder 中显示并删除该文件夹中的所有配置文件.

4) In section "Provisioning Profiles": Right Click on any profile and Show in Finder and Delete All Provisioning Profiles in that folder.

5) 在配置文件"部分.点击全部下载".

5) In section "Provisioning Profiles". Click on "Download All".

6) 重启 Xcode.

6) Restart the Xcode.

7) 在 General 中选择 Team,在 Build Settings 中选择 Provisioning Profiles 并再次存档 build.

7) Select Team in General, and Provisioning Profiles in Build Settings and archive build again.

有关更多详细信息,请查看以下屏幕截图:

For more detail find Screenshots below:

1) 打开 Xcode 首选项,

2) 选择团队,

3) 点击查看详情...".

4) 在配置文件"部分:右键单击任何配置文件并在 Finder 中显示并删除该文件夹中的所有配置文件.

删除配置文件

5) 在配置文件"部分.点击全部下载".

6) 重新启动 Xcode.(大多数情况下,重新启动 Xcode 是下载新的配置文件或更改应用程序标识符后的唯一解决方案)

6) Restart the Xcode. (most of the times Restarting Xcode is only solution after downloading new provisioning profiles or after changing App identifiers)

7) 在 General 中选择 Team,在 Build Settings 中选择 Provisioning Profiles 并再次存档 build.

希望它能解决您的问题.:)

Hope it solves your problem. :)

P.S:我还通过 Apple Bug Reporter 向 Apple 打开了一个错误.

P.S: I've also opened a bug to Apple via Apple Bug Reporter.

这篇关于Xcode 7.2:无法定位或生成签名资产,不能使用通配符应用 ID 来创建内部配置文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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