Build Settings の Development Team や Provisioning Profile をきっちり設定しよう。

Example.xcodeproj Signing for "<アプリ名>" requires a development team. Select a development team in the Signing & Capabilities editor.