This package is not valid. Apple does not currently accept applications created with this version of the SDK

I get the error message "This package is not valid. Apple does not currently accept applications created with this version of the SDK." while trying to send my application to the Mac app store. I am using Xcode 4.1, which I downloaded from the Mac App Store after purchasing a MacBook Air with Lion pre-installed. What could be the reason for this?

+4
source share
1 answer

I had the same problem a few days ago after the 10.7.3 update. if you use the 10.7 SDK (the target could be 10.6 if you want to access Snow Leopard users)

The problem is that the update was originally 11D50, which was quietly updated to 11D50b. I think, for some reason, the Apple server or Xcode thinks that you are using the beta version of Mac OS X (10D50b), because "b" at the end may indicate the beta version.

The workaround was to change the system version in /System/Library/CoreServices/SystemVersion.plist from 11D50b to 11D50

I needed to use sudo to modify the file

sudo /Applications/TextEdit.app/Contents/MacOS/TextEdit /System/Library/CoreServices/SystemVersion.plist 
0
source

All Articles