From 8569bedfe095bb3c5b3c636aab03add3ec45cf27 Mon Sep 17 00:00:00 2001 From: Matthias Pigulla Date: Thu, 27 May 2021 20:11:56 +0000 Subject: [PATCH] Mention "-scmProvider system" for XCode builds/Swift Package Manager Co-authored-by: rr-james-hickman --- README.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/README.md b/README.md index 452b122..ed299e1 100644 --- a/README.md +++ b/README.md @@ -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). + ## What this Action *cannot* do for you The following items are not issues, but beyond what this Action is supposed to do.