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

Ability to create projects from scratch #87

Open
jimon opened this issue Feb 29, 2016 · 4 comments
Open

Ability to create projects from scratch #87

jimon opened this issue Feb 29, 2016 · 4 comments

Comments

@jimon
Copy link

jimon commented Feb 29, 2016

I know that this project mainly meant to be used in read-modify-write fashion. Is there anything in particular stopping us from actually creating projects from scratch?

When I'm just trying to create XcodeProject instance directly by doing prj = XcodeProject() I get crash on for k, v in self.objects.iteritems(): here with objects being NoneType. It's probably just a minor thing :) Should I expect anything major?

PS. This sort of feature is useful for project generators in build systems :)

@kronenthaler
Copy link
Owner

True, this project started as something to modify Unity's generated projects. I never really thought of about creating new projects from scratch. What i have seen before is the use of a seed project. A very simple project that has some placeholders here and there that are replaced by a tool to generate your initial project. Maybe that is the alternative that can work for you at the moment.

I will mark this ticket as an enhancement, and will pick it up in the future.

@garvankeeley
Copy link
Contributor

I have used the seed project method successfully, the only placeholder I had was an empty target, with all settings defined in xcconfig files, so the pbxproj file ends up quite small and minimal. All files and additional build steps populated using mod-pbxproj.

@DarioAhdoot
Copy link

Would love to see this too. We've hand rolled our own Xcode project writing system in our build system (starting many years ago), but would love to switch to this library. Only thing preventing us is that is the lack of this feature, which admittedly seems like a big feature to implement

@paulocoutinhox
Copy link

Hi,

Anyone have a demo about how to make it from scratch?

Thanks.

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

5 participants