xcode 什么是 xcscheme 文件?它的目的是什么?
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/16638322/
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
What is xcscheme file? What is it purpose?
提问by Sandeep
I am a newbie learning the iOS.
我是学习iOS的新手。
Can someone please explain what is the purpose of the xcscheme file?
有人可以解释一下 xcscheme 文件的用途是什么吗?
回答by Michael Dautermann
In terms of version control, you don't have to worry about xcscheme (or anything within and under the xcuserdata folders of an .xcodeproj).
在版本控制方面,您不必担心 xcscheme(或 .xcodeproj 的 xcuserdata 文件夹内和下的任何内容)。
What's inside the xcscheme file? These are the actions and configurations that happen when you build, run, test, profile, etc. These can be changed from Xcode user to user, which makes it friendly for using on multi-developer projects.
xcscheme 文件里面有什么?这些是在构建、运行、测试、配置文件等时发生的操作和配置。这些可以从 Xcode 用户更改为用户,这使得在多开发人员项目中使用起来很友好。
These are the same items you see within Xcode when you click on the "Edit Scheme" popup menu choice:
当您单击“编辑方案”弹出菜单选项时,这些是您在 Xcode 中看到的相同项目: