GameCenterManager icon indicating copy to clipboard operation
GameCenterManager copied to clipboard

Game Center Manager 2022 - Update for iOS 14+ Objective-C GameKit

Open danoli3 opened this issue 3 years ago • 2 comments

For the Objective-C / C++ GameCenter game dev users: here's some fresh working code

Update for iOS 14+ Objective-C GameKit

  • Fixes crashes associated with old API's on iOS 14 where targeting new builds + Fixes: https://github.com/nihalahmed/GameCenterManager/issues/78
  • Updates Game Center GameKit API usage to latest
  • Changes Leaderboard setup methods where leaderboards in use
  • Removes Ancient Deprecated Functions
  • GameCenterManager - Deprecates old API usage for < iOS 12 GKScore etc
  • iOS Example Updated
  • Xcode Project Upgraded
  • Updated Graphics in Example to use Required Apple Game Center Logos / Guidelines as of 2022
  • Updates Obj-c NSArchive to latest API's / Fixes crashes

Bug Fixes:

  • Fixes authentication view if already authenticated

iOS Tested working on Devices

  • iOS 12
  • iOS 14
  • iOS 15
  • iOS 16 BETA

_macOS examples not yet updated / tvOS examples not yet updated / code fixes not yet fully fixed or tested or macOS _

danoli3 avatar Aug 04 '22 03:08 danoli3

Summon @nihalahmed @Sam-Spencer

danoli3 avatar Aug 04 '22 03:08 danoli3

More updates:

  • Updated further with fixes for iOS 13.0 (crashing old api code)
  • Feature fixes for NSDefaults saving
  • Fixes Serialisation via Conditional class overload of GKLeaderScore* which apple has not provided a serialisation NSCoder method by default which was causing inoperable saved leaderboards for offline scores
  • Added NSDefaults Encryption for scores
  • Added context for scores passed through

danoli3 avatar Aug 31 '22 10:08 danoli3