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.
在XCode 里将某iOS项目的Build Settings > Signing >
Provisioning Profile > 改为Automatic
Code Signing Style > 改为Automatic
之后,菜单Produce > Archive 制作文档文件时 报上面错误。
解决办法:上边报错里写的很清楚了
Set the code signing identity value to "Apple Development" in the build settings editor
当初自己想当然设为
Build Settings > Signing > Code Signing Identity > Debug > iOS Developer
Build Settings > Signing > Code Signing Identity > Release > iOS Distributor
因为想着自己的是iOS项目,
而它提示让设置为
Apple Development
按上述提示设置之后,
菜单Produce > Archive 或
真机debug 或
模拟器debug都没问题