Have tried doing validation in XCode first before uploading?
You can create an archive of your app by "build and archive" menu option in the Build menu. You have to have device and release or distribution in the active building. The archive can then be found in the Organizer in the Window Menu.
Select the archive, then click the "validate application" button. That will run all the tests that Apple runs right when you submit an app. Because lots of apps are submitted it could be why it takes 10 minutes to do this test. But now you can do it yourself and not have to wait.
I am having the same issue. I have submitted >5 applications in the past and never had this issue come up before. Now after uploading it, after a few minutes, it says Invalid Binary with no error messages. I tried your suggestion of validating the application in XCode first, and it passed all tests. I then uploaded the same application to iTunes Connect (both using the button in iTunes and the Application Loader), and still got the same error after a few minutes.
Hi Guys, After some more research, I found this solution on Stack Overflow and it solved my problem. I hope this helps anyone else who started an app before XCode 3.2.3 and is just submitting it now.
Quote:
Thanks to everyone who proposed solutions. As it turns out, none of your suggestions helped in my case, but I did solve the problem. Here's what worked for me:
Delete Entitlements.plist from your project. Then do Add -> New File and re-add Entitlements.plist.
The format of the Entitlements.plist changed between SDK 3.1.3 and 3.2. If your Entitlements.plist was created with an SDK earlier than 3.2, and you're now trying to update your app using SDK 3.2 or greater, it appears that you have to delete the Entitlements.plist and re-add it using the new format. Otherwise Apple will reject your upgrade as an "Invalid Binary".
Hi Guys, After some more research, I found this solution on Stack Overflow and it solved my problem. I hope this helps anyone else who started an app before XCode 3.2.3 and is just submitting it now.
The "Invalid Binary" error can be especially frustrating when you follow all the instructions, have signed apps fine in the past, XCode states that everything checks out, and then itunesconnect rejects your submission.
One reason for this error that I've found is when your app was built on a case-sensitive file system, and has two files that would have the same name on a normal apple file system.
In my case, both of these files existed in the bundle:
Egg.png
egg.png
Removing Egg.png solved it. Too bad it took weeks to figure that one out!