xcode 代表客户端将iOS应用发布到App Store

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

Publish iOS app to App Store on behalf of client

iosxcodeapp-store-connectsubmission

提问by shahalpk

I have

我有

  • An apple id
  • The source code
  • A Distribution Certificate generated for my apple id using client's developer portal
  • A Provisioning profile for the newly created App ID and my distribution certificate
  • 一个苹果id
  • 源代码
  • 使用客户的开发者门户为我的 Apple id 生成的分发证书
  • 新创建的 App ID 和我的分发证书的配置文件

My client dont want to share his apple id credentials with me. I am able to archive the product in Xcode, but am not able to submit it to App Store.

我的客户不想与我分享他的 Apple ID 凭证。我可以在 Xcode 中存档产品,但无法将其提交到 App Store。

Can i directly submit it to the store with the above details i've got?

我可以直接把它和我得到的上述细节一起提交给商店吗?

Or Can i build IPA file and share it with client, so he can submit to App Store?

或者我可以构建 IPA 文件并与客户共享,以便他可以提交到 App Store?

Is there any other alternative ways we can submit the app to store (other than sharing his credentials)

是否还有其他替代方法可以将应用程序提交到商店(除了共享他的凭据)

Kindly explain the answer (with step by step guide if possible).

请解释答案(如果可能,请提供分步指南)。

Thanks

谢谢

回答by shahalpk

For those who needs to do the same on behalf of clients, here are the steps i've followed...

对于那些需要代表客户做同样事情的人,这里是我遵循的步骤......

What i had

我有什么

  1. An apple developer account (with no Developer Program Enrollment)
  1. 一个苹果开发者账户(没有开发者计划注册)

What client had

什么客户有

  1. An apple developer account (with Apple Developer Program Enrollment for Company)
  1. 一个苹果开发者账户(有 Apple Developer Program Enrollment for Company)

As far as app distribution is concerned, apple have 2 systems: Member Center (for Certificates, Profiles, App IDs etc) and ITunes Connect (for publishing your app to app store and further management of the app).

就应用分发而言,苹果有两个系统:会员中心(用于证书、配置文件、应用 ID 等)和 iTunes Connect(用于将您的应用发布到应用商店并进一步管理应用)。

I need access to both ITunes Connect & Member center for distributing on behalf of client.

我需要访问 iTunes Connect 和会员中心才能代表客户进行分发。

  1. In Member Center, client should give you Team Admin Role. [steps]
  2. In ITunes connect, client should give you Developer Role / Admin Role for the app. If Developer Role, given u can only upload the build, to submit app for review you'll need to ask the client. If Admin role, basically you can do almost everything upto Submitting the app for review. [steps]
  3. Now you can create certificates, profiles, app ids through Member Center (you can create certificates & profiles in Xcode also. But App IDS should be created through Member Center).
  4. Create App Record in ITunes Connect using the same bundle ID used for App ID creation.
  5. Upload your build through Xcode
  6. Submit for review through Itunes Connect
  1. 在会员中心,客户应该给你团队管理员角色。[步骤]
  2. 在 iTunes Connect 中,客户端应该为您提供应用程序的开发人员角色/管理员角色。如果开发人员角色,鉴于您只能上传构建,要提交应用程序以供审核,您需要询问客户。如果是管理员角色,基本上你可以做几乎所有事情,直到提交应用程序以供审核。[步骤]
  3. 现在您可以通过会员中心创建证书、配置文件、应用程序 ID(您也可以在 Xcode 中创建证书和配置文件。但应用程序 IDS 应通过会员中心创建)。
  4. 使用与创建 App ID 相同的包 ID 在 iTunes Connect 中创建 App Record。
  5. 通过 Xcode 上传您的构建
  6. 通过 iTunes Connect 提交审核

This is what i did for submitting the app. If you find any mistakes/better alternatives, pls comment below, so i'll update the answer.

这就是我为提交应用程序所做的。如果您发现任何错误/更好的替代方案,请在下面发表评论,以便我更新答案。

回答by Hyman Cox

You'll need to do the following:

