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

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

问题描述

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

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



示例文件位于: http://pastebin.com/5EP63iRa



我想这种类型的文件应该被忽略根据VCS,但我不确定。



所以,这里有一些问题:



  1. 它的用途是什么?


解决方案

检入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:

  1. Should "xccheckout" be ignored?
  2. 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文件应该被忽略吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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