carthage version
: 0.15.2xcodebuild -version
: 7D175--no-build
? n / A--no-use-binaries
? n / A--use-submodules
? n / ACartfile
github "ashleymills/Reachability.swift"
github "krzyzanowskim/CryptoSwift"
github "daltoniam/Starscream"
Karthago Ausgabe
*** Cloning CryptoSwift
*** Cloning Reachability.swift
*** Cloning Starscream
*** Skipped downloading CryptoSwift.framework binary due to the error:
"GitHub API request failed: Maximum number of login attempts exceeded. Please try again later."
*** Checking out CryptoSwift at "0.3.1"
*** Skipped downloading Starscream.framework binary due to the error:
"GitHub API request failed: Maximum number of login attempts exceeded. Please try again later."
*** Checking out Starscream at "1.1.3"
*** Skipped downloading Reachability.swift.framework binary due to the error:
"GitHub API request failed: Maximum number of login attempts exceeded. Please try again later."
*** Checking out Reachability.swift at "v2.3.3"
*** xcodebuild output can be found in /var/folders/my/m6ynh3bn6tq06h7xr3js0z7r0000gn/T/carthage-xcodebuild.ACofmP.log
*** Building scheme "CryptoSwift watchOS" in CryptoSwift.xcodeproj
** BUILD FAILED **
The following build commands failed:
CompileSwift normal armv7k /Users/travis/build/pusher/pusher-websocket-swift/Carthage/Checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CipherBlockMode.swift
CompileSwiftSources normal armv7k com.apple.xcode.tools.swift.compiler
(2 failures)
A shell task failed with exit code 65:
** BUILD FAILED **
The following build commands failed:
CompileSwift normal armv7k /Users/travis/build/pusher/pusher-websocket-swift/Carthage/Checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CipherBlockMode.swift
CompileSwiftSources normal armv7k com.apple.xcode.tools.swift.compiler
(2 failures)
The command "carthage bootstrap" failed and exited with 1 during .
Ich bin mir nicht wirklich sicher, warum dies begonnen hat, aber das Ausführen von carthage bootstrap
verursacht jetzt Fehler mit der Angabe "GitHub API request failed: Maximum number of login attempts exceeded. Please try again later."
. Dies scheint nur auf TravisCI zu passieren, siehe einen der fehlgeschlagenen Builds hier: https://travis-ci.org/pusher/pusher-websocket-swift/jobs/120027278
Ich bin mir nicht sicher. Carthage erreicht keinen Login-Endpunkt. Es verwendet nur die Anmeldeinformationen von git, falls verfügbar, und versucht, Releases herunterzuladen. :verwirrt:
Ich denke, das liegt an der Geschwindigkeitsbegrenzung, auch wenn die Fehlermeldung etwas anderes vermuten lässt. Wenn Sie eine GITHUB_ACCESS_TOKEN
Umgebungsvariable festlegen (ich würde eine sichere verwenden), funktioniert es?
Das Hinzufügen einer GITHUB_ACCESS_TOKEN
env-Variable scheint die Arbeit erledigt zu haben. Siehe hier: https://travis-ci.org/pusher/pusher-websocket-swift/jobs/120574100
Vielen Dank!
Hilfreichster Kommentar
Das Hinzufügen einer
GITHUB_ACCESS_TOKEN
env-Variable scheint die Arbeit erledigt zu haben. Siehe hier: https://travis-ci.org/pusher/pusher-websocket-swift/jobs/120574100Vielen Dank!