The operation couldn’t be completed. Unable to log in with account … The login details for account … were rejected.
I had to go to “Preferences” -> “Accounts”, where it turned out my Apple ID had timed-out. After logging-in there, and then restarting Xcode, my profile was automatically “repaired”, and all is now well.
No profiles for ‘com.XXX.UISwiftDemo’ were found: Xcode couldn’t find any iOS App Development provisioning profiles matching ‘com.xxx.UISwiftDemo’.
注册设备 Register Device