No "Create Pull Request" option in XCode 13.1

Having heard about the possibility to create and comment pull requests, I was about to try this feature:

  • I have successfully added by GitHub account in Preferences.
  • I can see my repository, branches.
  • I can create branches and view changes.
  • e.t.c

However, nothing related to pull requests is available:

  • XCode does not detect pull requests
  • I have no "Create Pull Request" button in XCode.

I am using XCode 13.1.

Is there anything I have to set or enable for this feature to be available?

Thanks for any help in advance.

Replies

For a project with a remote repository...

From the Xcode menu:
Source Control > Create Pull Request...

Xcode 13.1 (13A1030d)

  • Well, this (Source Control > Create Pull Request...) is what's not available for me. (Also, the "Create Pull Request" button in the branches drop-down is missing.)

    And I can confirm that my XCode version is "13.1 (13A1030d)".

Add a Comment

Interesting, and strange.

I'm not sure what you mean by "Create Pull Request button in the branches drop-down"... I don't see that button anywhere.
Where are you expecting it to be?

For an Xcode project with a local repository and a remote repository, I see:

  • Source Control > Create Pull Request...
  • I have full access to the remote repository, could that be important?

For an Xcode project with a local repository, but no remote repository, I have no option:

  • Source Control > Create Pull Request...
  • (It isn't greyed-out, it doesn't appear at all)
  • By "Create Pull Request button in the branches drop-down" I mean the drop-down beside the "Start the active scheme" button at the top of the XCode window.

    My project has both a local and a remote repository. Actually I have tried with more projects and I do not have the "Source Control > Create Pull Request..." menu item.

    I also have full access to the repository since it is my repo.

Add a Comment