問題描述:
開啟自動(dòng)管理簽名后,Xocde10 報(bào)錯(cuò)描述如:
“XXXX is automatically signed,but provisioning profile 45551591-2d82-4cc3-a2b7-99838c6700b3 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.”

問題原因:
初步懷疑是由于使用了不同的bundel id,之前的bundle id是手動(dòng)配置,后面的選用的是自動(dòng)簽名。自動(dòng)簽名后,xcode10并未將之前的配置信息清理掉。所以導(dǎo)致了描述文件沖突。
解決辦法:
用文本編輯打開“project.pbxproj”,并全局搜索沖突的描述文件id“45551591-2d82-4cc3-a2b7-99838c6700b3”,并刪除掉所有的對(duì)應(yīng)的描述文件設(shè)置“PROVISIONING_PROFILE = "45551591-2d82-4cc3-a2b7-99838c6700b3”;”即可。
