Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
332 views
in Technique[技术] by (71.8m points)

iphone - How do I submit an iOS app WITHOUT Xcode?

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.

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

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 image description here

  • Enter your iTunes Connect Apple ID and Password and select "Next"

    enter image description here

  • After your authenticated select "Next"

    enter image description here

  • Select your App and click "Next"

    enter image description here

  • Confirm App compatability

    enter image description here

  • "Choose" the binary file to upload

    enter image description here

  • Select and click "Next"

    enter image description here

  • Start the upload by clicking "Send"

    enter image description here

  • It will will take a few moments to authenticate through the iTunes Store

    enter image description here

  • Once complete, your app package has been uploaded to the iTunes Store. Click "Next"

    enter image description here

  • You are "Done"!

    enter image description here

  • Your App will show a Status of "Upload Received"

    enter image description here


Links:

Apple Doc - Using Application Loader

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

How To Upload Your App To iTunes Connect Using Application Loader


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...