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
The Xcode xcshareddata directory?
提问by Joshcodes
My project now has a project.xcworkspace/xcshareddata
directory.
我的项目现在有一个project.xcworkspace/xcshareddata
目录。
What does Xcode store in the project.xcworkspace/xcshareddata
directory?
Xcode 在project.xcworkspace/xcshareddata
目录中存储了什么?
回答by Joshcodes
The xcshareddata
directory is primarily used to store shared settings (as opposed to xcuserdata
which 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 文件来了解构成工作区的所有组件是什么以及从哪里获取它们。