Advertise Mobile SDKs Books Events Forum News Social Networking Support Us
Follow @iphonedevsdk on Twitter

Interface 2, Advanced iOS
Mockup & Code Gen
($9.99)

Make your own iPhone apps
and run them live!
(free)

Pic Frame Dynamo: Photo Editing
($0.99)

Abiliator
($1.99)

Want your application or service advertised on iPhone Dev SDK?

Go Back   iPhone Dev SDK Forum > iPhone SDK Development Forums > iPhone SDK Tools & Utilities

Reply
 
LinkBack Thread Tools Display Modes
Old 06-16-2011, 02:28 AM   #1 (permalink)
Registered Member
 
Join Date: Jul 2010
Location: Seattle, WA
Posts: 46
C6Silver is on a distinguished road
Default Missing Distribution Option in Xcode

I have installed the certificates and provisioning profiles for distribution on the App Store. However, there is no option within Xcode to do a "distribution build". There is only the option for "debug" and "release". I am running 3.2.3.

Thanks for any help.
C6Silver is offline   Reply With Quote
Old 06-16-2011, 04:29 AM   #2 (permalink)
Registered Member
 
Join Date: Dec 2009
Location: France
Posts: 31
krag is on a distinguished road
Default

Yes that's normal. You have to create it.

Apple offers some good tutorials about this step.
krag is offline   Reply With Quote
Old 06-16-2011, 10:50 AM   #3 (permalink)
Registered Member
 
Join Date: Jul 2010
Location: Seattle, WA
Posts: 46
C6Silver is on a distinguished road
Default

Quote:
Originally Posted by krag View Post
Yes that's normal. You have to create it.

Apple offers some good tutorials about this step.
Thanks. Could you possibly point to one? I have been all throught the site for hours reading documents. I cannot find one that references how to enable this option. The documents related to publishing seem to say "Set the Code Signing Identity build setting to the distribution profile." which basically skips the very much needed "how" portion.
C6Silver is offline   Reply With Quote
Old 06-16-2011, 09:15 PM   #4 (permalink)
Registered Member
 
Join Date: Jul 2010
Location: Seattle, WA
Posts: 46
C6Silver is on a distinguished road
Default

I didn't find the answer on Apple's site, but I did finally find it elsewhere. Hard to justify how awkward this entire process is to upload to the store, but below are the key steps (copied from a post elsewhere) related to this specific question. Hope it helps future frustrated developers!

P.S. I used my "release" setting to duplicate rather than ad-hoc which I had not created (this relates to step 3 below)
------------

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.
C6Silver is offline   Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



» Advertisements
» Online Users: 412
11 members and 401 guests
AppleDev, chemistry, Emy, Gi-lo, ipodphone, mistergreen2011, pipposanta, QuantumDoja, Retouchable, SLIC
Most users ever online was 1,387, 04-10-2012 at 04:21 AM.
» Stats
Members: 175,679
Threads: 94,129
Posts: 402,924
Top Poster: BrianSlick (7,990)
Welcome to our newest member, xzoonxoom
Powered by vBadvanced CMPS v3.1.0

All times are GMT -5. The time now is 08:27 AM.
Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0