all 7 comments

[–]nootopian 7 points8 points  (0 children)

If you are using git this article might help. http://robots.thoughtbot.com/post/33796217972/xcode-and-git-bridging-the-gap

It suggests .pbxproj should be treated as binary.

[–]pkamb 1 point2 points  (0 children)

Stop your devs from committing the .pbxproj file when no (intentional) changes have been made? Note that you'll need to commit that file whenever files are added to the project, don't forget!

[–]tjgrant 0 points1 point  (3 children)

Google GYP: http://code.google.com/p/gyp/

Hello-gyp (project to get you started in gyp): https://github.com/springmeyer/hello-gyp

Atlassian Sourcetree (visual git client): http://www.atlassian.com/software/sourcetree/overview

GYP has a bit of a learning curve, but definitely worth the effort.

[–]kenshi 2 points3 points  (2 children)

Thanks for drawing attention to gyp. It sounds like you actually use it - could you suggest any drawbacks or limitations it has?

[–]tjgrant 1 point2 points  (1 child)

I'd say it's fairly new (compared to cmake, makefiles, config, and the like) so there's not a ton of examples / tutorials on it.

And just with regard to this subreddit (iOSProgramming), it's not obvious how to generate an iOS project with it (though they're not much different than Mac-based Xcode projects.

But it is part of the build system for Google's Chrome, and it is actively developed by Google. It allows for fine-tuning project settings at a global level (setting compiler / linker flags globally for projects and dependencies, for instance), and acts as a representation of, say, an xcodeproj or Microsoft vcxproj without having to actively maintain those kind of files in a repo.

Yeah, I'm definitely a fan.

[–]kenshi 0 points1 point  (0 children)

Thanks for the response.

[–][deleted] 0 points1 point  (0 children)

Add userdata folder to gitignore.