您需要执行以下操作:

  1. Build the app using the distribution cert of the client
  2. Archive the app using XCode (it's in the same menu as the build options)
  3. When the archive is done it will open the Archive Organizer
  4. Select the newly created archive and export it. The first option in exporting is the 'Save for iOS App Store Deployment'.
  5. This will create a directory on your mac that contains the bits and pieces your client will need to upload it.
  6. Zip that directory and transfer to your client. They should be able to use the web-interface in iTunes connect to upload the app and complete the app submission process.
  1. 使用客户端的分发证书构建应用程序
  2. 使用 XCode 归档应用程序(它与构建选项在同一菜单中)
  3. 存档完成后,它将打开存档管理器
  4. 选择新创建的存档并将其导出。导出的第一个选项是“保存用于 iOS App Store 部署”。
  5. 这将在您的 Mac 上创建一个目录,其中包含您的客户端上传它所需的零碎内容。
  6. 压缩该目录并传输到您的客户端。他们应该能够使用 iTunes Connect 中的网络界面上传应用程序并完成应用程序提交过程。

回答by MuthuKumar Haridoss

... Or Can i build IPA file and share it with client, so he can submit to App Store?

... 或者我可以构建 IPA 文件并与客户共享,以便他可以提交到 App Store?

To answer your question, you can build the app and provide to your client for them to submit the app.

要回答您的问题,您可以构建应用程序并提供给您的客户,让他们提交应用程序。

For building the app (.ipa) you need to get the Provisioning profile & Certificate (.p12) corresponds to Apple developer program from the client.

要构建应用程序 (.ipa),您需要从客户端获取与 Apple 开发人员程序对应的配置文件和证书 (.p12)。

I have done this for many of our clients and solution is working. In fact few of the clients they have an internal portal with the predefined process.

我已经为我们的许多客户这样做了,并且解决方案正在奏效。事实上,很少有客户拥有带有预定义流程的内部门户。

In case, if anyone of you have queries on this response comment below and I shall try to answer.

万一,如果你们中的任何人对下面的这个回复评论有疑问,我会尽力回答。

Note: when signing remember to choose use local signing assets in order to avoid giving apple id credentials.

注意:签名时记得选择使用本地签名资产,以避免提供apple id凭据。

回答by Jeremiah

The easiest way would be to have your client add you under User and Roles in iTunes Connect. There is a developer role now that can limit access to a certain app and restricts it to the below:

最简单的方法是让您的客户将您添加到 iTunes Connect 中的用户和角色下。现在有一个开发人员角色可以限制对某个应用程序的访问并将其限制为以下内容:

App Features

应用功能

回答by Ingo

As of Summer of 2017, Which is after this was initially asked) The developer and the app producer name must be the same. Thus just have them spend the $99 a year and get a Dev account that they add you to to Develop / manage.

截至 2017 年夏季,这是在最初询问之后)开发者和应用程序生产者名称必须相同。因此,只需让他们每年花费 99 美元并获得一个开发帐户,他们会将您添加到开发/管理中。

Here is a short and detailed explanation: [1]: http://www.goodbarber.com/blog/your-client-s-developer-accounts-vs-your-own-a856/

这里有一个简短而详细的解释:[1]:http: //www.goodbarber.com/blog/your-client-s-developer-accounts-vs-your-own-a856/

Here is how to tranfer if already in app Store under your account:[1]: https://support.appmachine.com/hc/en-us/articles/360000012284-Transfer-your-app-to-another-iOS-Developer-Account

如果已经在您的帐户下的应用商店中,则如何转移:[1]:https: //support.appmachine.com/hc/en-us/articles/360000012284-Transfer-your-app-to-another-iOS-开发者账户

回答by Ivan I?in

According to the description the simplest way would be to submit the app on your own behalf and as soon as you pass the certification to transfer the published app to your client from iTunes Connect dashboard.

根据描述,最简单的方法是代表您自己提交应用程序,并在您通过认证后立即将发布的应用程序从 iTunes Connect 仪表板传输到您的客户端。

回答by snake

You need to use IP distribution with iOS to build IPA to upload to the App Store

需要配合iOS使用IP分配构建IPA上传到App Store