Xcode xcshareddata 目录?

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/19321364/
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 04:04:57  来源:igfitidea点击:

The Xcode xcshareddata directory?

xcodexcode4.5

提问by Joshcodes

My project now has a project.xcworkspace/xcshareddatadirectory.

我的项目现在有一个project.xcworkspace/xcshareddata目录。

What does Xcode store in the project.xcworkspace/xcshareddatadirectory?

Xcode 在project.xcworkspace/xcshareddata目录中存储了什么?

回答by Joshcodes

The xcshareddatadirectory is primarily used to store shared settings (as opposed to xcuserdatawhich is used for settings which are not shared a.k.a. user specific). The following are some items currently stored in 'xcshareddata`:

xcshareddata目录主要用于存储共享设置(而不是xcuserdata用于非共享即用户特定的设置)。以下是当前存储在“xcshareddata”中的一些项目:

  • Schemes: schemes can be shared in Xcode with the "Scheme manager" which can be accessed via the "Product" > "Scheme" > "Manage Schemes" menu items. Schemes have a "share" option.
  • Breakpoints:
    1.) In the breakpoint navigator, Control-click the breakpoint.
    2.) From the shortcut menu, choose Share Breakpoint.
  • xccheckout: A file that contains metadata about what repositories are used in a workspace. In the case of workspaces that have multiple projects from different repositories Xcode uses an .xccheckout file to know what all of the components that make up a workspace are and where to get them.
  • 方案:方案可以在 Xcode 中与“方案管理器”共享,可以通过“产品”>“方案”>“管理方案”菜单项访问。计划有一个“共享”选项。
  • 断点:
    1.) 在断点导航器中,按住 Control 键并单击断点。
    2.) 从快捷菜单中,选择共享断点。
  • xccheckout:包含有关工作区中使用的存储库的元数据的文件。对于具有来自不同存储库的多个项目的工作区,Xcode 使用 .xccheckout 文件来了解构成工作区的所有组件是什么以及从哪里获取它们。