无法在真实设备上运行RealTimeRoom Google Play游戏iOS ButtonClicker2000示例 [英] Can't run RealTimeRoom Google-Play-Games iOS ButtonClicker2000 sample on real device

查看:113
本文介绍了无法在真实设备上运行RealTimeRoom Google Play游戏iOS ButtonClicker2000示例的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试在 Real 设备上运行Google-Play-Games iOS示例ButtonClicker2000项目.(快速入门: https://developers.google.com/games/services/ios/quickstart
下载: https://developers.google.com/games/services/downloads/)

I'm trying to run Google-Play-Games iOS sample ButtonClicker2000 project on Real Device. (quickstart: https://developers.google.com/games/services/ios/quickstart
downloads: https://developers.google.com/games/services/downloads/)

  1. 登录GooglePlayService的过程未显示任何错误.
  2. 我确定我的Google控制台项目设置正确.
  3. 在模拟器上启动时没有任何问题

在真实设备上(在iPhone或iPad上无关紧要),当我单击快速匹配按钮时,出现此错误(在底部):

BUT on a real device (it doesn't matter on iphone or ipad) when i click on quick match button i get this error (at the bottom):

INFO: Auth operation started: SIGN IN 
NFO: Auth operation SIGN IN finished with status VALID
ERROR: Attempting to get name of an invalid Player 
ERROR: Attempting to get avatar URL of an invalid Player
ERROR: Attempting to get id of an invalid Player
ERROR: Attempting to get title of an invalid Player
ERROR: Attempting to get current xp of an invalid Player
ERROR: Attempting to get last level up timestamp of an invalid Player
ERROR: Attempting to get current level of an invalid Player
ERROR: Attempting to get level number of an invalid PlayerLevel
ERROR: Attempting to get minimum xp of an invalid PlayerLevel
ERROR: Attempting to get maximum xp of an invalid PlayerLevel
ERROR: Attempting to get next level of an invalid Player<br/>
ERROR: Attempting to get level number of an invalid PlayerLevel
ERROR: Attempting to get minimum xp of an invalid PlayerLevel
ERROR: Attempting to get maximum xp of an invalid PlayerLevel
[Core] (Error) __49-[GPGService executeOperation:completionHandler:]_block_invoke:[main] Server Operation Failed [appstate.states.list]
    Error: The operation couldn’t be completed. (Insufficient Permission)
    Error Full: Error Domain=com.google.GTLJSONRPCErrorDomain Code=403 "The operation couldn’t be completed. (Insufficient Permission)" UserInfo=0x1758e420 {error=Insufficient Permission, GTLStructuredError=GTLErrorObject 0x175b2e00: {message:"Insufficient Permission" code:403 data:[1]}, NSLocalizedFailureReason=(Insufficient Permission)}
GooglePlayGames finished signing in!
VERBOSE: Automatically seeded snapshot cache.
VERBOSE: Automatically seeded achievement cache.
VERBOSE: Automatically seeded event cache.
Showing a RTRVC with max players of 4
Unbalanced calls to begin/end appearance transitions for <GPGLauncherWindowRootViewController: 0x176cb3c0>.
**INFO: Connect with retry.getRetryAuthToken(): 1
INFO: Token expired.  Refreshing.
libc++abi.dylib: terminating with uncaught exception of type std::__1::system_error: condition_variable::timed wait: mutex not locked: Operation not permitted**


如何解决此错误?真的很感谢任何帮助


How can i fix this bug? Any help is really appreciated

推荐答案

最终,我找到了解决此问题的有效解决方案.我不知道确切的时间,但是Google的伙计们为C ++ SDK添加了"objective c"标头.这些标头是C ++的一种绑定.因此,C ++ SDK变得可拖放.

Eventually i've found working solution for this issue. I don't know when exactly but google's guys added "objective c" headers for C++ SDK. These headers are kind of bindings for C++. So the C++ SDK became drag-and-dropable.

这篇关于无法在真实设备上运行RealTimeRoom Google Play游戏iOS ButtonClicker2000示例的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