在真实设备上无法运行RealTimeRoom Google-Play-Games iOS ButtonClicker2000示例
我试图在真实设备上运行Google-Play-Games iOS示例ButtonClicker2000项目。 (快速入门: https : //developers.google.com/games/services/ios/quickstart
下载: https : //developers.google.com/games/services/downloads/ )
- loginGooglePlayService的过程不会显示任何错误。
- 我敢肯定,我的谷歌控制台项目设置正确。
- 在模拟器上启动时,我没有任何问题
但在一个真正的设备(它没有关系在iPhone或iPad上),当我点击快速button,我得到这个错误(在底部):
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**
我如何解决这个错误? 任何帮助真的很感激
最终,我发现这个问题的工作解决scheme。 我不知道什么时候,但谷歌的球员添加“客观C”头C ++ SDK。 这些头文件是C ++的一种绑定。 所以C ++ SDK变成了拖放式的。