Skip to content

Commit 8569bed

Browse files
Mention "-scmProvider system" for XCode builds/Swift Package Manager
Co-authored-by: rr-james-hickman <[email protected]>
1 parent 98f76b1 commit 8569bed

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

README.md

+4
Original file line numberDiff line numberDiff line change
@@ -126,6 +126,10 @@ env:
126126
CARGO_NET_GIT_FETCH_WITH_CLI: true
127127
```
128128

129+
### Using Deploy Keys with Swift Package Manager
130+
131+
`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).
132+
129133
## What this Action *cannot* do for you
130134

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

0 commit comments

Comments
 (0)