Skip to content
This repository has been archived by the owner on Mar 3, 2020. It is now read-only.

Unable to install using Carthage #11

Closed
bre7 opened this issue May 8, 2016 · 3 comments
Closed

Unable to install using Carthage #11

bre7 opened this issue May 8, 2016 · 3 comments
Assignees
Labels
Milestone

Comments

@bre7
Copy link

bre7 commented May 8, 2016

Is Carthage compatibility working ? I keep getting the following error message:

A shell task (/usr/bin/env git checkout --quiet 6e7d0b36f73d960cea81f4f207010dc584bffb3b) failed with exit code 128:
fatal: Cannot switch branch to a non-commit '6e7d0b36f73d960cea81f4f207010dc584bffb3b'

I've read similar issues (related to Carthage & submodules), but couldn't find a solution.

Related issues:

https://github.com/Carthage/Carthage/issues/936#issuecomment-159097500
https://github.com/Carthage/Carthage/issues/135

Steps:

  1. Create a file named Cartfile
  2. Add github "facebook/FBNotifications" to it
  3. Run carthage update
@nlutsenko
Copy link
Member

Yup, looks like our submodule is not properly set up.
We have tests for Carthage, but looks like those are not helpful, since they aren't testing remote installation flow.

Am going to submit a fix for this in a few moments and we'll ship it this week.
Thanks for reporting!

@bre7
Copy link
Author

bre7 commented May 10, 2016

Thanks for the quick response & fix 😉 Can't wait to get beta access.

@nlutsenko
Copy link
Member

Hey @bre7, I've just shipped ios-1.0.1 that includes this fix.
After a tad of testing with a Cartfile that contains github "facebook/FBNotifications" everything seems to work like a charm now.
Thank you again for reporting this! And let me know if you run into any other issues.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants