[Apple store submission] Invalid binary error

Hi,

While submitting to apple store i am getting invalid binary error.

The app builds fine and runs on my iPhone fine. When I try to build
the Distribution app, it builds fine with no errors, but when I look
at my build log, I do have the CodeSign entry, but there is no log
entry for ProcessingProductPackaging part, so the
embedded.mobileprovision file does not exist.

Not getting what is the problem. Not able to submitt application for apple store.

Thanks,
Ganesh Pisal
Vavni, Inc.

Macbook, Mac OS X (10.5.5), 2 GB

Posted on Mar 20, 2009 2:43 AM

Reply
2 replies

Mar 20, 2009 3:56 PM in response to Ganesh Pisal

Be sure to follow these steps under Verifying a Successful Distribution Build in the Portal:

_If your project is lacking any of the above files or pointing to the wrong directory, do the following:_

1. Select the Target and open the Build Settings Inspector. Confirm you are in the Distribution Configuration.
2. Delete the Code Signing Identity: iPhone Distribution: COMPANYNAME
3. In the Xcode Build Menu, select Clean all Targets.
4. Delete any existing build directories in your Xcode project using Finder.
5. Re-launch Xcode and open your Project.
6. Re-enter the code-signing identity iPhone Distribution: COMPANYNAME in the Target Build Settings Inspector.
7. Rebuild your Project.

Strange as these steps may seem, they worked for me last time I had your problem (e.g. why delete all the build directories if you already cleaned all targets? And why re-enter the exact code-signing identity you just deleted?? Just do it!).

If you've never successfully submitted this app before, I would also suggest you redo all of the steps under +Building your Application with Xcode for Distribution+, especially filling in the +Code Signing Provisioning Profile+. On my first try I filled in the wrong line, and it took all night to find the problem.

If none of the abpve helps, take a look at Doug Lerner's recent thread: [http://discussions.apple.com/thread.jspa?threadID=1940036&tstart=105]. I think Doug's embedded.mobileprovision file was present so his problem was different from yours, but you might find some helpful clues in the discussion.

Btw, I've never heard of anyone getting this process right on the first try. It's not meant to be easy. Consider it to be an examination. I.e. to place your app in the store, it's not sufficient to have simply learned how to develop the software.

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

[Apple store submission] Invalid binary error

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.