gpt4 book ai didi

iphone - 如何在没有 Xcode 的情况下提交 iOS 应用程序?

转载 作者:IT王子 更新时间:2023-10-29 07:49:55 25 4
gpt4 key购买 nike

我是契约(Contract)开发人员。我已经为客户编写了一个应用程序(是的,使用 Xcode!),现在我们可以发布了。我想给他发送一份他的应用程序副本,他可以签名并提交到 iTunes 应用程序商店,但他没有或没有使用 XCODE。

(虽然这是一个备份计划,但我不想引导他完成下载和安装 Xcode 的过程(现在通过应用程序商店 - gak!),然后以这种方式构建和提交。)

这一切在 6 个月前都[相当]简单,但我们现在是 Xcode 4,而且流程似乎已简化,只允许开发人员(团队代理)构建、归档、验证并提交到他自己的帐户。 (我不知道也不想要我客户的开发帐户凭据。)

作为最后的手段,我可​​以将我的电脑拖到他的办公室并让他登录,但这并不能扩展到真正的远程工作,而这是我所做的大部分工作。我希望有一个解决方案,包括我向客户端发送带有指令列表的二进制文件。

最佳答案

将您的应用程序构建到具有“发布”架构的 .app 文件中:

 xcodebuild -target "${PROJECT_NAME}" -sdk "${TARGET_SDK}" -configuration Release

将您的应用程序打包为 .ipa:

/usr/bin/xcrun -sdk iphoneos PackageApplication -v "${RELEASE_BUILDDIR}/${APPLICATION_NAME}.app" -o "${BUILD_HISTORY_DIR}/${APPLICATION_NAME}.ipa" --sign "${DEVELOPER_NAME}" --embed "${PROVISONING_PROFILE}”

然后,运行 Application Loader(如有必要,下载/安装 Application Loader 2.9):

open -a /Developer/Applications/Utilities/Application\ Loader.app
  • 打开后选择“下一步”

    enter image description here

  • 输入您的 iTunes Connect Apple ID 和密码并选择“下一步”

    enter image description here

  • 通过身份验证后选择“下一步”

    enter image description here

  • 选择您的应用并点击“下一步”

    enter image description here

  • 确认应用兼容性

    enter image description here

  • “选择”要上传的二进制文件

    enter image description here

  • 选择并点击“下一步”

    enter image description here

  • 点击“发送”开始上传

    enter image description here

  • 通过 iTunes Store 进行身份验证需要一些时间

    enter image description here

  • 完成后,您的应用程序包已上传到 iTunes Store。点击“下一步”

    enter image description here

  • 你“完成”了!

    enter image description here

  • 您的应用将显示“上传已收到”状态

    enter image description here


链接:

Apple Doc - Using Application Loader

automating-over-the-air-deployment-for-iphone

How To Upload Your App To iTunes Connect Using Application Loader

关于iphone - 如何在没有 Xcode 的情况下提交 iOS 应用程序?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/7924085/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com