Discussion Forums  >  Uncategorized

Replies: 11    Views: 1013

basement
Aspiring developer
Profile
Posts: 488
Reg: Apr 07, 2011
Ontario
4,880
05/18/11 03:06 PM (14 years ago)

problems submitting app to app store

I've got my app all ready to go, it tests fine on my iphone4.Only trouble is, that when I went to iTunes Connect, there was only one of my ID's (let's call it IDX) that was enabled for development and enabled for production. This wasn't the same ID I had been using - so I said to make IDX my ID when iTunes connect asked. Trouble is, I can't get my app to match this ID. I get this message in XCode4: my code signing identity (for application identifiers IDX) profile doesn't match application identifier 'com.amazing.com' how can I make this app's ID match IDX? thanks!!
 
captainash
Apple Fan
Profile
Posts: 69
Reg: Jan 16, 2011
location unknow...
2,490
like
05/18/11 03:37 PM (14 years ago)
You must make sure that the bundle identifier in Xcode matches the app id/identifier you entered in itunes connect/provision portal when creating a new app ID (I presume you have done so, if you have tested the app on a device). You can enter this information in the info.plist file inside the BT_config folder. In the info.plist file you will probably see com.amazing.com entered as default. Change this to the right identifier
 
basement
Aspiring developer
Profile
Posts: 488
Reg: Apr 07, 2011
Ontario
4,880
like
05/18/11 03:48 PM (14 years ago)
Perfecto!!! Thanks so much. It's been submitted - BUT there's a problem with that now.. INVALID BINARY message on iTunes Connect. I uploaded it via xcode's organizer. It passed Organizer's validation and when submitted, it said there were no issues, but when I go to the iTunes connect page, I I got the message that there was an invalid binary. ARGH. What could that be?
 
captainash
Apple Fan
Profile
Posts: 69
Reg: Jan 16, 2011
location unknow...
2,490
like
05/18/11 04:09 PM (14 years ago)
Isn't there any explanation of the error? Think it should be.. Last time i got this message, it was simply that I had forgot to upload iPad screenshots to itunes connect =P
 
basement
Aspiring developer
Profile
Posts: 488
Reg: Apr 07, 2011
Ontario
4,880
like
05/18/11 05:30 PM (14 years ago)
****STOP PRESS**** i'm not sure what I did, but the app status is now waiting for review! I'm so excited!! ****STOP PRESS**** I didn't have an ipad screengrab, but I added one and still get the same result - it uploads without error, then says invalid binary in iTunes Connect. I save the app in xcode4 by building for archiving, then in the archive window, I validate then submit. Is there a better way to do it? I've tried via the application loader program, but don't know what file it's looking for to upload - do I just zip the folder I downloaded from here? ------- Here's what I get from Apple: Thank you for your recent binary submission for amazing to the App Store. Unfortunately we discovered an issue with your binary that you will need to correct in order for your application to proceed to the review stage. The specific issue is outlined below: Invalid Signature - Make sure you have signed your application with a distribution certificate, not an ad hoc certificate or a development certificate. Verify that the code signing settings in Xcode are correct at the target level (which override any values at the project level). Additionally, make sure the bundle you are uploading was built using a Release target in Xcode, not a Simulator target. If you are certain your code signing settings are correct, choose Clean All in Xcode, delete the build directory in the Finder, and rebuild your release target. Once you have corrected the issue, please return to the application's version details page in the iTunes Connect Manage Your Applications module and click on the Ready to Submit Binary button. This will take you through the binary submission flow and return your application version status to Waiting for Upload. You can then use Application Loader to upload your new binary. If any other issues are found with your submission you will be contacted. ------- I tried what they said but it made no difference. The only thing I'm not sure about is the target mode - how do I know it's a release target rather than a simulator target - do they mean the scheme?
 
captainash
Apple Fan
Profile
Posts: 69
Reg: Jan 16, 2011
location unknow...
2,490
like
05/19/11 02:50 AM (14 years ago)
Here's where I think you've got something wrong.. 1. Find the target info screen - you can find this by clicking on the project name/file under 'targets' in the left side file overview. 2. under the build tab -> find the configuration drop-down menu (On the top left of this screen, at least in my version of xCode) and choose 'release' (Not Debug). 3. Choose your distribution certificate in the 'code signing identity' field. 4. Close this window. 5. Choose build -> clean all targets. 6. Now, in the top left drop-down menu of this window. Choose 'device' and 'release'... 7. Click 'BUILD' only.. 8. Your ready built app will appear in the 'products' folder in the left side 'groups & files' overview. 9. Right click this and choose 'reveal in finder' 10. You should now see your app in finder. This is the file apple wants. Zip it and upload it with application loader : ) Not sure if this is what you have been doing, but this is how i have done it and it's been successful every time. Hope it helps
 
basement
Aspiring developer
Profile
Posts: 488
Reg: Apr 07, 2011
Ontario
4,880
like
05/19/11 03:44 AM (14 years ago)
that sounds better than the way I did it - I saved it as an archive then uploaded it from there. Thanks for the tip.
 
blardo9d
buzztouch Evangelist
Profile
Posts: 18
Reg: Jan 11, 2011
West Hills, Ca
180
like
05/19/11 01:24 PM (14 years ago)
Thanks
 
Stefan
buzztouch Evangelist
Profile
Posts: 558
Reg: Dec 21, 2010
Sweden
14,780
like
05/19/11 02:33 PM (14 years ago)
@captainash - Thank you for this clear explanation. +1
 
Shary
Apple Fan
Profile
Posts: 37
Reg: Apr 10, 2011
USA
370
like
05/28/11 04:18 PM (14 years ago)
Great explaination Captainash. Now, I have two files in my finder the first one with my app's name and second one is app'name.app.dSYM. I Ziped the first one and submit it for apple to review. Is what I did right? Do I need to Zip the second file and submit it too???? Thanks,
 
captainash
Apple Fan
Profile
Posts: 69
Reg: Jan 16, 2011
location unknow...
2,490
like
05/28/11 04:34 PM (14 years ago)
What you did is correct ; )
 
basement
Aspiring developer
Profile
Posts: 488
Reg: Apr 07, 2011
Ontario
4,880
like
05/28/11 05:10 PM (14 years ago)
you can submit from within xcode too. Build for archive, then make archive then open the organizer window, and go to the archive tab where you can validate then submit.
 

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.