Stuart Breckenridge

GameKit Replaced in iOS 9 Beta 3

One of the smaller changes I overlooked in the iOS 9 Beta 3 API diffs was that GameKit had been replaced with GameCenter. Attempting to run an app without making changes led to a strange error with the YouTube.framework:

dyld: Library not loaded: /System/Library/PrivateFrameworks/YouTube.framework/YouTube  
  Referenced from: /Applications/Xcode-beta.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/System/Library/Frameworks/ReplayKit.framework/ReplayKit  
  Reason: image not found

To resolve, link to the GameCenter framework and replace:

import GameKit

with

import GameCenter

Supported by