You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix: authenticate token-based dependency pulls via netrc
Embedding the token in git insteadOf URLs makes Xcode's Swift Package
Manager hang forever during dependency resolution on macOS runners:
SPM asks the keychain for HTTPS credentials (even for public packages)
and the headless keychain prompt can never be answered, see
actions/runner-images#6233
A ~/.netrc file is the documented way to authenticate both git HTTPS
clones (pub get) and xcodebuild/SPM on CI without touching the
keychain. The remaining insteadOf rewrites only map ssh-style URLs to
HTTPS and contain no credentials.
0 commit comments