Xcode7.3.1で簡単なiOSアプリを作りました。
Xcode上でのビルドは問題ないのですが、実機(iPhone6Plus,iOS9.3)ビルドをしようとすると、メッセージが表示され、Fix issueを押してもまたメッセージが出て実行できません。どうすれば実機で動作させられるでしょうか。
一つ目のメッセージ
Failed to code sign "アプリ名".
No provisioning profiles with a valid signing identity (i.e. certificate and private key pair) matching the bundle identifier “(アプリ名)” were found.
Xcode can attempt to fix this issue. This will reset your code signing and provisioning settings to recommended values and resolve issues with signing identities and provisioning profiles.
→Fix issueを押す
二つ目のメッセージ
An App ID with Identifier 'アプリ名' is not available. Please enter a different string.
→Doneを押す
Xcodeには自分のAppleIDが登録してあります。View Details画面ではiOS DevelopmentとMac Developmentにcreateがないので作られていると思います。
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。