Failed to create provisioning profile.
There are no devices registered in your account on the developer website. Plug in and select a device to have Xcode register it.
在網上找了很多解決方法之后,調試了很多設置都不行
最后原來是需要選擇你的真機,如果你的xcode沒有連接到真機
請重新插拔,然后重新選擇你的真機,就能解決這個問題