We have a few Mac applications on which we need to enable the Lion sandbox and resubmit to the Mac App Store (Mac, not iOS). I already applied the combo update 10.7.3 and after that I started getting this error:
“This bundle is invalid. Apple is not currently accepting applications built with this version of the OS.”
In the SystemVersion.plist, it turns out our build for 10.7.3 is 11D50b (b being beta). Xcode does not allow beta OS to be used to compile and submit to the Mac App Store. This is clearly a bug and will be fixed. However there is a workaround:
Change the SystemVersion.plist in /System/Library/CoreServices with TextMate (it will ask you for a password to save) or with TextEdit (you will need to change the file permissions first).
Locate the line Build Number: 11D50b and remove the last “b”.
Save, restart Xcode (make sure you do this), clean, archive and you are finally able to submit successfully.
Once you’re done, I recommend you quit Xcode and made sure to change everything back to how it was before. If you keep the file open in TextMate you can “undo” your way back to the original file, which states:
Build Number: 11D50b
I will not trust restarting my mac with a messed up plist like that.
So use at your own risk and happy coding!