IOS开发之——xxx has conflicting provisioning settings

一 异常现象

将友盟分享项目运行到真机时,出现了如下问题:

1
2
UMengComDemo has conflicting provisioning settings.
UMengComDemo is automatically signed, but provisioning profile ce77059f-c89f-4a6c-8e78-3e23cb2fc4a9 has been manually specified. Set the provisioning profile value to "Automatic" in the build settings editor, or switch to manual signing in the Signing & Capabilities editor

二 异常图片

三 异常原因

项目已经指定了Provisioning Profile,通过勾Automatically manage signing无法清除

四 解决办法(清除provisioning file)

依次找到:TARGETS——>Demo——>Build Settings——>PROVISIONING_PROFILE——>删除provisioning file