Discussion Forums  >  Uncategorized

Replies: 25    Views: 359

Arock
I hate code!
Profile
Posts: 35
Reg: Aug 27, 2011
Woodhaven
350
01/05/12 10:46 PM (14 years ago)

Submitting For Distribution in xcode...application loader???

Hi everyone. I finally made it through signing up for distribution certificates, building, locating the app in finder and compressing. Now I'm completely stucl I read in the forums that you need to use the application loader to submit the app? What exactly does that mean? Is there something in xcode called the application loader or is it something else entirely? Can anyone help me or send me to a link that gives details about how to use application loader? Thank you in advance!!
 
MGoBlue
Apple Fan
Profile
Posts: 980
Reg: Jun 07, 2011
Gold River, CA
10,600
like
01/05/12 11:04 PM (14 years ago)
YOu need to archive the app then use the organizer to submit. This should help: http://www.weston-fl.com/blog/?p=2442
 
GoNorthWest
buzztouch Evangelist
Profile
Posts: 8197
Reg: Jun 24, 2011
Oro Valley, AZ
1,000,000
like
01/05/12 11:56 PM (14 years ago)
Hi Arock, I use Organizer to do my submissions. Here's a step-by-step : http://www.buzztouch.com/resources/Submitting_Your_App_To_iTunes_Connect_v1.0.pdf Mark
 
SheriDee
Code is Art
Profile
Posts: 1094
Reg: Sep 23, 2011
location unknow...
22,840
like
01/06/12 12:02 AM (14 years ago)
I actually went through this torture all day today....found this awesome video http://www.youtube.com/watch?v=u1TNksjZnYU...... best of luck!
 
