【iOS】Signing for requires a development team. Select a development team in the project editor. Code

关于【iOS】Signing for requires a development team. Select a development team in the project editor. 错误改正:

Xcode -> Preferences… ->Accounts

【iOS】Signing for requires a development team. Select a development team in the project editor. Code_第1张图片

左下角的“+” -> Add Apple ID -> 输入自己的Apple ID 和密码

【iOS】Signing for requires a development team. Select a development team in the project editor. Code_第2张图片

此时能看到自己的Apple ID iOS和Mac处显示的是Free。选中它。然后点击 View Details… -> 在iOS Development后面选择create。

【iOS】Signing for requires a development team. Select a development team in the project editor. Code_第3张图片

点击一下左边工程根目录的图标,在Identity -> Team 处选中自己的Apple ID

【iOS】Signing for requires a development team. Select a development team in the project editor. Code_第4张图片

此时Team下面会出现警告 No provisioning profiles found。点击Fix Issue。

【iOS】Signing for requires a development team. Select a development team in the project editor. Code_第5张图片

修改后是下面这个样子

【iOS】Signing for requires a development team. Select a development team in the project editor. Code_第6张图片

这时候数据线连接自己的真机。在调试设备的地方选择自己的真机。然后就可以调试了。

你可能感兴趣的:(【iOS】Signing for requires a development team. Select a development team in the project editor. Code)