Comments (3)
Might be that some piece of software installed a 'git credential helper'.
Could you run git config --show-origin --list
and strings "$(which git)" | grep com.apple.dt.xcode_select.tool-shim | wc -c
and post here with any relevant lines?
(Thanks for the screen recording demo, it was helpful (well, we'll see how this goes) 😄☀️)
from carthage.
Sure. Thanks for answering.
git config --show-origin --list
file:/Applications/Xcode.app/Contents/Developer/usr/share/git-core/gitconfig credential.helper=osxkeychain
file:/Applications/Xcode.app/Contents/Developer/usr/share/git-core/gitconfig init.defaultbranch=main
file:/Users/XXXXXXXXX/.gitconfig credential.helper=
file:/Users/XXXXXXXXX/.gitconfig credential.helper=/usr/local/share/gcm-core/git-credential-manager
file:/Users/XXXXXXXXX/.gitconfig credential.https://dev.azure.com.usehttppath=true
file:/Users/XXXXXXXXX/.gitconfig user.email=[email protected]
file:/Users/XXXXXXXXX/.gitconfig user.name=XXXXXXXXX
file:/Users/XXXXXXXXX/.gitconfig core.excludesfile=/Users/XXXXXXXXX/.gitignore_global
file:/Users/XXXXXXXXX/.gitconfig difftool.sourcetree.cmd=opendiff "$LOCAL" "$REMOTE"
file:/Users/XXXXXXXXX/.gitconfig difftool.sourcetree.path=
file:/Users/XXXXXXXXX/.gitconfig mergetool.sourcetree.cmd=/Applications/Sourcetree.app/Contents/Resources/opendiff-w.sh "$LOCAL" "$REMOTE" -ancestor "$BASE" -merge "$MERGED"
file:/Users/XXXXXXXXX/.gitconfig mergetool.sourcetree.trustexitcode=true
strings "$(which git)" | grep com.apple.dt.xcode_select.tool-shim | wc -c
53
from carthage.
From file:/Users/XXXXXXXXX/.gitconfig credential.helper=/usr/local/share/gcm-core/git-credential-manager
– I found git-ecosystem/git-credential-manager#336 which (from the video, thanks!) seems to match what’s seen. ☀️
git-credential-manager
seems to exist (this is my read) to enforce multi-factor authentication.
You can view this as dissimilar to using Carthage with --use-ssh
. ⋯⋯⋯ Carthage with --use-ssh
(or git using ssh to credential for a repo) is a solution that is 'somewhat' single factor (but many people view it as good enough for their security purposes.)
So, solutions that enforce multi-factor authentication often have an ‘upfront cost’ — where, if no prior checkout/credentialing of that repo happened before, then →→→ first time: user takes action • second time: no action required as the token needed is pulled from secure storage.
We’ll assume that (1) the secure storage is able to be accessed correctly on your machine and (2) the repo host servers are not constantly invalidating the tokens.
✨ If (1) and (2) are true, then one would experience an 'upfront wave' of those windows popping up and requiring action…
✨ …but there's no technical reason (seemingly) why ’getting through the upfront wave’ is unviable.
@alu0100207385 — was it a situation for you where it ‘seemed’ the ‘upfront wave’ would never end? Or are we in a much buggier situation where the ‘upfront wave’ truly never ends?
⋯⋯⋯ Perhaps a good debugging step is looking repeatedly at a ps -axww | grep git-credential-manager
each time the window opens and seeing if particular URLs ‘enter the wave’ more than once?
⋯⋯⋯ Also, worth checking for any of these environment variables that would make (1) and (2) not hold true.
Alternatively, some view the multi-step authentication as not necessary, and ssh keys and Carthage’s --use-ssh
is fine — but one’s workplace may mandate differently (so I can’t really advise.) ⋯⋯⋯ I will note that Carthage’s --use-ssh
isn’t often the path taken for CI services, but that's a different story.
from carthage.
Related Issues (20)
- Archive fails with multiple platform xcframeworks in Xcode 14
- carthage/carthage
- xcode14.2 carthage update failed
- xcode14.3 carthage update failed
- xcode 14.2 carthage update fail HOT 1
- Module compiled with Swift 5.5.1 cannot be imported by the Swift 5.8.1 compiler
- Carthage checking out incorrect versions
- [Workaround Listed] 'Could not find any available simulators for visionOS', even after having Xcode UI remove visionOS Platform/SDK.
- An unknown server-side error occurred while processing the command. Original error: Unable to launch WebDriverAgent because of xcodebuild failure: Command 'carthage bootstrap --platform iOS' exited with code 1
- Xcode 15: make can't install carthage, -static-stdlib not supported HOT 3
- "Building universal frameworks with common architectures is not possible."
- Carthage doesn't catch frameworks built with a newer swift version. HOT 1
- Does Carthage support having different versions of the same library together?
- Builds a dependency twice when it contains a SPM target with the same name
- https://SoundCloud.com/manu_s0
- Sc
- Carthage Build Failure: Task failed with exit code 70 HOT 1
- Carthage
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from carthage.