Carthage: v0.16: GitHub API request failed

Created on 11 Apr 2016  路  11Comments  路  Source: Carthage/Carthage

  • carthage version: 0.16
  • xcodebuild -version: Xcode 7.3 Build version 7D175
  • Are you using --no-build? No
  • Are you using --no-use-binaries? No
  • Are you using --use-submodules? No

Cartfile

github "tristanhimmelman/AlamofireObjectMapper" == 3.0.0
github "PureLayout/PureLayout" == 3.0.1
github "stripe/stripe-ios" == 6.2.0
github "algolia/algoliasearch-client-swift" == 2.3
github "ashleymills/Reachability.swift" == 2.3.3
github "realm/realm-cocoa" == 0.98.6

Carthage Output

$ carthage update --platform iOS
*** Fetching realm-cocoa
*** Fetching Reachability.swift
*** Fetching algoliasearch-client-swift
*** Fetching stripe-ios
*** Fetching PureLayout
*** Fetching AlamofireObjectMapper
*** Fetching ObjectMapper
*** Fetching Alamofire
*** Checking out Alamofire at "3.3.1"
*** Downloading realm-cocoa.framework binary at "v0.98.6"
*** Downloading stripe-ios.framework binary at "Version 6.2.0"
*** Checking out stripe-ios at "v6.2.0"
*** Checking out Reachability.swift at "v2.3.3"
*** Checking out PureLayout at "v3.0.1"
*** Checking out ObjectMapper at "1.2.0"
*** Checking out AlamofireObjectMapper at "3.0.0"
GitHub API request failed: DoesNotExist

Following the output with version 0.15.2:

$ carthage update --platform iOS
*** Fetching realm-cocoa
*** Fetching Reachability.swift
*** Fetching algoliasearch-client-swift
*** Fetching stripe-ios
*** Fetching PureLayout
*** Fetching AlamofireObjectMapper
*** Fetching ObjectMapper
*** Fetching Alamofire
*** Checking out Alamofire at "3.3.1"
*** Downloading realm-cocoa.framework binary at "v0.98.6"
*** Downloading stripe-ios.framework binary at "Version 6.2.0"
*** Checking out stripe-ios at "v6.2.0"
*** Checking out ObjectMapper at "1.2.0"
*** Checking out algoliasearch-client-swift at "2.3"
*** Checking out PureLayout at "v3.0.1"
*** Checking out Reachability.swift at "v2.3.3"
*** Checking out AlamofireObjectMapper at "3.0.0"
*** xcodebuild output can be found in /var/folders/rw/gbr9wvs91cz91mcpgdxv4q340000gn/T/carthage-xcodebuild.MrFmiO.log
*** Building scheme "Alamofire iOS" in Alamofire.xcworkspace
*** Building scheme "AlgoliaSearch iOS" in AlgoliaSearch.xcodeproj
*** Building scheme "ObjectMapper-iOS" in ObjectMapper.xcworkspace
*** Building scheme "AlamofireObjectMapper iOS" in AlamofireObjectMapper.xcworkspace
*** Building scheme "PureLayout_iOS" in PureLayout.xcodeproj
*** Building scheme "Reachability" in Reachability.xcodeproj
*** Building scheme "StripeiOS" in Stripe.xcworkspace
bug

Most helpful comment

I searched the error message in the code and found out that the only place the error will occur is in the method downloadMatchingBinariesForProject.

So I think this can be temporarily workaround by adding --no-use-binaries, eg:

$ carthage update --no-use-binaries

Or you can use an earlier version of carthage.

All 11 comments

I searched the error message in the code and found out that the only place the error will occur is in the method downloadMatchingBinariesForProject.

So I think this can be temporarily workaround by adding --no-use-binaries, eg:

$ carthage update --no-use-binaries

Or you can use an earlier version of carthage.

@eyeplum

So I think this can be temporarily workaround by adding --no-use-binaries, eg:

I can not use --no-use-binaries because some components like realm and stripe just provide binaries.

Or you can use an earlier version of carthage.

That's what I've done. I downgrade to version 0.15.2

@TofPlay
Oh I see :(

@eyeplum my bad. With the option --no-use-binaries it works. But the build of Realm and Stripe take some time! 馃槹 I guest when they download it's for a binary of a prebuilt of the frameworks.

Thank you for --no-use-binaries

+1

+1 - also hitting this with realm and a fresh install, but only one machine, not another ... weird

Edit: the other machine was running an older version of Carthage...

+1

+1 comments aren't helpful.

happening on vesion 0.25 all week for my company.

Make sure you can git clone a private repository over HTTPS鈥擟arthage uses that authentication token to access the GitHub API.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

faustperic picture faustperic  路  3Comments

yonaskolb picture yonaskolb  路  3Comments

billypchan picture billypchan  路  3Comments

pmhood picture pmhood  路  3Comments

mdiep picture mdiep  路  3Comments