- Home /
This app references non-public selectors: setAchievementDelegate, setLeaderboardDelegate
I received this validation warning when submitting a build of my Unity game to Apple's App Store today. It is just a warning and the update has gone into the review queue but it is concerning. I looked at the iOS docs and I see that the referenced calls were deprecated in iOS 7. I'm assuming Apple will still approve the update and this is just their way of suggesting you update your API usage but I'd love to get some verification.
Thanks
It is in the review queue (which is currently around ~10 days thanks to iOS 8's im$$anonymous$$ent release) so it'll be a while before I know.
We have same issue, and in our case this is error, not warning. It looks like libiPhone-lib.a links to some of mentioned functions.
Hi, I'm having the same problem, but I'm getting error ins$$anonymous$$d of warning.(the builds were working before the ITC update) Any help?
I have the same messages, but not a warning too, an error ... any idea ?
Answer by Mantas-Puida · Sep 09, 2014 at 11:16 AM
Forums are much better place to discuss such troubles. Seems that Apple started treating deprecated APIs as private ones :( At the moment it looks like if you have only setAchievementDelegate / setLeaderboardDelegate (these are coming with Unity) references you are getting warning and your submission works fine. If you have more of them (usually coming with 3rd party or your own plugins) then you get immediate rejection. We are working to sort out setAchievementDelegate / setLeaderboardDelegate issues (at the expense of dropping pre-iOS6 support), but you still will need to solve deprecated API use coming from other sources.
Answer by soulburner · Sep 08, 2014 at 03:05 PM
It looks like Prime31 didn't update their GameCenter plugin with new API references.
I received the warning and did not have Prime31's plugin included in my app. Just a vanilla Xcode project from Unity 4.5.3.
Answer by ababab5 · Sep 10, 2014 at 03:56 PM
I updated Xcode to Xcode 6 and the problem is solved. ..