This is probably a really stupid question, but I’m ready to submit my first app to the App Store and can’t figure out what file to submit. Everything is set up in the store, the app is built, the only thing left is uploading the app. So I run the Application Loader program, and it can’t find a file to upload. When I get to the point of choosing the app to upload, everything that appears in the Open File dialog is dimmed. I thought I was supposed to upload the .app file in the “build” folder, the same one that I’ve been installing on my iPod and sending to others for testing. But I can’t select that file (actually a package) because it’s dimmed. I can’t find any file in my iOS Player folder that it will let me select. Did I miss a step somewhere? Is there a different file I’m supposed to upload?
Zip the contents of the build folder (not the folder itself) and send it.
Zip the .app
Does not latest xcode perform this for you? I’ve always done it old school, ticking something in the plist and so on before sending. I heard its pretty modernized now.
Thanks.
Problem now is I can’t get the app to build. Are there Unity-specific instructions for preparing an app for distribution in the App Store, or do I just follow Apple’s developer instructions? I’ve gone through all the steps under “Create and download your iOS Distribution Provisioning Profile for App Store Distribution” and “Building your Application with Xcode for Distribution,” but the build fails with a CodeSign error.
There was a great set of instructions I found a while back for doing an ad hoc distribution build with Unity. It made the process pretty painless. Is there a similar set of instructions for doing an app store distribution build with Unity?
I think Apple hasn’t updated instructions on their provisioning website. Download new xcode 4 drag your provisioning profiles there and try this: Documentation Archive
Look where you changed the Code Signing Identity to iPhone Distribution in the Info window (I’m not using Xcode 4, it may be different there). Above that, make sure Validate Built Product is ticked before selecting Build. If that doesn’t work, what is the CodeSign error?
Note that you will not be able to run the Distribution Build on your device, and will get an error if you try. So you just want to Build, not Build and Run.
John,
You should create a specific target for 'Distribution". The thing you have to do :
- add a specific target for ‘distribution’
- create the distribution provision profile. download it and add it to your xCode env. Use it in the setting for the “distribution” target.
- in ‘build options’, tick the checkbox : "Validate built product’
Build and archive the .APP. This is what you have to send through the *‘Application Loader’
hope this helps.
Thanks all.
I’m not sure what the problem was, as I started the process over from scratch, but I was finally able to build and submit my first app!
FWIW, the “Validate Built Product” option is not in Apple’s instructions. It doesn’t even show up as an option in their screen captures. If that was the critical, missing step, then surely others beside me have had this problem.
If someone is searching the forum later on: I found this how to useful