Building to Release

So help my out here.

I have finally come to releasing my iPhone app but now am a little stuck on how to do it? Is there a full guide on what I should press and where I should put things?

ATM:

-I have run a build from inside Unity
-Run a straight build from inside xcode
-Found my app in the in the finder (about 44meg)
-Compressed it (to form a zip)
-and tried to upload

It fails, saying its invalid.

What have I done wrong?

Do I need another certificate for release? or do something with an icon file? or do something with names?

From unity you just use build, thats it.

All the rest is in XCode, the corresponding informations are on iTunes Connect

Apple’s iPhone SDK site explains the whole process and provides you the online tools to create Provision files.

Basically you need a Developer provision file installed on the computer and on the iPhone you use for development. You need to get all that done before attempting to run a Unity project on you iPhone. But then when you are ready to submit the game to iTunes Connect you have to build the app in Xcode using a Distribution provision. Again, this is all explained on the iPhone SDK site.

When you build for iPhone using Unity. A new folder named Unity Player is created. It contains an Xcode project. Open that XCode project and chose Release/Device as the build type (from the Overview dropdown) and then just click the Build and Run button.

Thanks, I think my mistake has been not getting a distribution license file…I am looking into it now.

so i have a distribution cert, how do i know apply that to my project, instead of the dev cert?

So I:

-Downloaded the distrubution certificate
-Drag/dropped it into Keychain Access
-Loaded XCode
-Rebuild the project
-Right clicked on the built app, made it into a zip
-Uploaded

The binary you uploaded was invalid. The signature was invalid, or it was not signed with an Apple submission certificate.

What now?

Did you build for Release configuation? And are you sure it used the right certificate? You can check that in the Project Settings (Project/Edit Project Settings in XCode and look under the setting for “Code Signing Identity”).

I’m not sure if it defaults to a distibution certificate if it finds one, but it doesn’t hurt to double check.

Thanks,

It looked like there was no actual certificate being built with it. So I put in the distribution certificate, but still get the same problem.

Am I might in thinking that all I have to do is zip up the built file (just the 1 file that’s built) and submit that? I don’t have to add anything else into the zip?

If so, what else could it be?

Check DaveyJ’s post in this thread- :
http://forum.unity3d.com/viewtopic.php?t=26435

Also, in the Apple’s program portal follow the steps listed under “Distrubution>Building your Application with Xcode for Distribution”.