forked from swiftlang/swift
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
In iOS 9 and OS X 10.11 the old GameKit was effectively renamed GameCenter, while the new GameKit is a sort of umbrella framework like Cocoa. We need to support backwards deployment, though, so the GameCenter overlay links to GameKit.framework. (This is essentially the same solution implemented for CoreImage moving out of QuartzCore in r28449) rdar://problem/21340738 Swift SVN r30322
- Loading branch information
1 parent
78c1961
commit 965285f
Showing
5 changed files
with
11 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
Name: GameKit | ||
Name: GameCenter | ||
Classes: | ||
- Name: GKLocalPlayer | ||
Methods: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
add_swift_library(swiftGameCenter IS_SDK_OVERLAY | ||
GameCenter.swift | ||
TARGET_SDKS OSX IOS IOS_SIMULATOR TVOS TVOS_SIMULATOR | ||
SWIFT_MODULE_DEPENDS Foundation | ||
SWIFT_MODULE_DEPENDS_OSX AppKit | ||
SWIFT_MODULE_DEPENDS_IOS_TVOS UIKit | ||
FRAMEWORK_DEPENDS GameKit # some of these types used to be in GameKit | ||
) |
2 changes: 1 addition & 1 deletion
2
stdlib/public/SDK/GameKit/GameKit.swift → ...ib/public/SDK/GameCenter/GameCenter.swift
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.