Skip to content
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 fails for usage via Checkouts #782

Closed
Jeehut opened this issue Feb 17, 2017 · 3 comments · Fixed by #783
Closed

Carthage Installation fails for usage via Checkouts #782

Jeehut opened this issue Feb 17, 2017 · 3 comments · Fixed by #783

Comments

@Jeehut
Copy link
Contributor

Jeehut commented Feb 17, 2017

I'm using the most current release (1.8.3) and include the iCarousel files manually into my project from within the Carthage Checkout folder. But when checking out Carthage doesn't simply skip iCarousel when building, because there are several .xcproject files with shared schemes. And one of them (or more?) fails with this:

xcodebuild timed out while trying to read iCarouselChameleonDemo.xcodeproj 😭
@Jeehut Jeehut changed the title Carthage Installation fails Carthage Installation fails for usage via Checkouts Feb 17, 2017
@Jeehut
Copy link
Contributor Author

Jeehut commented Feb 17, 2017

I made an attempt to fix this, see #783.
I've also included instructions to use my fork there until my PR is merged.

@Jeehut
Copy link
Contributor Author

Jeehut commented Feb 17, 2017

@nicklockwood Thanks for merging my PR so quickly, but it seems I posted it a little too early. According to the Carthage README running carthage build --no-skip-current within the framework directory is sufficient to test if building works correctly. That's what I tested (and that is working) before sending over my PR, but when I actually include the current master branch to a project via github "nicklockwood/iCarousel" "master" and try to build, I still get the above mentioned error.

It seems something is really wrong with the iCarouselChameleonDemo.xcodeproj when using the Xcode command line tools. So my new approach is to remove all example projects from this library (they can be placed into their own repo for example) and use it like that. If it works, I'll report. I'm not sure if you're OK with such a change, but if you're not we could also keep that version in its own branch (e.g. named "carthage") and add a hint to the README for all Carthage users.

@Jeehut
Copy link
Contributor Author

Jeehut commented Feb 17, 2017

I can confirm that it is indeed working when the example projects are excluded from the repo:

Placing this into my Cartfile:

github "Dschee/iCarousel" "without-examples"

Then running carthage update iCarousel builds correctly.

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

Successfully merging a pull request may close this issue.

1 participant