-
Notifications
You must be signed in to change notification settings - Fork 205
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Carthage installation failed with --use-submodules #190
Comments
Hi rehsals, I've just released APIKit 2.0.5 to fix the reference to OHHTTPStubs. Please run
The error message says git cannot checkout to 3c3be9d5f9735a034e5e9434e03f6db764e9125e. I guess that APIKit 2.0.4 has reference to the commit but it no longer exists on the repository. I confirmed github "ishkawa/APIKit" $ carthage update --platform iOS --use-submodules --no-use-binaries
*** Fetching APIKit
*** Fetching Result
*** Checking out Result at "2.1.2"
*** Checking out APIKit at "2.0.5"
*** xcodebuild output can be found in /var/folders/r_/k80kcyd57511kcs0fq1t12500000gn/T/carthage-xcodebuild.3efuvu.log
*** Building scheme "Result-iOS" in Result.xcodeproj
*** Building scheme "APIKit" in APIKit.xcworkspace |
Hi ishkawa. Thank you for swift response. Indeed, with 2.0.5 it works just fine. Offtop: watched your talk on try! Swift and can't resist trying your APIKit. |
😎 |
I am trying to install APIKit with carthage
And as the result of running
carthage update --platform iOS --use-submodules --no-use-binaries
I get error
A shell task (/usr/bin/env git submodule --quiet update --init --recursive) failed with exit code 1: fatal: reference is not a tree: 3c3be9d5f9735a034e5e9434e03f6db764e9125e Unable to checkout '3c3be9d5f9735a034e5e9434e03f6db764e9125e' in submodule path 'Carthage/Checkouts/OHHTTPStubs'
I use submodules as I am building a framework and want to be able to use it outside carthage. (I am following this guide: https://robots.thoughtbot.com/creating-your-first-ios-framework)
The text was updated successfully, but these errors were encountered: