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

Support installation with Homebrew #15

Closed
pepicrft opened this issue Aug 1, 2017 · 7 comments
Closed

Support installation with Homebrew #15

pepicrft opened this issue Aug 1, 2017 · 7 comments
Assignees

Comments

@pepicrft
Copy link

pepicrft commented Aug 1, 2017

Installation can be simplified by using Homebrew. The purpose of this issue is to provide a Homebrew formula that tells Homebrew how to install XcodeGen

@pepicrft pepicrft self-assigned this Aug 1, 2017
@yonaskolb
Copy link
Owner

I would love that! I remember hearing you're not allowed to submit formula's for your own project, so if you could to it, that would be great!

@pepicrft
Copy link
Author

pepicrft commented Aug 1, 2017

You can add your own repository, called Tap where the definition is. I'm working on the formula but I'm facing some issues with the generated binaries, since it depends on other frameworks that have to be linked once moved to the system directory.

@pepicrft
Copy link
Author

pepicrft commented Aug 1, 2017

Forget about that, it's exactly what you do here :trollface: https://github.com/yonaskolb/XcodeGen/blob/master/Makefile

Where did you find documentation about that? I always wondered how that can be done.

@yonaskolb
Copy link
Owner

Yeah one of the guys from YAMS pointed me in the right direction
jpsim/Yams#39
I've been meaning to write a blog post about it, but I think it's supposed to be a solved problem when Swift 4 comes out

@pepicrft
Copy link
Author

pepicrft commented Aug 1, 2017

I see. I wonder why it only happens with that dependency and not with the other. I feel I'm missing something :/

@yonaskolb
Copy link
Owner

It's because Yams relies on a C module - libCYaml.dylib

@pepicrft
Copy link
Author

This has already been done:

brew tap yonaskolb/XcodeGen git@github.com:yonaskolb/XcodeGen.git
brew install xcodegen

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

No branches or pull requests

2 participants