Xcode13.x遇到证书xxx has conflicting
遇到的问题如下:
xxx has conflicting provisioning settings.
xxx is automatically signed for development, but a conflicting code signing identity iPhone Distribution has been manually specified. Set the code signing identity value to "Apple Development" in the build settings editor, or switch to manual signing in the Signing & Capabilities editor.
因为Xcode13新的打包方式对配置文件的检查更为严格。
解决步骤:
-
Select the Target -- > General --> Signing --> Select the Team (It must the Super account)
-
Then select the Build Settings in Target, keep the Development team with the same with Selected team. Set the Provisoning Profile with Automatic and Code Signing Identity with iOS Developer.
-
Select the Project -- > Build Settings. Set the Provisoning Profile and Code Signing Identity with Details information
由于设置的疏忽
在这里插入图片描述
要保持一致,如下;
在这里插入图片描述
问题就解决了。
证书和这个设置是一致的,可以全设置为debug模式,方便调试。