Create a new GitHub Remote Repository - Unknown Error

When I try to create a new remote GitHub repository I get dialog saying "An unknown error occurred"

I have existing projects with a remote repository on GitHub and I can push to those ok.

Any suggestions of a workaround or how to get further diagnostics will be most welcome.

Thank you for the post. It appears that the issue is related to GitHub rather than Xcode. However, the error message could be more descriptive.

Experiencing issues when trying to create a new remote GitHub repository from Xcode can be frustrating, especially when other functionalities are working fine. Can you go to the GitHub website and create the repository manually on their website?

Ensure that your GitHub account has the appropriate permissions to create new repositories. You might want to try logging into GitHub via a web browser to verify your account status or as previously wrote, try to create the repo on their website and then just reference the link on Xcode.

  • Manually Create on GitHub Website:
    • Create the new repository directly through the GitHub website.
    • Afterward, in Xcode, add this remote repository by going to or using the Terminal commands shown in advanced diagnostics to push your existing local project to the newly created remote.

Hope this helps.

Albert Pascual
  Worldwide Developer Relations.

Create a new GitHub Remote Repository - Unknown Error
 
 
Q