在 iPhone 上的 Game Center 上创建沙盒帐户

发布于 2024-10-28 16:02:12 字数 225 浏览 0 评论 0原文

我已经找了几天了,却找不到任何东西。

我有一台 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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(7

小帐篷 2024-11-04 16:02:12

您要做的是:

  1. 退出 Gamecenter。
  2. 在设备(或模拟器)上运行您的应用程序
  3. 当它要求您提供应用程序中的帐户详细信息时,创建一个新帐户。这将是一个沙盒帐户。

它有助于首先在 sim 中创建沙盒帐户,只是为了确保您没有真正创建 Gamecenter 帐户。

为了完全确定创建沙盒帐户,请在模拟器上运行 Gamecenter 并在那里创建一个帐户。

What you do is:

  1. Log out of Gamecenter.
  2. Run you app on the device (or the simualtor)
  3. When it asks you for your account details in your app, create a new account. That will be a sandbox account.

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.

新雨望断虹 2024-11-04 16:02:12

从 iOS 配置门户:

为了利用游戏中心
用于测试的沙箱,您还必须
创建一个新的游戏中心测试用户
Game Center 应用程序中的帐户
在您的设备上。

所有显式应用程序 ID 都会自动
已启用应用内购买和游戏
中心。通配符应用程序 ID 和
现有显式应用程序的重复项
ID 不符合应用内购买资格
和游戏中心。

基本上有两个步骤:

  1. 在支持开发的 iOS 设备上,创建一个新的 Game Center 帐户。
  2. 必须使用 com.yourcompany.yourappname 形式的应用 ID 来签署您的应用,不能简单地使用通配符开发 ID/配置文件(com.yourcompany.* 形式),因为 < strong>否则 Game Center 将无法识别您的应用。

From the iOS Provisioning Portal:

In order to utilize the Game Center
Sandbox for testing, you must also
create a new Game Center Test User
account in the Game Center application
on your device.

All explicit App IDs are automatically
enabled for In App Purchase and Game
Center. Wildcard App IDs and
duplicates of existing explicit App
IDs are ineligible for In App Purchase
and Game Center.

Basically there are two steps:

  1. On a development enabled iOS Device, create a new Game Center account.
  2. You must sign your app with an App ID in the form com.yourcompany.yourappname, you can't simply use the wildcard development id/provisioning profile (in the form com.yourcompany.*) because Game Center won't recognize your app otherwise.
生生漫 2024-11-04 16:02:12

尽管 Kendall 解释的内容在过去是有效的,但从 iOS9 开始,您似乎必须从 iTunesConnect 创建沙盒帐户。

iTunesConnect -> Users And Roles -> Sandbox Testers
  • 单击 (+) 图标创建新用户。
  • 从 XCode 启动您的应用程序,并在出现提示时使用沙箱电子邮件帐户和密码。
  • 按照提示创建 Game Center 帐户。

Although what Kendall explains used to work in the past, from iOS9 it seems you have to create the sandbox accounts from iTunesConnect.

iTunesConnect -> Users And Roles -> Sandbox Testers
  • Click on the (+) icon to create a new user.
  • Start your app from XCode, and when prompted, use the sandbox e-mail account and password.
  • Follow prompts to create the Game Center account.
柏林苍穹下 2024-11-04 16:02:12

现在,在 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 the Developer section, enable Sandbox. 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.

娇柔作态 2024-11-04 16:02:12

遗憾的是,自 iOS 9 起,Apple 就不再支持 Game Center 的沙盒环境,请参阅

作为iOS 9和El Capitan发行的一部分,游戏中心开发沙盒已被消除,使所有预发行的开发都可以在与已发布的游戏完全相同的服务器环境中发生。

今天,如果我们想使用新的游戏中心帐户进行测试,我们需要使用实际的电子邮件地址创建新的Apple ID 对于两个因素授权。

Sadly, Apple deprecated the sandbox environment for Game Center since iOS 9, see

As part of the release of iOS 9 and El Capitan, the Game Center development sandbox has been eliminated, allowing all pre-release development to occur in exactly the same server environment as released games.

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.

嗳卜坏 2024-11-04 16:02:12

有同样的问题。这对我有用:
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.

徒留西风 2024-11-04 16:02:12

对许多人来说最简单的修复方法如下:

  1. 关闭所有启用 Game Center 的游戏
  2. 打开 Game Center
  3. 如果您已登录沙盒帐户,请注销
  4. 如果没有,请创建一个虚拟沙盒帐户,然后在完成后注销
  5. 重新启动 Game Center
  6. 尝试使用您的真实帐户登录,这可能会解决问题
  7. 如果没有,请确保您已注销,然后退出 Game Center
  8. 启动支持 Game Center 的游戏,然后尝试登录您的真实帐户

The simplest fix that should work for many people is as follows:

  1. Close any Game Center enabled games
  2. Open up Game Center
  3. If you're logged in to a sandbox account, log out
  4. If not, create a dummy sandbox account, then log out once done
  5. Restart Game Center
  6. Try to log in using your real account, that may fix things
  7. If not, make sure you're logged out, then quit Game Center
  8. Start a Game Center enabled game, and try to log in your real account
~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文