编译异常 target has conflicting provisioning settings.

1、target -> Build Settings -> Code signing Identity
选择对应的代码签名表示;我是因为没有 Distribution 权限,所以测试环境全部勾选 iOS Developer


配置签名标识

2、target -> Build Settings Search PROVISIONING_PROFILE -> User-Defined
清空所有证书id,让 XCode 自己解决


清空证书Id

3、target -> Signing & Capabilities -> Signing

  • 勾选 Automatically manage signing
  • 选择对应的Team
  • 如果是 Notifycation Extention,Bundle Identifier 前缀需要与对应的 target Bundle Identifier 一致


    自动签名

你可能感兴趣的:(编译异常 target has conflicting provisioning settings.)