【Unity】XcodedeからArchiveすると、 「Unity-iPhone has conflicting provisioning settings.~~~」というエラーが表示される件について

エラー内容

スキーマをAny iOS DeviceにしてProductのArchiveをすると以下のようなエラーが表示される。

Unity-iPhone has conflicting provisioning settings. Unity-iPhone 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.

解決方法

①プロジェクトを選択
②TARGETSを選択
③Build Settingsを選択
④Allを選択
Code Signingで検索
⑥以下のように設定

Key Value
Debug Apple Development
Any iOS SDK iOS Developer
Release Apple Development
Any iOS SDK iOS Developer
ReleaseForProfiling Apple Development
Any iOS SDK iOS Developer
ReleaseForRunning Apple Development
Any iOS SDK iOS Developer