将 Xcode 用于多个开发者 ID
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/3536418/
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
Using Xcode for multiple developer IDs
提问by Volatil3
I am quite new all this iPhone stuff. I have no such clear IDea yet about provisioning profile etc.
我对所有这些 iPhone 的东西都很陌生。我还没有关于配置文件等的明确 IDea。
I will be using my mac machine for two different developer IDs,one for my own and other for the startup where I am working in. Now,how can I use xCode to submit my apps in two different IDs?
我将把我的 mac 机器用于两个不同的开发人员 ID,一个用于我自己的,另一个用于我工作的初创公司。现在,我如何使用 xCode 以两个不同的 ID 提交我的应用程序?
thanks
谢谢
采纳答案by tc.
You can explicitly specify a signing identity (as long as they have different names) and a provisioning profile GUID.
您可以明确指定签名标识(只要它们具有不同的名称)和配置文件 GUID。
EDIT:CODE_SIGN_IDENTITY[sdk=iphoneos*] = iPhone Developer: John Doe (ABCDEF)
and PROVISIONING_PROFILE[sdk=iphoneos*] = provisioning-profile-guid
in the config (or on the command line). Or in the project settings, search for "sign" and use the nice GUI menu.
编辑:CODE_SIGN_IDENTITY[sdk=iphoneos*] = iPhone Developer: John Doe (ABCDEF)
并PROVISIONING_PROFILE[sdk=iphoneos*] = provisioning-profile-guid
在配置中(或在命令行上)。或者在项目设置中,搜索“sign”并使用漂亮的 GUI 菜单。
Alternatively, use a different user account for your work builds.
或者,为您的工作构建使用不同的用户帐户。
EDIT:System Preferences → Accounts and add a new user. It also helps if you enable fast user-switching under "Login Options".
编辑:系统偏好设置→帐户并添加一个新用户。如果您在“登录选项”下启用快速用户切换,它也会有所帮助。