在 iPhone 上的 Game Center 上创建沙盒帐户
我已经找了几天了,却找不到任何东西。
我有一台 iPod touch 4g,刚刚开始将 Game Center 添加到我正在开发的游戏中。
这在模拟器中运行良好,但是当我尝试在我的设备上测试(在调试模式下运行应用程序)时,游戏中心无法识别该游戏。
我在其他论坛上看到我应该处于沙盒模式,但我似乎无法在我的设备上输入它。
请问谁能告诉我如何进入SB模式
谢谢
I have been searching for a few days now an cannot find a thing.
I have an ipod touch 4g and have just started adding Game Center to a game i'm working on.
This works fine in the simulator, but when i try to test on my device (running the app in debug mode), the game isn't recognised by Game Center.
I've seen on other forums that i should be in sandbox mode, but i cant seem to enter it on my device.
Please could someone tell me how to enter SB mode
Thanks
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(7)
您要做的是:
它有助于首先在 sim 中创建沙盒帐户,只是为了确保您没有真正创建 Gamecenter 帐户。
为了完全确定创建沙盒帐户,请在模拟器上运行 Gamecenter 并在那里创建一个帐户。
What you do is:
It helps to create the sandbox account in the sim first, just to be sure you aren't really create a Gamecenter account.
To be fully sure of creating a sandbox account, run Gamecenter on the simulator and create an account there.
从 iOS 配置门户:
基本上有两个步骤:
From the iOS Provisioning Portal:
Basically there are two steps:
尽管 Kendall 解释的内容在过去是有效的,但从 iOS9 开始,您似乎必须从 iTunesConnect 创建沙盒帐户。
Although what Kendall explains used to work in the past, from iOS9 it seems you have to create the sandbox accounts from iTunesConnect.
现在,在 iOS 8 中,整个过程似乎更简单了。我所要做的就是转到
Settings
->Game Center
并在Developer
部分下启用Sandbox
。那时,我可以通过我的个人帐户和沙盒帐户在游戏的开发版本中使用 Game Center。It seems this whole process is simpler now in iOS 8. All I had to do was go to
Settings
->Game Center
and under theDeveloper
section, enableSandbox
. At that point I was able to use Game Center in the development build of my game with my personal account and also with a sandbox account just fine.遗憾的是,自 iOS 9 起,Apple 就不再支持 Game Center 的沙盒环境,请参阅
今天,如果我们想使用新的游戏中心帐户进行测试,我们需要使用实际的电子邮件地址创建新的Apple ID 对于两个因素授权。
Sadly, Apple deprecated the sandbox environment for Game Center since iOS 9, see
Today, if we want to test with a new game center account, we need to create new apple ID with an actual email address for two factor authorization.
有同样的问题。这对我有用:
1.注销GC,卸载APPSYNC(如果您已越狱),杀死所有进程。
2. 创建临时构建,使用适当的权利对其进行签名,上传到您的网络服务器,等等。
3. 下载/安装此 ipa 到您的设备并运行,当要求创建新帐户或使用现有帐户时 - 它将在沙箱内注册(或创建,如果是新帐户)。
Had the same problem. This worked for me:
1. log out GC, UNINSTALL APPSYNC if your're jailbroken, kill all processes.
2. create adhoc build, sign it with an appropriate entitlement, upload to your webserver, whatever.
3. download/install this ipa to your device and run, when asked create new account, or use existing - it will be registered (or created if new) inside sandbox.
对许多人来说最简单的修复方法如下:
The simplest fix that should work for many people is as follows: