首先確認您的證書是齊全的。
在證書手動配置和自動配置切換的時候發現的這個問題:
一般在項目中會報這個錯:
項目名稱 has conflicting provisioning settings. 項目名稱 is automatically signed, but provisioning profile df7171b8-e8f0-4916-a0eb-12cbc9d8ed3c 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.
你的項目名稱 的配置設置有衝突。 你的項目名稱 已自動簽名,但已手動指定配置文件df7171b8-e8f0-4916-a0eb-12cbc9d8ed3c。在構建設置編輯器中將配置配置文件值設置爲“自動”,或在項目編輯器中切換到手動簽名。
一、檢查project-Build Settings-Signing將這個調試好,或者直接都調成developer:
二、檢查Target-Build Settings-Signing將這個調成以下:
這兩項都檢查,調試完了,可能還不行。這時候就需要做這個必殺技了: