在 Xcode 9.3 中创建的新文件 <wsname>.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist 应该提交吗?

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/49564513/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-15 10:35:38  来源:igfitidea点击:

New file created in Xcode 9.3, <wsname>.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist should it be committed?

iosxcodegit

提问by Jaime S

I downloaded the newly released Xcode 9.3, I recompiled my workspace and I noticed it produced a new file:

我下载了新发布的 Xcode 9.3,重新编译了我的工作区,我注意到它生成了一个新文件:

<mywsname>.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist

<mywsname>.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist

whose contents are:

其内容是:

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
    <dict>
        <key>IDEDidComputeMac32BitWarning</key>
        <true/>
    </dict>
</plist>

I wonder if this file should be git ignored or committed. I was not able to find any documentation about it.

我想知道这个文件是否应该被 git 忽略或提交。我找不到任何关于它的文档。

回答by BlueSolrac

From 9.3 release notes, it sounds like you'd want to commit.

从 9.3 发行说明来看,听起来您想要提交。

Xcode 9.3 adds a new IDEWorkspaceChecks.plist file to a workspace's shared data, to store the state of necessary workspace checks. Committing this file to source control will prevent unnecessary rerunning of those checks for each user opening the workspace.

Xcode 9.3 向工作区的共享数据添加了一个新的 IDEWorkspaceChecks.plist 文件,以存储必要的工作区检查的状态。将此文件提交到源代码管理将防止为每个打开工作区的用户不必要地重新运行这些检查。

Source

来源