I noticed that Xcode 7 creates a new .xcscmblueprint
file in the xcshareddata
folder. Will it be always auto generated? Should this file be added to the ignore list of the repository, or should it be checked in into repository?
Xcode 6 has the .xccheckout
file, I've always gitignore'd that file.
I'm gitignoring them, for exactly the same reason as .xccheckout.
GitHub's maintained .gitignore added that too, for both Objective-C and Swift. https://github.com/github/gitignore
I think it depends. Just like @Ewan Mellor said the reason for ignore .xcscmblueprint
is same with it for .xccheckout
.
But whether ignore .xccheckout
depends on your project . If you are using single project there is no need. If you are using workspace committing xccheckout file is need. For more the answer @Chris Hanson published is feed your need.
Back to the question. The content of the xcscmblueprint
contains the main information about your project.
And I'm not sure it will change in the future. As the same reason for xccheckout
I would like to commit this file.
The files seems to contain information pertaining to your source code repository. I think the "SCM" part of the filename stands for "Source Code Management". When looking at the one in my project, it indeed contains information about the GitHub repository that my XCode projects it (and also the git submodules that my repository uses, that's neat!). Of course, it also contains hashes so one could wonder if they are stable across developer, but I'd bet they are.
For that reason, I back up the advice given in many comments. You DO want to version this file.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With