首页 > 代码库 > ios Google play service接入步骤

ios Google play service接入步骤

首先按照:

https://developers.google.com/games/services/

iOS start guide说明

建立应用和其他步骤

在console中可以建立app

https://console.developers.google.com/project/

之后需要在

https://play.google.com/apps/publish/

中配置好工程,填入bundleid和其他信息,重要*要加入测试账号,不然会导致app的未发布状态下去测试会一直无法login,登陆后授权会填登出跳转到授权页面

会有:

这样的错误。

ERROR: Attempting to get name of an invalid Player2014-12-15 10:39:52.210 CollectAllTheStars[1071:33769] ERROR: Attempting to get avatar URL of an invalid Player2014-12-15 10:39:52.211 CollectAllTheStars[1071:33769] ERROR: Attempting to get id of an invalid Player2014-12-15 10:39:52.211 CollectAllTheStars[1071:33769] ERROR: Attempting to get title of an invalid Player2014-12-15 10:39:52.211 CollectAllTheStars[1071:33769] ERROR: Attempting to get current xp of an invalid Player2014-12-15 10:39:52.211 CollectAllTheStars[1071:33769] ERROR: Attempting to get last level up timestamp of an invalid Player2014-12-15 10:39:52.211 CollectAllTheStars[1071:33769] ERROR: Attempting to get current level of an invalid Player2014-12-15 10:39:52.211 CollectAllTheStars[1071:33769] ERROR: Attempting to get level number of an invalid PlayerLevel2014-12-15 10:39:52.211 CollectAllTheStars[1071:33769] ERROR: Attempting to get minimum xp of an invalid PlayerLevel2014-12-15 10:39:52.212 CollectAllTheStars[1071:33769] ERROR: Attempting to get maximum xp of an invalid PlayerLevel2014-12-15 10:39:52.212 CollectAllTheStars[1071:33769] ERROR: Attempting to get next level of an invalid Player2014-12-15 10:39:52.212 CollectAllTheStars[1071:33769] ERROR: Attempting to get level number of an invalid PlayerLevel2014-12-15 10:39:52.212 CollectAllTheStars[1071:33769] ERROR: Attempting to get minimum xp of an invalid PlayerLevel2014-12-15 10:39:52.212 CollectAllTheStars[1071:33769] ERROR: Attempting to get maximum xp of an invalid PlayerLevel2014-12-15 10:39:52.212 CollectAllTheStars[1071:33769] WARNING: Could not automatically seed snapshot cache.

 

ios Google play service接入步骤