Xcode No certificate for team ‘xxx‘ matching ‘iPhone Developer: xxx (xxx)‘

Xcode编译报错:

No profile for team 'xxxxxxx' matching 'xxx_Dis' found: Xcode couldn't find any provisioning profiles matching 'xxxxxxx/xxx_Dis'. Install the profile (by dragging and dropping it onto Xcode's dock item) or select a different one in the Signing & Capabilities tab of the target editor.

这里是错误截图
Xcode No certificate for team ‘xxx‘ matching ‘iPhone Developer: xxx (xxx)‘_第1张图片

编译错误原因是没有选择正确的开发证书,Signing Certificate 是 None

Xcode No certificate for team ‘xxx‘ matching ‘iPhone Developer: xxx (xxx)‘_第2张图片

TARGET->Building Setting,这里选的是iPhone Developer…

Xcode No certificate for team ‘xxx‘ matching ‘iPhone Developer: xxx (xxx)‘_第3张图片

选择对应正确的证书,AppleDeveloper…

Xcode No certificate for team ‘xxx‘ matching ‘iPhone Developer: xxx (xxx)‘_第4张图片

然后编译,成功

Xcode No certificate for team ‘xxx‘ matching ‘iPhone Developer: xxx (xxx)‘_第5张图片

你可能感兴趣的:(#,error,&,warning,No,certificate)