Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do I build an xcode project for the itunes store?

I've got my apps running on my iphone, great, however to list on the itunes store I need the "universal binary" thing.

I've tried finding answers, but I can't seem to find a concise useable explanation to doing this in xcode. I always get errors when I try to build a binary. Can anyone point me towards a basic step-by-step procedure I can follow to creating a universal executable binary which can be uploaded on the itunes store?

One more thing, is there some type of app, like the rename project app, or applescript thing, that can do this for me with a few clicks?

like image 341
Mark Kaminsky Avatar asked Apr 29 '09 18:04

Mark Kaminsky


People also ask

How do I build my own Xcode?

Launch Xcode, then click “Create a new Xcode project” in the Welcome to Xcode window or choose File > New > Project. In the sheet that appears, select the target operating system or platform and a template under Application. In the following sheets, fill out the forms and choose options to configure your project.


1 Answers

Try this:

Prepare a new provisioning profile for App Store

  1. Make sure you have Ad Hoc distribution working OK.
  2. Go onto the Program Portal > Provisioning > Distribution
  3. New Profile button
  4. Distribution Method: App Store
  5. Profile Name: MyApp App Store (or whatever)
  6. App ID: MyApp (you have already created one right?)
  7. Submit button

Set up the new profile/configuration in XCode

  1. Download the certificate (you can click on the Distribution tab to reload that tab while it's being generated) and load it into XCode
  2. In XCode, open your project and go to Project > Edit Project Settings (or double-click on the first item under Groups & Files panel)
  3. Configurations tab, click on your existing Ad Hoc distribution configuration, that already works, and click Duplicate button. Call the new one "App Store"
  4. Click on Build tab, then under Code Signing > Code Signing Entity in the popup choose "iPhone Distribution - MyCompanyName" under "MyApp App Store"

Build & Upload to iTunes Connect

  1. Clean all for good luck, then set Active Configuration to "App Store", build & go. Test it on your iPhone.
  2. Find your built app in the Finder, in your project directory > build > App Store-iphoneos > MyApp.app ... right click and "Compress MyApp.app"
  3. Upload resulting MyApp.zip to iTunes Connect.
like image 79
Simon Woodside Avatar answered Oct 23 '22 12:10

Simon Woodside