Arock
I hate code!
Profile
Posts: 35
Reg: Aug 27, 2011
Woodhaven
350
like
01/06/12 01:04 AM (14 years ago)
Thanks a bunch everyone!! I finally got through it and uploaded my compressed file. However. Two mins later I got an email from apple saying my binary failed. They pretty much said there's something wrong with my code signing? Here's what they sent to me....editted out the bundle id and what not Specifically, value bundle id.* for key com.apple.developer.ubiquity-kvstore-identifier in APPNAME is not supported Does anyone know what the hell this means?? :(
 
GoNorthWest
buzztouch Evangelist
Profile
Posts: 8197
Reg: Jun 24, 2011
Oro Valley, AZ
1,000,000
like
01/06/12 01:15 AM (14 years ago)
Hi Arock, So, one cool thing about Organizer is that you can do a validate on your package before you submit it, and it should warn you about things like that. Save a bit of grief. Are you sure you have all your certificates in place correctly? @Stefan put together an awesome tutorial on this: http://www.buzztouch.com/forum/thread.php?tid=10EFDB8B90E3CEA983E9322&status=&searchInput=search...&sortColumn=FT.dateStampUTC&sortUpDown=DESC¤tPage=1&doViews=1 Finally, make sure you are signing your app with the Distribution certificate vs. the Developer one. Let us know if this helps at all! Mark
 
Sats4eva
Lost but trying
Profile
Posts: 44
Reg: Jan 01, 2012
Toronto, ON
440
like
01/06/12 07:34 AM (14 years ago)
You have to physically change your signing certificates in the project settings to the correct user. There are some that require developer and others distribution signing rights.
 
Arock
I hate code!
Profile
Posts: 35
Reg: Aug 27, 2011
Woodhaven
350
like
01/06/12 09:20 AM (14 years ago)
Thanks a bunch guys!! I'm gonna look at the tutorial GoNorthWest. Stats4eva...I'm hoping it's as easy as your advice. I have everything set to Distribution right now for Debug, Release, Distribution, and all the submenus below them for any ios SDK. I also tried putting the very first one on the menu code signing idetity to just iphone distribution and that didn't seem to work either. I know I'm being a pain but can you let me know which ones specifically need to be set to Developer and which to Distribution?
 
GoNorthWest
buzztouch Evangelist
Profile
Posts: 8197
Reg: Jun 24, 2011
Oro Valley, AZ
1,000,000
like
01/06/12 09:58 AM (14 years ago)
Hi Arock, If you look in the tutorial, you'll see that the first two are set to developer, and the second two to Distribution. Code signing, in my opinion, is the single worst aspect of iOS development. It continues to be a pain for all of us...even those who have submitted numerous apps. I recently had to delete and reinstall all my certificates. A major pain! So, don't hesitate to keep asking questions until it works for you. Mark
 
Arock
I hate code!
Profile
Posts: 35
Reg: Aug 27, 2011
Woodhaven
350
like
01/06/12 10:58 AM (14 years ago)
OMG Mark...thank you so much for being so friendly and helpful. I'm gonna try this out ASAP. It's so refreshing to know that I'm not being annoying, haha.
 
Arock
I hate code!
Profile
Posts: 35
Reg: Aug 27, 2011
Woodhaven
350
like
01/06/12 11:47 AM (14 years ago)
Ok so I did the whole reinstalling of the certificates and provioniong profiles steps. Then I set Debug and Any iOS SDK under it to iPhone Developer:My Name. Next I set Distribution and Any iOS SDK under it to iPhone Distribution:My Name. Last I set Release and Any iOS SDK under it to iPhone Distribution:My Name. And I still get an error message in application loader saying there's a codesigning error. I tried using the organizer to submit but for some reason my app archives don't show up in Archives when I build. Am I still setting the codesigning incorrectly?
 
GoNorthWest
buzztouch Evangelist
Profile
Posts: 8197
Reg: Jun 24, 2011
Oro Valley, AZ
1,000,000
like
01/06/12 11:53 AM (14 years ago)
What version of Xcode are you using? Can you paste in the exact error you're getting? Thanks! Mark
 
Arock
I hate code!
Profile
Posts: 35
Reg: Aug 27, 2011
Woodhaven
350
like
01/06/12 12:00 PM (14 years ago)
I'm using xcode 4.1 This is the exact error message I'm getting in Application loader when I try to submit the compressed file. Application failed codesign verification. The signature was invalid, or it was not signed with an Apple submission certificate. I followed all the steps in the tutorial on how to get the certificates and everything.
 
GoNorthWest
buzztouch Evangelist
Profile
Posts: 8197
Reg: Jun 24, 2011
Oro Valley, AZ
1,000,000
like
01/06/12 12:07 PM (14 years ago)
And just to be sure...did you follow everything in this doc? Filled in the same slots with info? http://www.buzztouch.com/resources/Submitting_Your_App_To_iTunes_Connect_v1.0.pdf Mark
 
Arock
I hate code!
Profile
Posts: 35
Reg: Aug 27, 2011
Woodhaven
350
like
01/06/12 01:01 PM (14 years ago)
Ok the only one I'm not sure about is the bundle id suffix. It says it has to match in the info.plist but how do I check that? In Targets info tab I have my suffix as the same one in itunes connect. Does that mean my info.plist is setup correctly? I don't know how to access my info.plist to make any changes.
 
Arock
I hate code!
Profile
Posts: 35
Reg: Aug 27, 2011
Woodhaven
350
like
01/06/12 01:20 PM (14 years ago)
Also under the info tab in Targets....should bundle name be my bundle id? The part that comes before the suffix? Name - *
 
GoNorthWest
buzztouch Evangelist
Profile
Posts: 8197
Reg: Jun 24, 2011
Oro Valley, AZ
1,000,000
like
01/06/12 01:31 PM (14 years ago)
Howdy! Your BT_info.plist file is in BT_Config folder that you downloaded from BT. This populates the GUI that you see in Xcode. That file is what needs to match what you have in iTunes Connect. Typically, you define it in Xcode first, then make sure it matches when you do your iTunes stuff. Mark
 
Arock
I hate code!
Profile
Posts: 35
Reg: Aug 27, 2011
Woodhaven
350
like
01/06/12 01:55 PM (14 years ago)
Thanks mark. I found it. I opened it up and it seems to match everything. Where should the App ID go in info.plist? Under CFBundleIdentifier I have the app suffix (com.domainname.suffix). Does the App ID/Bundle ID have to be somewhere in info.plist as well? If so where should I write it in? Right now I have it under bundlename.
 
GoNorthWest
buzztouch Evangelist
Profile
Posts: 8197
Reg: Jun 24, 2011
Oro Valley, AZ
1,000,000
like
01/06/12 02:33 PM (14 years ago)
Here's an example from my app, which is live : <key>CFBundleIdentifier</key> <string>com.thunderstruck.azfishingspots</string>
 
WolfTimJ
buzztouch Evangelist
Profile
Posts: 810
Reg: Feb 20, 2011
Rockwall, TX
17,400
like
01/06/12 03:41 PM (14 years ago)
This might be a stupid question but in Itunes Connect you have created the App submission profile and pressed ''Ready to Upload Binary'', right? If not you missed a step in Connect.
 
GoNorthWest
buzztouch Evangelist
Profile
Posts: 8197
Reg: Jun 24, 2011
Oro Valley, AZ
1,000,000
like
01/06/12 03:50 PM (14 years ago)
Great catch...thanks! I'll make an update to the document. But, yep, you are absolutely correct..you need to have it Waiting for Binary before you can upload. I take it things are going well?
 
plknudson
Aspiring developer
Profile
Posts: 39
Reg: Jul 11, 2011
Cambridge, MA
390
like
01/06/12 04:33 PM (14 years ago)
Hi - not sure if this is relevant, but the last binary I submitted to xcode had the same error message from Apple. After googling on the Internet for a while, turns out all I had to do was de-configure my app for iCloud within the provisioning portal and then redownload the distribution certificate.
 
WolfTimJ
buzztouch Evangelist
Profile
Posts: 810
Reg: Feb 20, 2011
Rockwall, TX
17,400
like
01/06/12 04:55 PM (14 years ago)
Thanks, the catch was from WolfTimJ, not from the problem reporter... but I'm keeping fingers crossed for him or her. Guess I should put a pic in my profile.
 
Arock
I hate code!
Profile
Posts: 35
Reg: Aug 27, 2011
Woodhaven
350
like
01/08/12 11:57 AM (14 years ago)
Hi guys. Mark...I'll check the coding asap but I'm pretty sure the com.websitename.suffix is in the right area. It's just the App name/Bundle Id I'm not sure where it should go. Also I looked into the icloud thing before after google research too and my app wasn't enabled for it. Itunes connect also says that it's waiting for upload so I know that's not the problem. Is there anything else that might be causing this or are these the only scenarios?
 
Arock
I hate code!
Profile
Posts: 35
Reg: Aug 27, 2011
Woodhaven
350
like
01/08/12 07:21 PM (14 years ago)
Hey guys!! I got it figured out. I went into itunes connect and noticed that the bundle ID I had was not matched up with the App Id in the provisioning profiles. I went ahead and made a new APP id and new suffix and changed the information in xcode. Reinstalled the certificates and provisioning profiles and then it worked!! Thanks so much for all the help.
 
GoNorthWest
buzztouch Evangelist
Profile
Posts: 8197
Reg: Jun 24, 2011
Oro Valley, AZ
1,000,000
like
01/08/12 07:26 PM (14 years ago)
Way to go, @Arock! A lot of persistence, and you figured it out yourself! Wahoo! Mark
 

Login + Screen Name Required to Post

pointerLogin to participate so you can start earning points. Once you're logged in (and have a screen name entered in your profile), you can subscribe to topics, follow users, and start learning how to make apps like the pros.