Share Same Game Center Leaderboard iOS / tvOS / OS X?

Share Same Game Center Leaderboard iOS / tvOS / OS X?

我想知道是否有可能以某种方式分享 iOS 游戏中心排行榜的排行榜/成就,并用于 say tvOS 和 OS 同一游戏的 X 个版本?

或者每个单独的平台都必须维护自己的相同排行榜/成就的克隆?

如果可能的话,任何指向参考 material 的链接都很棒,我找不到任何东西,除非在电视 OS 主题演讲中提到这样的事情。

有两种解决方案:一种用于 iOS / tvOS,一种用于所有三种。

据 Apple 的 amandavoss 称

For iOS and TVOS you can use the new "universal bundle ID" feature where you can add a TVOS version of the app to the existing iOS bundle ID. In iTunes Connect you would just go to the iOS app in question and in the App Store view click + Version. Select TVOS and go from there.

Another option would be to group them games. This would add "grp." to all leaderboard and achievement identifiers but can be shared by all apps in the group (where each app has a unique bundle ID). For that simple "Move to Group" in iTunes Connect.

amandavoss

https://forums.developer.apple.com/thread/24514

对于 iOS 和 TVOS,这是可能的,如果它们使用相同的 BundleID。

如果您已有 iOS 项目,只需打开 iTunes Connect。点击“+”按钮添加 Apple TV 版本。两人将分享他们的排行榜。