问题描述
Apple在Xcode 5中引入了一个新的与项目相关的文件类型:xccheckout。
该文件位于.xcodeproj / project.xcworkspace / xcshareddata /目录,它似乎与项目的版本控制系统有关。
示例文件位于:
我想这种类型的文件应该被忽略根据VCS,但我不确定。
所以,这里有一些问题:
-
- 它的用途是什么?
您应检入Xcode 5 .xccheckout
文件;一般情况下,应该提交 xcshareddata
中的文件。
$ b $
.xccheckout
文件包含有关在工作区中使用哪些存储库的元数据。对于单个存储库中的单个项目,没有多大区别。但是,如果您使用的工作空间包含来自不同存储库的多个项目,则工作空间中存在 .xccheckout
文件允许Xcode知道所有组件建立一个工作区,并在哪里获得它们。 Apple has introduced a new project-related type of file in Xcode 5: "xccheckout".
This file is located in the ".xcodeproj/project.xcworkspace/xcshareddata/" directory, and it seems that it is related to the project's version control system.
An example file is here: http://pastebin.com/5EP63iRa
I suppose that this type of file should be ignored under VCS, but I'm not sure.
So here are the questions:
- Should "xccheckout" be ignored?
- What is its purpose?
You should check in an Xcode 5 .xccheckout
file; in general, files in xcshareddata
should be committed.
An .xccheckout
file contains metadata about what repositories are used in a workspace. For a single project in a single repository that doesn't make much difference. But if you're using a workspace that has multiple projects from different repositories, the presence of an .xccheckout
file in the workspace allows Xcode to know what all of the components that make up a workspace are and where to get them.
这篇关于VCS下的Xcode5中的* .xccheckout文件应该被忽略吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!