问题描述
我是合约开发商。我已经为客户编写了一个应用程序(是的,使用XCode!),现在我们已准备好发货了。我想向他发送他的应用程序的副本,他可以签名并提交到iTunes应用程序商店,但 他没有或使用XCODE。
(虽然这是一个备份计划,但我不想让他完成下载和安装XCode的过程(现在通过应用程序商店 - gak!)然后构建并以此方式提交。)
6个月之前这是相当简单的,但我们现在是XCode-4,并且流程似乎简化为只允许开发人员(团队代理) )建立,存档,验证和提交给自己的帐户。 (我不知道也不想要我的客户的开发帐户凭据。)
作为最后的手段,我可以将我的电脑拖到他的办公室让他签名 - 在它上面,但这不能扩展到真正的远程工作,这是我所做的大部分工作。我希望找到一个解决方案,让我向客户端发送二进制文件,并附上一份说明清单。
谢谢!
使用Release架构将您的应用程序构建到.app文件中:
xcodebuild -target$ {PROJECT_NAME} - sdk$ {TARGET_SDK} - 配置发布
将您的应用程序打包为.ipa:
/ usr / bin / xcrun -sdk iphoneos PackageApplication -v$ {RELEASE_BUILDDIR} / $ {APPLICATION_NAME} .app-o$ {BUILD_HISTORY_DIR} / $ {APPLICATION_NAME} .ipa - 签署$ {DEVELOPER_NAME} - 已填写$ {PROVISONING_PROFILE}
然后,运行 Application Loader
(下载/安装
自动通过i-i-air-deployment-for-iphone
I am a contract developer. I have written an app (yes, using XCode!) for a client and now we are ready to ship. I would like to send him a copy of his app which he can sign and submit to the iTunes app store but HE DOES NOT HAVE OR USE XCODE.
(While it's a backup plan, I prefer not to walk him through the process of downloading and installing XCode (through app store now -- gak!) and then the build & submit that way.)
This was all [fairly] simple 6 months ago, but we're XCode-4 now, and the process appears streamlined to only allow the developer (team agent) to build, archive, verify & submit to his own account. (I don't know nor do I want my client's dev account credentials.)
As a last resort, I could haul my computer to his office and let him sign-in on it, but that doesn't scale to truly remote work, which is the bulk of what I do. I'm hoping for a solution that involves me sending a binary to the client with a bullet-list of instructions.
Thanks!
Build your App into an .app file with a "Release" schema:
xcodebuild -target "${PROJECT_NAME}" -sdk "${TARGET_SDK}" -configuration Release
Package your App as an .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}"
Then, run Application Loader
(Download/Install Application Loader 2.9
if necessary):
open -a /Developer/Applications/Utilities/Application\ Loader.app
After it opens select "Next"
Enter your iTunes Connect Apple ID and Password and select "Next"
After your authenticated select "Next"
Select your App and click "Next"
Confirm App compatability
"Choose" the binary file to upload
Select and click "Next"
Start the upload by clicking "Send"
It will will take a few moments to authenticate through the iTunes Store
Once complete, your app package has been uploaded to the iTunes Store. Click "Next"
You are "Done"!
Your App will show a Status of "Upload Received"
Links:
Apple Doc - Using Application Loader
automating-over-the-air-deployment-for-iphone
How To Upload Your App To iTunes Connect Using Application Loader
这篇关于如何提交没有XCode的iOS应用程序?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!