XXX has conflicting provisioning settings.
XXX is automatically signed, but provisioning profile xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx 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.
引起這個問題的主要原因還是因為原本的項目過於老舊, 對賬號一波流很不友好, 網上說的證書解法沒啥用時不妨參考一下以下解法
以下使用的Xcode版本截止發文時為最新的Xcode10.1
找到xx.xcodeproj
右鍵顯示包內容
打開project.pbxproj
將"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx";
的內容全部刪掉
剩着"";
就行
收工