Skip to main content
All CollectionsKnowledge BaseiOS
Can't install private SwiftPM dependency
Can't install private SwiftPM dependency
Updated over 4 months ago

Issue:

Xcode is unable to fetch your private Swift Package Manager dependencies and because of that, the Xcode Test or the Xcode Archive Step fails.

Possible solutions:

By default, Xcode isn't using the system source control manager settings. To make it do so:

  1. Open the relevant Step in the Workflow Editor.

  2. Find and open the Debug input group.

  3. In the Additional options for xcodebuild call input, pass the following flag:

    -scmProvider system

Additional information:

Did this answer your question?