在VCS下是否应该忽略Xcode5中的*.xccheckout文件? [英] Should *.xccheckout files in Xcode5 be ignored under VCS?

查看:29
本文介绍了在VCS下是否应该忽略Xcode5中的*.xccheckout文件?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Apple 在 Xcode 5 中引入了一种新的与项目相关的文件类型:xccheckout".

Apple has introduced a new project-related type of file in Xcode 5: "xccheckout".

该文件位于.xcodeproj/project.xcworkspace/xcshareddata/"目录下,似乎与项目的版本控制系统有关.

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.

示例文件在这里:http://pastebin.com/5EP63iRa

我想这种类型的文件在 VCS 下应该被忽略,但我不确定.

I suppose that this type of file should be ignored under VCS, but I'm not sure.

所以这里是问题:

  1. 应该忽略xccheckout"吗?
  2. 它的目的是什么?

推荐答案

应该签入一个 Xcode 5 .xccheckout 文件;通常,xcshareddata 中的文件应该被提交.

You should check in an Xcode 5 .xccheckout file; in general, files in xcshareddata should be committed.

.xccheckout 文件包含有关工作区中使用的存储库的元数据.对于单个存储库中的单个项目,没有太大区别.但是,如果您使用的工作区具有来自不同存储库的多个项目,则工作区中 .xccheckout 文件的存在允许 Xcode 知道构成工作区的所有组件是什么以及在哪里得到他们.

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文件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