Skip to content

Commit

Permalink
Mention "-scmProvider system" for XCode builds/Swift Package Manager
Browse files Browse the repository at this point in the history
Co-authored-by: rr-james-hickman <[email protected]>
  • Loading branch information
mpdude and rr-james-hickman committed May 27, 2021
1 parent 98f76b1 commit 8569bed
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,10 @@ env:
CARGO_NET_GIT_FETCH_WITH_CLI: true
```

### Using Deploy Keys with Swift Package Manager

`xcodebuild` by default uses Xcode's built-it Git tooling. If you want to use GitHub Deploy Keys as supported by this action, however, that version of Git will lack the necessary URL remapping. In this case, pass `-scmProvider system` to the `xcodebuild` command, as mentioned in [Apple's documentation](https://developer.apple.com/documentation/swift_packages/building_swift_packages_or_apps_that_use_them_in_continuous_integration_workflows#3680255).

This comment has been minimized.

Copy link
@rr-james-hickman

rr-james-hickman Jun 3, 2021

Author Contributor

@mpdude Minor typo: built-it -> built-in


## What this Action *cannot* do for you

The following items are not issues, but beyond what this Action is supposed to do.
Expand Down

0 comments on commit 8569bed

Please sign in to comment.