证书配置错误

证书配置问题

xxx has conflicting provisioning settings.

应该是之前配置的证书遗留问题

1 错误详情:

xxx is automatically signed, but provisioning profile 103f674d-d357-40dd-a793-5b2194a8f3cb has been manually specified. Set the provisioning profile value to "Automatic" in the build settings editor, or switch to manual signing in the project editor.

修改方法:打开项目的project.pbxproj文件,搜索103f674d-d357-40dd-a793-5b2194a8f3cb,删除保存就行了, 删除后Xcode会重新自动配置证书


2 错误详情:  Your development team,"xxx.xxx.xxx", does not support the Push Notifications capability.

  1>找到工程文件中xxx.entitlements文件,在vim中打开

  2>删除.entitlements文件中的aps-environment,保存后重新运行,即可。

你可能感兴趣的:(证书配置错误)