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

原创文章,作者:维尼兔,如若转载,请注明出处:https://www.v2v0.com/?p=469