In the Account Holder section, go to the Business section where you will see agreements. Click on the agreement to accept it, then close Xcode, reopen it Xcode project.then It will work perfectly.