Here’s what an emailer told me yesterday: he’s gotten his app rejected a couple times with this somewhat mysterious reason….
- Apps are not permitted to access the UDID and must not use the uniqueIdentifier method of UIDevice. Please update your apps and servers to associate users with the Vendor or Advertising identifiers introduced in iOS 6.
Actually it’s not all that mysterious. If you have an older Cocos2d project which included the CocosLive classes you might have noticed a deprecation warning a while back saying something like “uniqueIdentifier is deprecated”. Deprecations are like the Yield Signs of coding. A lot of times you just slow down and don’t stop. Especially if you think its something that will be solved in the next update of the framework you are using. And as it turns out more recent versions of Cocos2d don’t have CocosLive included.
So this issue would only be a problem if you were using an older project. Chances are the quick fix is to just trash the entire cocoslive folder in your libs folder in Xcode, and hopefully you’ll be good to go. I can’t say for sure yet, that this solved this guy’s problem because it’ll be another week probably before Apple will review his app again, but I think this will do the trick.