How To Fix Xcode Error The Operation Couldn’t Be Completed, Unable To Log In With Account. The Login Details For Account Were Rejected. And No Profiles Were Found

When i use Xcode 10.3 to open an old Xcode project, i encounter below error messages. The error message said unable to login with current apple account, and no profiles for the project were found. You can find the error message by click the project name in left Xcode project navigator pane, then click one target in center editor TARGETS list area, then click General tab and scroll down to Signing area. This article will tell you how to fix it.

xcode error unable to login with account and no profiles were found

Below are error messages.

The operation couldn’t be completed. Unable to log in with account ‘[email protected]’. The login details for account ‘[email protected]’ were rejected. (in target ‘SwiftPromptAlertWhenClickButtonExample’)

No profiles for ‘com.dev2qa.SwiftPromptAlertWhenClickButtonExample’ were found: Xcode couldn’t find any iOS App Development provisioning profiles matching ‘com.dev2qa.SwiftPromptAlertWhenClickButtonExample’. (in target ‘SwiftPromptAlertWhenClickButtonExample’)

1. How To Fix Above Error.

To fix this error is very easy, you just need to sign in with your own correct apple account, because the old Xcode project may use other apple developer account. Please follow below steps to fix it.

  1. Click Xcode —> Preferences… menu item.
    xcode preferences menu item
  2. Then click Accounts tab in the popup dialog window. If there are any apple developer account which you do not known, just select it and click the minus icon ( - ) at the bottom of left accounts list panel to remove it. Then click the plus icon ( + ) to add a new Apple ID.
    xcode preferences ---> account
  3. Select Apple ID in the next popup dialog window, click Continue button.
    add apple id in xcode preferences account tab
  4. Input your own apple account id and password in the next popup dialog, then click Next button.
  5. When you signing in correctly with your apple id, click Download Manual Profiles button to download the account profile.
    click download manual profiles button in xcode preferences account dialog new
  6. Now when you go to your Xcode project —> target —> General tab —> Signing area, the error message will disappear.
READ :   What Is The Difference Between iOS UIView Frame And Bounds

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.