Closed RoLYroLLs closed 9 years ago
I found out the problem. In iOS8 - (instancetype)initWithPlayerIDs:(NSArray *)playerIDs
where playerIDs
is An array of NSString objects that holds the player identifier strings of the players to retrieve.
, is depreciated. Xcode suggested to use - (instancetype)initWithPlayers:(NSArray *)players
where players
is An array of GKPlayer objects that holds the player identifiers to be retrieved.
I changed the method in GCM but did not change the data in the NSArray. I will submit a pull request so that is iOS 8 is detected it will use the new method.
Using Xcode 6.3.2 with deployment target of 8.2, whenever I call the resetAchievementsWithCompletion: function I get:
Please let me know how to better collect debug information to help diagnose. I'm not very familiar with the best way. I did find that when I comment out
[self syncGameCenter]
(https://github.com/nihalahmed/GameCenterManager/blob/master/GC%20Manager/GameCenterManager.m#L1001) the error doesn't occur.Will try to look further into this issue.