iOS 8 beta 5 Game Center Sandbox won't recogni

2020-02-12 01:23发布

I trying use GC sandbox in game, on iOS 7 it works fine, but on iOS 8 beta5 GC authentication return error "The requested operation could not be completed because this application is not recognized by Game Center". In production GC work fine on iOS 7 and 8 beta5.

标签: ios sandbox ios8
5条回答
兄弟一词,经得起流年.
2楼-- · 2020-02-12 01:45

If you aren't seeing the sandbox switch under Settings > game center (developer section), then you need to connect the device to XCode

OR: Use Apple's testflight iOS app found here on the App Store: https://itunes.apple.com/us/app/testflight/id899247664?mt=8

That will enable the developer Sandbox switch as well. Using the old testflight web link tool on iOS doesn't enable the sandbox switch.

查看更多
爷的心禁止访问
3楼-- · 2020-02-12 01:52

Make sure you add an app to iTunes Connect and enable Game Center for it, not just the provisioning/entitlements. Then I added a leaderboard as Alcides Eduardo Zelaya suggested.

From the GKLocalPlayer docs:

Receiving a GKErrorGameUnrecognized error means that you have not enabled Game Center for your app in App Store Connect. Sign in to your App Store Connect account and verify that your app has Game Center enabled. Also, confirm that the bundle identifier in your Xcode project matches the bundle identifier you assigned to your app in App Store Connect.

查看更多
Lonely孤独者°
4楼-- · 2020-02-12 01:54

Was having the same issue and solved it by adding a leaderboard in iTunes Connect.

查看更多
我命由我不由天
5楼-- · 2020-02-12 01:59

If you plug in the device and then look at the settings/ gamecenter. The setting for the sandbox will show up.

查看更多
做自己的国王
6楼-- · 2020-02-12 02:04

You should turn on the GC sandbox mode.

go to settings --> game center

scroll to the bottom, there is a "sandbox" swith under "developer".

(Important! - These developer options are hidden until you have connected the device to XCode 6. If you didn't use XCode and deployed your app in some other way - e.g. Testflight, iPCU, iTunes, then you will not see these options)

查看更多
登录 后发表回答