在 Xcode 8 中更改签名团队

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/43336566/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-15 09:53:51  来源:igfitidea点击:

Change the signing team in Xcode 8

iosswiftxcodexcode8

提问by Akhil Nair

I have created a project in Xcode which has a Bundle ID of "com.example.programOne". The team under this project is personal i.e; ABC. Now I want to change the personal team in this existing project with a different Bundle ID, let's say com.example.programTwoand different personal team i.e; ABCD. I have created an apple ID for ABCD and linked with Xcode in preferences, but I am not able to assign this project to ABCD with different Bundle ID.

我在 Xcode 中创建了一个项目,它的 Bundle ID 为“ com.example.programOne”。该项目下的团队是个人的,即;ABC。现在我想用不同的 Bundle ID 更改这个现有项目中的个人团队,假设com.example.programTwo和不同的个人团队,即;ABCD。我为 ABCD 创建了一个 Apple ID 并在首选项中与 Xcode 链接,但我无法将此项目分配给具有不同 Bundle ID 的 ABCD。

It gives me warning:

它给了我警告:

  1. Failed to create provisioning profile.
  1. 未能创建配置文件。

There are no devices registered in your account on the developer website. Plug in and select a device to have Xcode register it.

您在开发者网站上的帐户中没有注册设备。插入并选择一个设备让 Xcode 注册它。

  1. No profiles for 'com.example.programTwo' were found
  1. 找不到“ com.example.programTwo”的配置文件

Xcode couldn't find a provisioning profile matching 'com.example.programTwo'.

Xcode 找不到与“ com.example.programTwo”匹配的配置文件。

回答by Santo

Please check atleast one device is registered in your Apple account. Include atleast one device in your provisioning profile.

请检查您的 Apple 帐户中至少注册了一台设备。在您的配置文件中至少包含一台设备。

or after adding a device in Apple developer account, Please check this option so that Xcode will create a provisioning profile for you. It will take care of running in your device.

或在 Apple 开发者帐户中添加设备后,请选中此选项,以便 Xcode 为您创建配置文件。它将负责在您的设备中运行。

enter image description here

在此处输入图片说明