Unable To Validate Xcode Archive Or "non-public selectors" Error

When compiling your game through Xcode for iOS, you may find that validation fails consistently, or (if the app appears to be successfully validated) the upload fails with the following error (or something similar):

The app references non-public selectors in Payload/<appname>.app/<appname>:allocBatch:withEntity:count:, allocWithEntity:, fastIndexForKnownKey:, indexForKey:

To resolve this issue, simply delete all data for Xcode projects from the following directory on your Mac:


You should now be able to compile, validate and upload to iTunes without any issues.

Have more questions? Submit a request


Article is closed for comments.