I was running Xcode 4.2 on Lion 10.7.2 and I have a few applications that needed updating to the Lion sandbox, so I can resubmit them to the Mac App Store (Mac, not iOS). Somewhere along the way I had a popup to update to combo update 10.7.3 and after that everything went wrong.
Verifying and submitting apps was fine if the archive was compiled in 10.7.2 but if it was compiled after the 10.7.3 update it can no longer verify the app. That is right, under 10.7.3 I can still verify apps if they were compiled before the upgrade. Anything compiled after will give me this:
“This bundle is invalid. Apple is not currently accepting applications built with this version of the OS.”
After each of the following attempts, I have cleaned, rebuilt the archive, and tried again to verify or submit the application through Xcode Organizer and the Application Loader standalone:
-
I have tried upgrading to Xcode 4.2.1 by doing a complete uninstall,
reboot and install, but nothing. -
I read this similar thread and tried using the new Application
Loader 2.5.1 and made sure there was no other Application Loader on
the system but that didn’t work either. Both the the Application
Loader via Xcode and run standalone give the same
error. -
From another thread have tried changing the base SDK to 10.7. I
was previously at 10.6 so I can still support Snow Leopard, and yes
you can submit sandbox apps built against 10.6 that work in both Lion
sandboxed and SL non-sandboxed because I’ve done it with two
apps very recently). Unfortunately, built with 10.6 or 10.7 SDK makes
no difference with this error.
I’ve read that the same error happens when devs try to submit apps built on a beta platform, but I have not been running beta versions of anything, nor have I in the past since I bought this MacBook in August.
Any ideas would be greatly appreciated. Thanks in advance.
Edit 12 March 2012:
I contacted Apple directly using a paid support ticket. It turns out that this was a bug within the Mac App Store. Their team has fixed the problem. Submitting With 11D50b should now work.
Solution to the problem on OS X 10.7.3 with Xcode 4.3
You will need to change the SystemVersion file, this can be done with the command
sudo nano /System/Library/CoreServices/SystemVersion.plist (ctrl o, to save)
My current file looks like this:
Change 11D50b to 11D50, restart xcode and clean your code. Then submit again.
After submitting, remember to change the file back to the original.