Reputation: 24675
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.
Upvotes: 38
Views: 49749
Reputation: 11
There are two ways to upload build to app store connect
Note: You have to login with the same credentials as of app store connect
Good Luck !!!
Upvotes: 0
Reputation: 38667
Nowadays, Application Loader is deprecated in favor of Apple's Transporter.
Package your App as an .ipa:
xcodebuild -target "${PROJECT_NAME}" -sdk "${TARGET_SDK}" -configuration Release
/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}”
Send the .ipa to client.
Upvotes: 16
Reputation: 29
There are 2 options: either through Xcode it self using archiving or else making the build and submitting it using application loader. But both involve Xcode and a developer account. So I don`t think that there is any chance of you doing it without using Xcode.
Upvotes: 2
Reputation: 24675
I have accepted chown's answer as the correct one since it is very detailed and led me to the eventual solution, but I wanted to add this bullet-list answer for any future viewers who might want to see things cheat-sheet style.
Building the binary
Send binary to client
(Email or whatever.)
Client uses ApplicationLoader to upload.
Watch out for this Xcode/Newsstand problem
(Go up-vote that Q&A if you ran into the problem and it saved your bacon! :)
Upvotes: 7
Reputation: 52728
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
Upvotes: 39
Reputation:
I'd send your client Application Loader
(as long as they run OSX 10.6.8+
). It's in /<path-to-xcode-folder>/Applications/Utilities
. Send that .app
over and they should be able to submit a binary with it. You'll still have to walk them through it, but Apple provides a PDF for that.
Upvotes: 4