Commit 58aa87d07a467fd45d3fe8b67aa7b6c681bedbe6
1 parent
63a85a9542
Exists in
master
账号联动和iap支付中重复充值中的问题
Showing 18 changed files with 107 additions and 105 deletions Inline Diff
- IOSDocument.md
- README.md
- ios/GameSDK.framework/Versions/A/GameSDK
- ios/GameSDK.framework/Versions/A/Headers/LetsGameAPI.h
- ios/GameSDK.zip
- ios/GameSDKDemo/GameSDKDemo.xcodeproj/project.pbxproj
- ios/GameSDKDemo/GameSDKDemo.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist
- ios/GameSDKDemo/GameSDKDemo.xcodeproj/project.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings
- ios/GameSDKDemo/GameSDKDemo.xcodeproj/project.xcworkspace/xcuserdata/yanglele.xcuserdatad/UserInterfaceState.xcuserstate
- ios/GameSDKDemo/GameSDKDemo.xcodeproj/project.xcworkspace/xcuserdata/yanglele.xcuserdatad/WorkspaceSettings.xcsettings
- ios/GameSDKDemo/letsgameDemo/LSGMainViewController.m
- ios/GameSDKResources.bundle/en.strings
- ios/GameSDKResources.bundle/images/logClose@2x.png
- ios/GameSDKResources.bundle/th.strings
- ios/GameSDKResources.bundle/zh-Hans.strings
- ios/GameSDKResources.bundle/zh-Hant.strings
- ios/GumpLoginSDK.framework/Versions/A/GumpLoginSDK
- ios/GumpLoginSDK.framework/Versions/A/Headers/GPGameLoginSDK.h
IOSDocument.md
| 1 | # Gump IOS SDK使用文档 | 1 | # Gump IOS SDK使用文档 |
| 2 | 2 | ||
| 3 | 3 | ||
| 4 | 接入手册 | 4 | 接入手册 |
| 5 | 登陆sdk:GumpLoginSDK.framework v1.0.8 | 5 | 登陆sdk:GumpLoginSDK.framework v1.0.11 |
| 6 | 支付sdk: GameSDK.framework v4.0.6 | 6 | 支付sdk: GameSDK.framework v4.0.7 |
| 7 | 2019年3月15日 | 7 | 2019年5月31日 |
| 8 | 8 | ||
| 9 | ## 概述 | 9 | ## 概述 |
| 10 | #### 本SDK提供Game Center登陆 和 游客登陆两种账号登录,iap支付和第三方支付两种支付功能,活动SDK(大转盘等)。 | 10 | #### 本SDK提供Game Center登陆 和 游客登陆两种账号登录,iap支付和第三方支付两种支付功能,活动SDK(大转盘等)。 |
| 11 | 11 | ||
| 12 | ## 接入步骤 | 12 | ## 接入步骤 |
| 13 | ### 1、添加Framework和资源文件 | 13 | ### 1、添加Framework和资源文件 |
| 14 | + 以下为必须添加的framework以及资源bundle: | 14 | + 以下为必须添加的framework以及资源bundle: |
| 15 | MobileCoreServices.framework、SystemConfiguration.framework、libz.dylib、CFNetwork.framework、GumpLoginSDK.framework、GameSDK.framework、GameActivitySDK.framework、StoreKit.framework、GameSDKResources.bundle | 15 | MobileCoreServices.framework、SystemConfiguration.framework、libz.dylib、CFNetwork.framework、GumpLoginSDK.framework、GameSDK.framework、GameActivitySDK.framework、StoreKit.framework、GameSDKResources.bundle |
| 16 | 16 | ||
| 17 | ### 2、引入头文件,设置build setting | 17 | ### 2、引入头文件,设置build setting |
| 18 | 因sdk内使用了category,需要设置other linker flag为 -ObjC | 18 | 因sdk内使用了category,需要设置other linker flag为 -ObjC |
| 19 | 19 | ||
| 20 | 20 | ||
| 21 | ### 3、增加必要配置 | 21 | ### 3、增加必要配置 |
| 22 | 1)在application delegate中, 在application:openURL:sourceApplication:annotation:添加返回: | 22 | 1)在application delegate中, 在application:openURL:sourceApplication:annotation:添加返回: |
| 23 | 23 | ||
| 24 | return [[LetsGameAPI instance] handleOpenURL:url sourceApplication:sourceApplication]; | 24 | return [[LetsGameAPI instance] handleOpenURL:url sourceApplication:sourceApplication]; |
| 25 | 25 | ||
| 26 | 2) 在工程的Targets->Capablities->Game Center 打开 | 26 | 2) 在工程的Targets->Capablities->Game Center 打开 |
| 27 | 27 | ||
| 28 | 28 | ||
| 29 | ### 4、在工程里添加SDK登录代码 | 29 | ### 4、在工程里添加SDK登录代码 |
| 30 | 添加GumpLoginSDK.framework | 30 | 添加GumpLoginSDK.framework |
| 31 | 31 | ||
| 32 | 32 | ||
| 33 | [[GPGameLoginSDK instance] GPGameLoginWithViewController:self appID:@"100" channelId:@"10002"]; | 33 | [[GPGameLoginSDK instance] GPGameLoginWithViewController:self appID:@"100" channelId:@"10002"]; |
| 34 | [GPGameLoginSDK instance].succBlock = ^(NSNumber *userId, ACCOUNTTYPE type) { | 34 | [GPGameLoginSDK instance].succBlock = ^(NSNumber *userId, ACCOUNTTYPE type) { |
| 35 | self.resultLabel.text = [NSString stringWithFormat:@"userId: %@, accountType: %ld", userId, (long)type]; | 35 | self.resultLabel.text = [NSString stringWithFormat:@"userId: %@, accountType: %ld", userId, (long)type]; |
| 36 | }; | 36 | }; |
| 37 | [GPGameLoginSDK instance].failBlock = ^{ | 37 | [GPGameLoginSDK instance].failBlock = ^{ |
| 38 | self.resultLabel.text = @"login error"; | 38 | self.resultLabel.text = @"login error"; |
| 39 | }; | 39 | }; |
| 40 | 40 | ||
| 41 | 41 | ||
| 42 | ### 5、第三方支付 | 42 | ### 5、第三方支付 |
| 43 | [LetsGameAPI instance].appId = @"10022"; | 43 | [LetsGameAPI instance].appId = @"10022"; |
| 44 | NSMutableDictionary *payInfo = [NSMutableDictionary dictionary]; | 44 | NSMutableDictionary *payInfo = [NSMutableDictionary dictionary]; |
| 45 | [payInfo setValue:@"5001" forKey:@"serverId"];//服务器id,必传参数 | 45 | [payInfo setValue:@"5001" forKey:@"serverId"];//服务器id,必传参数 |
| 46 | [payInfo setValue:@"10010" forKey:@"roleId"];//用户角色id | 46 | [payInfo setValue:@"10010" forKey:@"roleId"];//用户角色id |
| 47 | [payInfo setValue:@"1595907" forKey:@"userId"];//用户ID userId | 47 | [payInfo setValue:@"1595907" forKey:@"userId"];//用户ID userId |
| 48 | [payInfo setValue:@"1000" forKey:@"channelId"];//渠道id | 48 | [payInfo setValue:@"1000" forKey:@"channelId"];//渠道id |
| 49 | [payInfo setValue:@"10" forKey:@"amount"];//金额 | 49 | [payInfo setValue:@"10" forKey:@"amount"];//金额 |
| 50 | [payInfo setValue:@"ios demo" forKey:@"extraInfo"];//外部订单信息 | 50 | [payInfo setValue:@"ios demo" forKey:@"extraInfo"];//外部订单信息 |
| 51 | [payInfo setValue:@"test1" forKey:@"product"];//商品ID | 51 | [payInfo setValue:@"test1" forKey:@"product"];//商品ID |
| 52 | [[LetsGameAPI instance] pWeb:payInfo handleCallBack:^{ | 52 | [[LetsGameAPI instance] pWeb:payInfo handleCallBack:^{ |
| 53 | //第三方支付完成时的回调(包括支付成功和支付失败,除了支付过程中取消的),取消的不会有回调 | 53 | //第三方支付完成时的回调(包括支付成功和支付失败,除了支付过程中取消的),取消的不会有回调 |
| 54 | NSLog(@"第三方支付完成"); | 54 | NSLog(@"第三方支付完成"); |
| 55 | }]]; | 55 | }]]; |
| 56 | 56 | ||
| 57 | ### 6、IAP支付 | 57 | ### 6、IAP支付 |
| 58 | 若要使用apple IAP支付,需要在AppDelegate的application: didFinishLaunchingWithOptions:方法内注册iap observer,使用如下方法 | 58 | 若要使用apple IAP支付,需要在AppDelegate的application: didFinishLaunchingWithOptions:方法内注册iap observer,使用如下方法 |
| 59 | 59 | ||
| 60 | [[LetsGameAPI instance] registeIapObserver]; | 60 | [[LetsGameAPI instance] registeIapObserver]; |
| 61 | 具体调用iap支付的方法如下: | 61 | 具体调用iap支付的方法如下: |
| 62 | 62 | ||
| 63 | [LetsGameAPI instance].appId = @"100"; | 63 | [LetsGameAPI instance].appId = @"100"; |
| 64 | NSMutableDictionary *payInfo = [NSMutableDictionary dictionary]; | 64 | NSMutableDictionary *payInfo = [NSMutableDictionary dictionary]; |
| 65 | [payInfo setValue:@"5001" forKey:@"serverId"];//当前用户所在的服务器Id | 65 | [payInfo setValue:@"5001" forKey:@"serverId"];//当前用户所在的服务器Id |
| 66 | [payInfo setValue:@"10010" forKey:@"roleId"];//当前用户的角色id | 66 | [payInfo setValue:@"10010" forKey:@"roleId"];//当前用户的角色id |
| 67 | [payInfo setValue:@"1595907" forKey:@"userId"];//用户ID userId | 67 | [payInfo setValue:@"1595907" forKey:@"userId"];//用户ID userId |
| 68 | [payInfo setValue:@"1000" forKey:@"channelId"];//渠道id,用于统计 | 68 | [payInfo setValue:@"1000" forKey:@"channelId"];//渠道id,用于统计 |
| 69 | [payInfo setValue:@"10" forKey:@"amount"];//对应支付项的支付金额,实际支付金额以itunes配置为准 | 69 | [payInfo setValue:@"10" forKey:@"amount"];//对应支付项的支付金额,实际支付金额以itunes配置为准 |
| 70 | [payInfo setValue:@"ios demo" forKey:@"extraInfo"];//扩展信息,可以游戏自定义,建议传自有订单号 | 70 | [payInfo setValue:@"ios demo" forKey:@"extraInfo"];//扩展信息,可以游戏自定义,建议传自有订单号 |
| 71 | [payInfo setValue:@"test.product.1" forKey:@"product"];//itunes 后台配置的对应支付项的productId | 71 | [payInfo setValue:@"test.product.1" forKey:@"product"];//itunes 后台配置的对应支付项的productId |
| 72 | [[LetsGameAPI instance] iap:payInfo succCallback:^(NSString *orderId) { | 72 | [[LetsGameAPI instance] iap:payInfo succCallback:^(NSString *orderId) { |
| 73 | //此处的回调表明支付已经完成,但此时支付不一定成功,需要服务端验证支付结果 | 73 | //此处的回调表明支付已经完成,但此时支付不一定成功,需要服务端验证支付结果 |
| 74 | //orderId为gump生成的订单号,此订单号可以在gump server查询此笔支付是否成功 | 74 | //orderId为gump生成的订单号,此订单号可以在gump server查询此笔支付是否成功 |
| 75 | NSLog(@"IAP completed orderId of Gumptech:%@",orderId); | 75 | NSLog(@"IAP completed orderId of Gumptech:%@",orderId); |
| 76 | } failCallback:^(NSString *orderId) { | 76 | } failCallback:^(NSString *orderId) { |
| 77 | //支付失败 | 77 | //支付失败 |
| 78 | NSLog(@"IAP file orderId of Gumptech:%@",orderId); | 78 | NSLog(@"IAP file orderId of Gumptech:%@",orderId); |
| 79 | }]; | 79 | }]; |
| 80 | 80 | ||
| 81 | 81 | ||
| 82 | ### 7、第三方支付版本 | 82 | ### 7、第三方支付版本 |
| 83 | 第三方支付,分成两个版本:没有gump币和有gump币,不设置时默认为不带gump币版本,如果使用带gump币的版本如下设置: | 83 | 第三方支付,分成两个版本:没有gump币和有gump币,不设置时默认为不带gump币版本,如果使用带gump币的版本如下设置: |
| 84 | 84 | ||
| 85 | 需要在 application:didFinishLaunchingWithOptions方法中添加: | 85 | 需要在 application:didFinishLaunchingWithOptions方法中添加: |
| 86 | 86 | ||
| 87 | [[LetsGameAPI instance] decideWebToVersion:1] | 87 | [[LetsGameAPI instance] decideWebToVersion:1] |
| 88 | 88 | ||
| 89 | ### 8、第三方支付横竖屏设置 | 89 | ### 8、第三方支付横竖屏设置 |
| 90 | 添加GameSDK.framework | 90 | 添加GameSDK.framework |
| 91 | 首先设置支付SDK默认是横屏,在General->Deployment Info->Device Orientain下,只选择Landscape Left 和 Landscape Right,SDK的界面默认是横屏。 | 91 | 首先设置支付SDK默认是横屏,在General->Deployment Info->Device Orientain下,只选择Landscape Left 和 Landscape Right,SDK的界面默认是横屏。 |
| 92 | 其次如果想使用竖屏的模式,需要在General->Deployment Info->Device Orientain下,只选择Portrait模式,并且需要在AppDelegate中的方法: | 92 | 其次如果想使用竖屏的模式,需要在General->Deployment Info->Device Orientain下,只选择Portrait模式,并且需要在AppDelegate中的方法: |
| 93 | - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions;靠前的位置添加代码设置: | 93 | - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions;靠前的位置添加代码设置: |
| 94 | 94 | ||
| 95 | [LetsGameAPI DeviceOrientationIsHorizontal:NO]; | 95 | [LetsGameAPI DeviceOrientationIsHorizontal:NO]; |
| 96 | 96 | ||
| 97 | ### 9、活动添加 | 97 | ### 9、活动添加 |
| 98 | 添加GameActivitySDK.framework | 98 | 添加GameActivitySDK.framework |
| 99 | 设置:设置xxxx.plist | 99 | 设置:设置xxxx.plist |
| 100 | 只支持HTTP的方式,需要将相应的项目的xxx.plist添加Information Property List->App Transport Security Settings -> Allow Arbitrary Loads设置为YES | 100 | 只支持HTTP的方式,需要将相应的项目的xxx.plist添加Information Property List->App Transport Security Settings -> Allow Arbitrary Loads设置为YES |
| 101 | 101 | ||
| 102 | 工程中添加SDK登录代码: | 102 | 工程中添加SDK登录代码: |
| 103 | 103 | ||
| 104 | NSMutableDictionary *activityInfo = [NSMutableDictionary dictionary]; | 104 | NSMutableDictionary *activityInfo = [NSMutableDictionary dictionary]; |
| 105 | [activityInfo setValue:@"100" forKey:@"appId"]; | 105 | [activityInfo setValue:@"100" forKey:@"appId"]; |
| 106 | [activityInfo setValue:@"123456" forKey:@"userId"]; | 106 | [activityInfo setValue:@"123456" forKey:@"userId"]; |
| 107 | [activityInfo setValue:@"111" forKey:@"serverId"]; | 107 | [activityInfo setValue:@"111" forKey:@"serverId"]; |
| 108 | [activityInfo setValue:@"aaa" forKey:@"serverName"]; | 108 | [activityInfo setValue:@"aaa" forKey:@"serverName"]; |
| 109 | [activityInfo setValue:@"222" forKey:@"roleId"]; | 109 | [activityInfo setValue:@"222" forKey:@"roleId"]; |
| 110 | [activityInfo setValue:@"ccc" forKey:@"roleName"]; | 110 | [activityInfo setValue:@"ccc" forKey:@"roleName"]; |
| 111 | [activityInfo setValue:@"888" forKey:@"diamond"]; | 111 | [activityInfo setValue:@"888" forKey:@"diamond"]; |
| 112 | //活动关闭的回调 | 112 | //活动关闭的回调 |
| 113 | [[LetsGameActivityAPI instance] GameActivityWithParaDictory:activityInfo handleCallBackL:^{ | 113 | [[LetsGameActivityAPI instance] GameActivityWithParaDictory:activityInfo handleCallBackL:^{ |
| 114 | NSLog(@"activity finish!"); | 114 | NSLog(@"activity finish!"); |
| 115 | }]; | 115 | }]; |
| 116 | 116 | ||
| 117 | ### 10、绑定账号 | 117 | ### 10、账号联动 |
| 118 | 需要提供按钮绑定,点击事件调用下面方法。 | 118 | 需要提供按钮绑定,点击事件调用下面方法。 |
| 119 | 工程中需要添加SDK 绑定fb账号的代码: | 119 | 此功能涉及账号的绑定和切换,回调只有在切换成功之后才会出现,其他情况的回调都是失败的回调。 |
| 120 | 工程中添加SDK账号联动代码: | ||
| 120 | 121 | ||
| 121 | NSMutableDictionary *bindParaDic = [NSMutableDictionary dictionary]; | 122 | NSMutableDictionary *linkParaDic = [NSMutableDictionary dictionary]; |
| 122 | [bindParaDic setObject:@"100" forKey:@"appId"]; | 123 | [linkParaDic setObject:@"10022" forKey:@"appId"]; |
| 123 | [bindParaDic setObject:self.userId forKey:@"userId"]; | 124 | [linkParaDic setObject:self.userId forKey:@"userId"]; |
| 124 | [[GPGameLoginSDK instance] GPGameBingWithViewController:self InfoDic:bindParaDic succCallBack:^(NSNumber *userId, ACCOUNTENTERTYPE type) { | 125 | //仅在切换账号成功的时候有返回值 |
| 125 | //仅是绑定成功,并无切换账号的要求 | 126 | [[GPGameLoginSDK instance] GPGameAccountLinkViewController:self InfoDic:linkParaDic callBack:^(NSNumber *userId, ACCOUNTENTERTYPE type) { |
| 126 | self.resultLabel.text = [NSString stringWithFormat:@"userId: %@, accountType: %ld", userId, (long)type]; | 127 | self.resultLabel.text = [NSString stringWithFormat:@"userId: %@, accountType: %ld", userId, (long)type]; |
| 127 | } failCallBack:^{ | ||
| 128 | NSLog(@"bind fail"); | ||
| 129 | }]; | 128 | }]; |
| 130 | ### 11、切换fb账号 | ||
| 131 | 需要提供按钮切换fb账号,点击事件调用下面方法。 | ||
| 132 | 工程中添加SDK切换第三方账号代码: | ||
| 133 | 129 | ||
| 134 | NSMutableDictionary *bindParaDic = [NSMutableDictionary dictionary]; | 130 | ### 11、切换系统账号 |
| 135 | [bindParaDic setObject:@"100" forKey:@"appId"]; | ||
| 136 | [bindParaDic setObject:self.userId forKey:@"userId"]; | ||
| 137 | [[GPGameLoginSDK instance] GPGameSwitchWithViewController:self InfoDic:bindParaDic succCallBack:^(NSNumber *userId, ACCOUNTENTERTYPE type) { | ||
| 138 | //成功回调,切换成功,需要研发注销处理,然后重新调用登录接口,只有返回的是新的第三方账号对应的userID | ||
| 139 | self.resultLabel.text = [NSString stringWithFormat:@"userId: %@, accountType: %ld", userId, (long)type]; | ||
| 140 | } failCallBack:^{ | ||
| 141 | //失败回调,切换失败 | ||
| 142 | NSLog(@"bind fail"); | ||
| 143 | }]; | ||
| 144 | |||
| 145 | ### 12、切换系统账号 | ||
| 146 | 需要提供按钮切换系统账号,点击事件调用下面方法。 | 131 | 需要提供按钮切换系统账号,点击事件调用下面方法。 |
| 147 | 需要用户自己去往Game Center切换账号,之后再次登陆游戏才能实现账号切换。 | 132 | 需要用户自己去往Game Center切换账号,之后再次登陆游戏才能实现账号切换。 |
| 148 | 工程中添加SDK切换系统账号代码: | 133 | 工程中添加SDK切换系统账号代码: |
| 149 | 134 | ||
| 150 | [[GPGameLoginSDK instance] GPSwitchGameCenterWithViewController:self switchCallBack:^{ | 135 | [[GPGameLoginSDK instance] GPSwitchGameCenterWithViewController:self switchCallBack:^{ |
| 151 | self.resultLabel.text = @"Login Game Center"; | 136 | self.resultLabel.text = @"Login Game Center"; |
| 152 | }]; | 137 | }]; |
| 153 | 138 |
README.md
| 1 | # Gump IOS SDK使用文档 | 1 | # Gump IOS SDK使用文档 |
| 2 | 2 | ||
| 3 | 3 | ||
| 4 | 接入手册 | 4 | 接入手册 |
| 5 | 登陆sdk:GumpLoginSDK.framework v1.0.8 | 5 | 登陆sdk:GumpLoginSDK.framework v1.0.11 |
| 6 | 支付sdk: GameSDK.framework v4.0.6 | 6 | 支付sdk: GameSDK.framework v4.0.7 |
| 7 | 2019年3月15日 | 7 | 2019年5月31日 |
| 8 | 8 | ||
| 9 | ## 概述 | 9 | ## 概述 |
| 10 | #### 本SDK提供Game Center登陆 和 游客登陆两种账号登录,iap支付和第三方支付两种支付功能,活动SDK(大转盘等)。 | 10 | #### 本SDK提供Game Center登陆 和 游客登陆两种账号登录,iap支付和第三方支付两种支付功能,活动SDK(大转盘等)。 |
| 11 | 11 | ||
| 12 | ## 接入步骤 | 12 | ## 接入步骤 |
| 13 | ### 1、添加Framework和资源文件 | 13 | ### 1、添加Framework和资源文件 |
| 14 | + 以下为必须添加的framework以及资源bundle: | 14 | + 以下为必须添加的framework以及资源bundle: |
| 15 | MobileCoreServices.framework、SystemConfiguration.framework、libz.dylib、CFNetwork.framework、GumpLoginSDK.framework、GameSDK.framework、GameActivitySDK.framework、StoreKit.framework、GameSDKResources.bundle | 15 | MobileCoreServices.framework、SystemConfiguration.framework、libz.dylib、CFNetwork.framework、GumpLoginSDK.framework、GameSDK.framework、GameActivitySDK.framework、StoreKit.framework、GameSDKResources.bundle |
| 16 | 16 | ||
| 17 | ### 2、引入头文件,设置build setting | 17 | ### 2、引入头文件,设置build setting |
| 18 | 因sdk内使用了category,需要设置other linker flag为 -ObjC | 18 | 因sdk内使用了category,需要设置other linker flag为 -ObjC |
| 19 | 19 | ||
| 20 | 20 | ||
| 21 | ### 3、增加必要配置 | 21 | ### 3、增加必要配置 |
| 22 | 1)在application delegate中, 在application:openURL:sourceApplication:annotation:添加返回: | 22 | 1)在application delegate中, 在application:openURL:sourceApplication:annotation:添加返回: |
| 23 | 23 | ||
| 24 | return [[LetsGameAPI instance] handleOpenURL:url sourceApplication:sourceApplication]; | 24 | return [[LetsGameAPI instance] handleOpenURL:url sourceApplication:sourceApplication]; |
| 25 | 25 | ||
| 26 | 2) 在工程的Targets->Capablities->Game Center 打开 | 26 | 2) 在工程的Targets->Capablities->Game Center 打开 |
| 27 | 27 | ||
| 28 | 28 | ||
| 29 | ### 4、在工程里添加SDK登录代码 | 29 | ### 4、在工程里添加SDK登录代码 |
| 30 | 添加GumpLoginSDK.framework | 30 | 添加GumpLoginSDK.framework |
| 31 | 31 | ||
| 32 | 32 | ||
| 33 | [[GPGameLoginSDK instance] GPGameLoginWithViewController:self appID:@"100" channelId:@"10002"]; | 33 | [[GPGameLoginSDK instance] GPGameLoginWithViewController:self appID:@"100" channelId:@"10002"]; |
| 34 | [GPGameLoginSDK instance].succBlock = ^(NSNumber *userId, ACCOUNTTYPE type) { | 34 | [GPGameLoginSDK instance].succBlock = ^(NSNumber *userId, ACCOUNTTYPE type) { |
| 35 | self.resultLabel.text = [NSString stringWithFormat:@"userId: %@, accountType: %ld", userId, (long)type]; | 35 | self.resultLabel.text = [NSString stringWithFormat:@"userId: %@, accountType: %ld", userId, (long)type]; |
| 36 | }; | 36 | }; |
| 37 | [GPGameLoginSDK instance].failBlock = ^{ | 37 | [GPGameLoginSDK instance].failBlock = ^{ |
| 38 | self.resultLabel.text = @"login error"; | 38 | self.resultLabel.text = @"login error"; |
| 39 | }; | 39 | }; |
| 40 | 40 | ||
| 41 | 41 | ||
| 42 | ### 5、第三方支付 | 42 | ### 5、第三方支付 |
| 43 | [LetsGameAPI instance].appId = @"10022"; | 43 | [LetsGameAPI instance].appId = @"10022"; |
| 44 | NSMutableDictionary *payInfo = [NSMutableDictionary dictionary]; | 44 | NSMutableDictionary *payInfo = [NSMutableDictionary dictionary]; |
| 45 | [payInfo setValue:@"5001" forKey:@"serverId"];//服务器id,必传参数 | 45 | [payInfo setValue:@"5001" forKey:@"serverId"];//服务器id,必传参数 |
| 46 | [payInfo setValue:@"10010" forKey:@"roleId"];//用户角色id | 46 | [payInfo setValue:@"10010" forKey:@"roleId"];//用户角色id |
| 47 | [payInfo setValue:@"1595907" forKey:@"userId"];//用户ID userId | 47 | [payInfo setValue:@"1595907" forKey:@"userId"];//用户ID userId |
| 48 | [payInfo setValue:@"1000" forKey:@"channelId"];//渠道id | 48 | [payInfo setValue:@"1000" forKey:@"channelId"];//渠道id |
| 49 | [payInfo setValue:@"10" forKey:@"amount"];//金额 | 49 | [payInfo setValue:@"10" forKey:@"amount"];//金额 |
| 50 | [payInfo setValue:@"ios demo" forKey:@"extraInfo"];//外部订单信息 | 50 | [payInfo setValue:@"ios demo" forKey:@"extraInfo"];//外部订单信息 |
| 51 | [payInfo setValue:@"test1" forKey:@"product"];//商品ID | 51 | [payInfo setValue:@"test1" forKey:@"product"];//商品ID |
| 52 | [[LetsGameAPI instance] pWeb:payInfo handleCallBack:^{ | 52 | [[LetsGameAPI instance] pWeb:payInfo handleCallBack:^{ |
| 53 | //第三方支付完成时的回调(包括支付成功和支付失败,除了支付过程中取消的),取消的不会有回调 | 53 | //第三方支付完成时的回调(包括支付成功和支付失败,除了支付过程中取消的),取消的不会有回调 |
| 54 | NSLog(@"第三方支付完成"); | 54 | NSLog(@"第三方支付完成"); |
| 55 | }]]; | 55 | }]]; |
| 56 | 56 | ||
| 57 | ### 6、IAP支付 | 57 | ### 6、IAP支付 |
| 58 | 若要使用apple IAP支付,需要在AppDelegate的application: didFinishLaunchingWithOptions:方法内注册iap observer,使用如下方法 | 58 | 若要使用apple IAP支付,需要在AppDelegate的application: didFinishLaunchingWithOptions:方法内注册iap observer,使用如下方法 |
| 59 | 59 | ||
| 60 | [[LetsGameAPI instance] registeIapObserver]; | 60 | [[LetsGameAPI instance] registeIapObserver]; |
| 61 | 具体调用iap支付的方法如下: | 61 | 具体调用iap支付的方法如下: |
| 62 | 62 | ||
| 63 | [LetsGameAPI instance].appId = @"100"; | 63 | [LetsGameAPI instance].appId = @"100"; |
| 64 | NSMutableDictionary *payInfo = [NSMutableDictionary dictionary]; | 64 | NSMutableDictionary *payInfo = [NSMutableDictionary dictionary]; |
| 65 | [payInfo setValue:@"5001" forKey:@"serverId"];//当前用户所在的服务器Id | 65 | [payInfo setValue:@"5001" forKey:@"serverId"];//当前用户所在的服务器Id |
| 66 | [payInfo setValue:@"10010" forKey:@"roleId"];//当前用户的角色id | 66 | [payInfo setValue:@"10010" forKey:@"roleId"];//当前用户的角色id |
| 67 | [payInfo setValue:@"1595907" forKey:@"userId"];//用户ID userId | 67 | [payInfo setValue:@"1595907" forKey:@"userId"];//用户ID userId |
| 68 | [payInfo setValue:@"1000" forKey:@"channelId"];//渠道id,用于统计 | 68 | [payInfo setValue:@"1000" forKey:@"channelId"];//渠道id,用于统计 |
| 69 | [payInfo setValue:@"10" forKey:@"amount"];//对应支付项的支付金额,实际支付金额以itunes配置为准 | 69 | [payInfo setValue:@"10" forKey:@"amount"];//对应支付项的支付金额,实际支付金额以itunes配置为准 |
| 70 | [payInfo setValue:@"ios demo" forKey:@"extraInfo"];//扩展信息,可以游戏自定义,建议传自有订单号 | 70 | [payInfo setValue:@"ios demo" forKey:@"extraInfo"];//扩展信息,可以游戏自定义,建议传自有订单号 |
| 71 | [payInfo setValue:@"test.product.1" forKey:@"product"];//itunes 后台配置的对应支付项的productId | 71 | [payInfo setValue:@"test.product.1" forKey:@"product"];//itunes 后台配置的对应支付项的productId |
| 72 | [[LetsGameAPI instance] iap:payInfo succCallback:^(NSString *orderId) { | 72 | [[LetsGameAPI instance] iap:payInfo succCallback:^(NSString *orderId) { |
| 73 | //此处的回调表明支付已经完成,但此时支付不一定成功,需要服务端验证支付结果 | 73 | //此处的回调表明支付已经完成,但此时支付不一定成功,需要服务端验证支付结果 |
| 74 | //orderId为gump生成的订单号,此订单号可以在gump server查询此笔支付是否成功 | 74 | //orderId为gump生成的订单号,此订单号可以在gump server查询此笔支付是否成功 |
| 75 | NSLog(@"IAP completed orderId of Gumptech:%@",orderId); | 75 | NSLog(@"IAP completed orderId of Gumptech:%@",orderId); |
| 76 | } failCallback:^(NSString *orderId) { | 76 | } failCallback:^(NSString *orderId) { |
| 77 | //支付失败 | 77 | //支付失败 |
| 78 | NSLog(@"IAP file orderId of Gumptech:%@",orderId); | 78 | NSLog(@"IAP file orderId of Gumptech:%@",orderId); |
| 79 | }]; | 79 | }]; |
| 80 | 80 | ||
| 81 | 81 | ||
| 82 | ### 7、第三方支付版本 | 82 | ### 7、第三方支付版本 |
| 83 | 第三方支付,分成两个版本:没有gump币和有gump币,不设置时默认为不带gump币版本,如果使用带gump币的版本如下设置: | 83 | 第三方支付,分成两个版本:没有gump币和有gump币,不设置时默认为不带gump币版本,如果使用带gump币的版本如下设置: |
| 84 | 84 | ||
| 85 | 需要在 application:didFinishLaunchingWithOptions方法中添加: | 85 | 需要在 application:didFinishLaunchingWithOptions方法中添加: |
| 86 | 86 | ||
| 87 | [[LetsGameAPI instance] decideWebToVersion:1] | 87 | [[LetsGameAPI instance] decideWebToVersion:1] |
| 88 | 88 | ||
| 89 | ### 8、第三方支付横竖屏设置 | 89 | ### 8、第三方支付横竖屏设置 |
| 90 | 添加GameSDK.framework | 90 | 添加GameSDK.framework |
| 91 | 首先设置支付SDK默认是横屏,在General->Deployment Info->Device Orientain下,只选择Landscape Left 和 Landscape Right,SDK的界面默认是横屏。 | 91 | 首先设置支付SDK默认是横屏,在General->Deployment Info->Device Orientain下,只选择Landscape Left 和 Landscape Right,SDK的界面默认是横屏。 |
| 92 | 其次如果想使用竖屏的模式,需要在General->Deployment Info->Device Orientain下,只选择Portrait模式,并且需要在AppDelegate中的方法: | 92 | 其次如果想使用竖屏的模式,需要在General->Deployment Info->Device Orientain下,只选择Portrait模式,并且需要在AppDelegate中的方法: |
| 93 | - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions;靠前的位置添加代码设置: | 93 | - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions;靠前的位置添加代码设置: |
| 94 | 94 | ||
| 95 | [LetsGameAPI DeviceOrientationIsHorizontal:NO]; | 95 | [LetsGameAPI DeviceOrientationIsHorizontal:NO]; |
| 96 | 96 | ||
| 97 | ### 9、活动添加 | 97 | ### 9、活动添加 |
| 98 | 添加GameActivitySDK.framework | 98 | 添加GameActivitySDK.framework |
| 99 | 设置:设置xxxx.plist | 99 | 设置:设置xxxx.plist |
| 100 | 只支持HTTP的方式,需要将相应的项目的xxx.plist添加Information Property List->App Transport Security Settings -> Allow Arbitrary Loads设置为YES | 100 | 只支持HTTP的方式,需要将相应的项目的xxx.plist添加Information Property List->App Transport Security Settings -> Allow Arbitrary Loads设置为YES |
| 101 | 101 | ||
| 102 | 工程中添加SDK登录代码: | 102 | 工程中添加SDK登录代码: |
| 103 | 103 | ||
| 104 | NSMutableDictionary *activityInfo = [NSMutableDictionary dictionary]; | 104 | NSMutableDictionary *activityInfo = [NSMutableDictionary dictionary]; |
| 105 | [activityInfo setValue:@"100" forKey:@"appId"]; | 105 | [activityInfo setValue:@"100" forKey:@"appId"]; |
| 106 | [activityInfo setValue:@"123456" forKey:@"userId"]; | 106 | [activityInfo setValue:@"123456" forKey:@"userId"]; |
| 107 | [activityInfo setValue:@"111" forKey:@"serverId"]; | 107 | [activityInfo setValue:@"111" forKey:@"serverId"]; |
| 108 | [activityInfo setValue:@"aaa" forKey:@"serverName"]; | 108 | [activityInfo setValue:@"aaa" forKey:@"serverName"]; |
| 109 | [activityInfo setValue:@"222" forKey:@"roleId"]; | 109 | [activityInfo setValue:@"222" forKey:@"roleId"]; |
| 110 | [activityInfo setValue:@"ccc" forKey:@"roleName"]; | 110 | [activityInfo setValue:@"ccc" forKey:@"roleName"]; |
| 111 | [activityInfo setValue:@"888" forKey:@"diamond"]; | 111 | [activityInfo setValue:@"888" forKey:@"diamond"]; |
| 112 | //活动关闭的回调 | 112 | //活动关闭的回调 |
| 113 | [[LetsGameActivityAPI instance] GameActivityWithParaDictory:activityInfo handleCallBackL:^{ | 113 | [[LetsGameActivityAPI instance] GameActivityWithParaDictory:activityInfo handleCallBackL:^{ |
| 114 | NSLog(@"activity finish!"); | 114 | NSLog(@"activity finish!"); |
| 115 | }]; | 115 | }]; |
| 116 | 116 | ||
| 117 | ### 10、绑定账号 | 117 | ### 10、账号联动 |
| 118 | 需要提供按钮绑定,点击事件调用下面方法。 | 118 | 需要提供按钮绑定,点击事件调用下面方法。 |
| 119 | 工程中需要添加SDK 绑定fb账号的代码: | 119 | 此功能涉及账号的绑定和切换,回调只有在切换成功之后才会出现,其他情况的回调都是失败的回调。 |
| 120 | 工程中添加SDK账号联动代码: | ||
| 120 | 121 | ||
| 121 | NSMutableDictionary *bindParaDic = [NSMutableDictionary dictionary]; | 122 | NSMutableDictionary *linkParaDic = [NSMutableDictionary dictionary]; |
| 122 | [bindParaDic setObject:@"100" forKey:@"appId"]; | 123 | [linkParaDic setObject:@"10022" forKey:@"appId"]; |
| 123 | [bindParaDic setObject:self.userId forKey:@"userId"]; | 124 | [linkParaDic setObject:self.userId forKey:@"userId"]; |
| 124 | [[GPGameLoginSDK instance] GPGameBingWithViewController:self InfoDic:bindParaDic succCallBack:^(NSNumber *userId, ACCOUNTENTERTYPE type) { | 125 | //仅在切换账号成功的时候有返回值 |
| 125 | //仅是绑定成功,并无切换账号的要求 | 126 | [[GPGameLoginSDK instance] GPGameAccountLinkViewController:self InfoDic:linkParaDic callBack:^(NSNumber *userId, ACCOUNTENTERTYPE type) { |
| 126 | self.resultLabel.text = [NSString stringWithFormat:@"userId: %@, accountType: %ld", userId, (long)type]; | 127 | self.resultLabel.text = [NSString stringWithFormat:@"userId: %@, accountType: %ld", userId, (long)type]; |
| 127 | } failCallBack:^{ | ||
| 128 | NSLog(@"bind fail"); | ||
| 129 | }]; | 128 | }]; |
| 130 | ### 11、切换fb账号 | ||
| 131 | 需要提供按钮切换fb账号,点击事件调用下面方法。 | ||
| 132 | 工程中添加SDK切换第三方账号代码: | ||
| 133 | 129 | ||
| 134 | NSMutableDictionary *bindParaDic = [NSMutableDictionary dictionary]; | 130 | ### 11、切换系统账号 |
| 135 | [bindParaDic setObject:@"100" forKey:@"appId"]; | ||
| 136 | [bindParaDic setObject:self.userId forKey:@"userId"]; | ||
| 137 | [[GPGameLoginSDK instance] GPGameSwitchWithViewController:self InfoDic:bindParaDic succCallBack:^(NSNumber *userId, ACCOUNTENTERTYPE type) { | ||
| 138 | //成功回调,切换成功,需要研发注销处理,然后重新调用登录接口,只有返回的是新的第三方账号对应的userID | ||
| 139 | self.resultLabel.text = [NSString stringWithFormat:@"userId: %@, accountType: %ld", userId, (long)type]; | ||
| 140 | } failCallBack:^{ | ||
| 141 | //失败回调,切换失败 | ||
| 142 | NSLog(@"bind fail"); | ||
| 143 | }]; | ||
| 144 | |||
| 145 | ### 12、切换系统账号 | ||
| 146 | 需要提供按钮切换系统账号,点击事件调用下面方法。 | 131 | 需要提供按钮切换系统账号,点击事件调用下面方法。 |
| 147 | 需要用户自己去往Game Center切换账号,之后再次登陆游戏才能实现账号切换。 | 132 | 需要用户自己去往Game Center切换账号,之后再次登陆游戏才能实现账号切换。 |
| 148 | 工程中添加SDK切换系统账号代码: | 133 | 工程中添加SDK切换系统账号代码: |
| 149 | 134 | ||
| 150 | [[GPGameLoginSDK instance] GPSwitchGameCenterWithViewController:self switchCallBack:^{ | 135 | [[GPGameLoginSDK instance] GPSwitchGameCenterWithViewController:self switchCallBack:^{ |
| 151 | self.resultLabel.text = @"Login Game Center"; | 136 | self.resultLabel.text = @"Login Game Center"; |
| 152 | }]; | 137 | }]; |
| 153 | 138 |
ios/GameSDK.framework/Versions/A/GameSDK
No preview for this file type
ios/GameSDK.framework/Versions/A/Headers/LetsGameAPI.h
| 1 | 1 | ||
| 2 | #import <Foundation/Foundation.h> | 2 | #import <Foundation/Foundation.h> |
| 3 | 3 | ||
| 4 | //默认横屏 | 4 | //默认横屏 |
| 5 | static BOOL DeviceOrientationIsHorizontal = YES; | 5 | static BOOL DeviceOrientationIsHorizontal = YES; |
| 6 | 6 | ||
| 7 | static NSString *pVersion = @"4.0.6"; | 7 | static NSString *pVersion = @"4.0.7"; |
| 8 | 8 | ||
| 9 | @interface LetsGameAPI : NSObject<UIApplicationDelegate> | 9 | @interface LetsGameAPI : NSObject<UIApplicationDelegate> |
| 10 | 10 | ||
| 11 | @property (nonatomic, strong) NSString *appId; | 11 | @property (nonatomic, strong) NSString *appId; |
| 12 | @property(nonatomic, strong) NSString *channelId; | 12 | @property(nonatomic, strong) NSString *channelId; |
| 13 | @property (nonatomic, assign) int isDebug; | 13 | @property (nonatomic, assign) int isDebug; |
| 14 | @property (nonatomic, assign) int decideWebTo; | 14 | @property (nonatomic, assign) int decideWebTo; |
| 15 | 15 | ||
| 16 | 16 | ||
| 17 | + (instancetype)instance; | 17 | + (instancetype)instance; |
| 18 | 18 | ||
| 19 | -(NSString*)version; | 19 | -(NSString*)version; |
| 20 | 20 | ||
| 21 | +(void)DeviceOrientationIsHorizontal:(BOOL)isDisable; | 21 | +(void)DeviceOrientationIsHorizontal:(BOOL)isDisable; |
| 22 | +(BOOL)DeviceOrientationIsHorizontal; | 22 | +(BOOL)DeviceOrientationIsHorizontal; |
| 23 | 23 | ||
| 24 | - (void)hide; | 24 | - (void)hide; |
| 25 | 25 | ||
| 26 | - (BOOL)handleOpenURL:(NSURL *)url | 26 | - (BOOL)handleOpenURL:(NSURL *)url |
| 27 | sourceApplication:(NSString *)sourceApplication; | 27 | sourceApplication:(NSString *)sourceApplication; |
| 28 | 28 | ||
| 29 | -(void)pWeb:(NSDictionary*) pWebInfo handleCallBack:(void (^)()) pWebAccomplistCallback; | 29 | -(void)pWeb:(NSDictionary*) pWebInfo handleCallBack:(void (^)()) pWebAccomplistCallback; |
| 30 | 30 | ||
| 31 | -(void)iap:(NSDictionary*) payInfo succCallback:(void (^)(NSString* orderId)) succCallback failCallback:(void (^)(NSString* orderId)) failCallback; | 31 | -(void)iap:(NSDictionary*) payInfo succCallback:(void (^)(NSString* orderId)) succCallback failCallback:(void (^)(NSString* orderId)) failCallback; |
| 32 | 32 | ||
| 33 | -(void)registeIapObserver; | 33 | -(void)registeIapObserver; |
| 34 | 34 | ||
| 35 | -(void)decideIsDebug:(int)isDebug; | 35 | -(void)decideIsDebug:(int)isDebug; |
| 36 | 36 | ||
| 37 | -(void)decideWebToVersion:(int)decideWebTo; | 37 | -(void)decideWebToVersion:(int)decideWebTo; |
| 38 | @end | 38 | @end |
| 39 | 39 |
ios/GameSDK.zip
No preview for this file type
ios/GameSDKDemo/GameSDKDemo.xcodeproj/project.pbxproj
| 1 | // !$*UTF8*$! | 1 | // !$*UTF8*$! |
| 2 | { | 2 | { |
| 3 | archiveVersion = 1; | 3 | archiveVersion = 1; |
| 4 | classes = { | 4 | classes = { |
| 5 | }; | 5 | }; |
| 6 | objectVersion = 46; | 6 | objectVersion = 46; |
| 7 | objects = { | 7 | objects = { |
| 8 | 8 | ||
| 9 | /* Begin PBXBuildFile section */ | 9 | /* Begin PBXBuildFile section */ |
| 10 | 3309D9791C438A5E00534E33 /* libz.1.2.5.tbd in Frameworks */ = {isa = PBXBuildFile; fileRef = 3309D9781C438A5E00534E33 /* libz.1.2.5.tbd */; }; | 10 | 3309D9791C438A5E00534E33 /* libz.1.2.5.tbd in Frameworks */ = {isa = PBXBuildFile; fileRef = 3309D9781C438A5E00534E33 /* libz.1.2.5.tbd */; }; |
| 11 | 7517F2111FFF437F000237ED /* GameSDK.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 7517F2101FFF437E000237ED /* GameSDK.framework */; }; | 11 | 7517F2111FFF437F000237ED /* GameSDK.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 7517F2101FFF437E000237ED /* GameSDK.framework */; }; |
| 12 | 752A5F421CDC826A00C36131 /* GameSDKResources.bundle in Resources */ = {isa = PBXBuildFile; fileRef = 752A5F411CDC826A00C36131 /* GameSDKResources.bundle */; }; | 12 | 752A5F421CDC826A00C36131 /* GameSDKResources.bundle in Resources */ = {isa = PBXBuildFile; fileRef = 752A5F411CDC826A00C36131 /* GameSDKResources.bundle */; }; |
| 13 | 752CAD8C20CE5CED003C3840 /* GameActivitySDK.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 752CAD8B20CE5CB3003C3840 /* GameActivitySDK.framework */; }; | 13 | 752CAD8C20CE5CED003C3840 /* GameActivitySDK.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 752CAD8B20CE5CB3003C3840 /* GameActivitySDK.framework */; }; |
| 14 | 757295DA2186AA1B00DFA18D /* GameKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 757295D92186AA1B00DFA18D /* GameKit.framework */; }; | 14 | 757295DA2186AA1B00DFA18D /* GameKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 757295D92186AA1B00DFA18D /* GameKit.framework */; }; |
| 15 | 757EF4D92181B4B8006EB6CD /* GumpLoginSDK.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 757EF4D82181B4B8006EB6CD /* GumpLoginSDK.framework */; }; | 15 | 757EF4D92181B4B8006EB6CD /* GumpLoginSDK.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 757EF4D82181B4B8006EB6CD /* GumpLoginSDK.framework */; }; |
| 16 | 75864D631FF35A22002C9012 /* libsqlite3.tbd in Frameworks */ = {isa = PBXBuildFile; fileRef = 75864D601FF35A22002C9012 /* libsqlite3.tbd */; }; | 16 | 75864D631FF35A22002C9012 /* libsqlite3.tbd in Frameworks */ = {isa = PBXBuildFile; fileRef = 75864D601FF35A22002C9012 /* libsqlite3.tbd */; }; |
| 17 | 75864D651FF35A3A002C9012 /* CoreTelephony.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 75864D641FF35A3A002C9012 /* CoreTelephony.framework */; }; | 17 | 75864D651FF35A3A002C9012 /* CoreTelephony.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 75864D641FF35A3A002C9012 /* CoreTelephony.framework */; }; |
| 18 | 75864D671FF35A48002C9012 /* libz.tbd in Frameworks */ = {isa = PBXBuildFile; fileRef = 75864D661FF35A48002C9012 /* libz.tbd */; }; | 18 | 75864D671FF35A48002C9012 /* libz.tbd in Frameworks */ = {isa = PBXBuildFile; fileRef = 75864D661FF35A48002C9012 /* libz.tbd */; }; |
| 19 | 75864D691FF35A58002C9012 /* libc++.tbd in Frameworks */ = {isa = PBXBuildFile; fileRef = 75864D681FF35A57002C9012 /* libc++.tbd */; }; | 19 | 75864D691FF35A58002C9012 /* libc++.tbd in Frameworks */ = {isa = PBXBuildFile; fileRef = 75864D681FF35A57002C9012 /* libc++.tbd */; }; |
| 20 | 9934F1B219303DC6005EF4AB /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 9934F1B119303DC6005EF4AB /* Foundation.framework */; }; | 20 | 9934F1B219303DC6005EF4AB /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 9934F1B119303DC6005EF4AB /* Foundation.framework */; }; |
| 21 | 9934F1B619303DC6005EF4AB /* UIKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 9934F1B519303DC6005EF4AB /* UIKit.framework */; }; | 21 | 9934F1B619303DC6005EF4AB /* UIKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 9934F1B519303DC6005EF4AB /* UIKit.framework */; }; |
| 22 | 9934F1BE19303DC6005EF4AB /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 9934F1BD19303DC6005EF4AB /* main.m */; }; | 22 | 9934F1BE19303DC6005EF4AB /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 9934F1BD19303DC6005EF4AB /* main.m */; }; |
| 23 | 9934F1C219303DC6005EF4AB /* LSGAppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = 9934F1C119303DC6005EF4AB /* LSGAppDelegate.m */; }; | 23 | 9934F1C219303DC6005EF4AB /* LSGAppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = 9934F1C119303DC6005EF4AB /* LSGAppDelegate.m */; }; |
| 24 | 9934F1C419303DC6005EF4AB /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 9934F1C319303DC6005EF4AB /* Images.xcassets */; }; | 24 | 9934F1C419303DC6005EF4AB /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 9934F1C319303DC6005EF4AB /* Images.xcassets */; }; |
| 25 | 9934F23A19307153005EF4AB /* LSGMainViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 9934F23919307153005EF4AB /* LSGMainViewController.m */; }; | 25 | 9934F23A19307153005EF4AB /* LSGMainViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 9934F23919307153005EF4AB /* LSGMainViewController.m */; }; |
| 26 | 997523281930A42500F50D29 /* CFNetwork.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 997523271930A42500F50D29 /* CFNetwork.framework */; }; | 26 | 997523281930A42500F50D29 /* CFNetwork.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 997523271930A42500F50D29 /* CFNetwork.framework */; }; |
| 27 | 997523321930A52600F50D29 /* MobileCoreServices.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 997523311930A52600F50D29 /* MobileCoreServices.framework */; }; | 27 | 997523321930A52600F50D29 /* MobileCoreServices.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 997523311930A52600F50D29 /* MobileCoreServices.framework */; }; |
| 28 | /* End PBXBuildFile section */ | 28 | /* End PBXBuildFile section */ |
| 29 | 29 | ||
| 30 | /* Begin PBXContainerItemProxy section */ | 30 | /* Begin PBXContainerItemProxy section */ |
| 31 | 757295E02187FA0B00DFA18D /* PBXContainerItemProxy */ = { | 31 | 757295E02187FA0B00DFA18D /* PBXContainerItemProxy */ = { |
| 32 | isa = PBXContainerItemProxy; | 32 | isa = PBXContainerItemProxy; |
| 33 | containerPortal = 757295DB2187FA0B00DFA18D /* GameActivitySDK.xcodeproj */; | 33 | containerPortal = 757295DB2187FA0B00DFA18D /* GameActivitySDK.xcodeproj */; |
| 34 | proxyType = 2; | 34 | proxyType = 2; |
| 35 | remoteGlobalIDString = 752CAD5D20CE2AEE003C3840; | 35 | remoteGlobalIDString = 752CAD5D20CE2AEE003C3840; |
| 36 | remoteInfo = GameActivitySDK; | 36 | remoteInfo = GameActivitySDK; |
| 37 | }; | 37 | }; |
| 38 | 757EF4C42181B044006EB6CD /* PBXContainerItemProxy */ = { | 38 | 757EF4C42181B044006EB6CD /* PBXContainerItemProxy */ = { |
| 39 | isa = PBXContainerItemProxy; | 39 | isa = PBXContainerItemProxy; |
| 40 | containerPortal = 757EF4BF2181B044006EB6CD /* GameSDK.xcodeproj */; | 40 | containerPortal = 757EF4BF2181B044006EB6CD /* GameSDK.xcodeproj */; |
| 41 | proxyType = 2; | 41 | proxyType = 2; |
| 42 | remoteGlobalIDString = 99626194192D9649004FF2E3; | 42 | remoteGlobalIDString = 99626194192D9649004FF2E3; |
| 43 | remoteInfo = GameSDK; | 43 | remoteInfo = GameSDK; |
| 44 | }; | 44 | }; |
| 45 | 757EF4D12181B148006EB6CD /* PBXContainerItemProxy */ = { | 45 | 757EF4D12181B148006EB6CD /* PBXContainerItemProxy */ = { |
| 46 | isa = PBXContainerItemProxy; | 46 | isa = PBXContainerItemProxy; |
| 47 | containerPortal = 757EF4C82181B147006EB6CD /* GumpLoginSDK.xcodeproj */; | 47 | containerPortal = 757EF4C82181B147006EB6CD /* GumpLoginSDK.xcodeproj */; |
| 48 | proxyType = 2; | 48 | proxyType = 2; |
| 49 | remoteGlobalIDString = 750D2555217D9B3A00493512; | 49 | remoteGlobalIDString = 750D2555217D9B3A00493512; |
| 50 | remoteInfo = GumpLoginSDK; | 50 | remoteInfo = GumpLoginSDK; |
| 51 | }; | 51 | }; |
| 52 | /* End PBXContainerItemProxy section */ | 52 | /* End PBXContainerItemProxy section */ |
| 53 | 53 | ||
| 54 | /* Begin PBXFileReference section */ | 54 | /* Begin PBXFileReference section */ |
| 55 | 27019DCA1A208B1500DA560D /* Path.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; path = Path.xcconfig; sourceTree = "<group>"; }; | 55 | 27019DCA1A208B1500DA560D /* Path.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; path = Path.xcconfig; sourceTree = "<group>"; }; |
| 56 | 27019DCB1A208B1500DA560D /* Project.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; path = Project.xcconfig; sourceTree = "<group>"; }; | 56 | 27019DCB1A208B1500DA560D /* Project.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; path = Project.xcconfig; sourceTree = "<group>"; }; |
| 57 | 3309D9781C438A5E00534E33 /* libz.1.2.5.tbd */ = {isa = PBXFileReference; lastKnownFileType = "sourcecode.text-based-dylib-definition"; name = libz.1.2.5.tbd; path = usr/lib/libz.1.2.5.tbd; sourceTree = SDKROOT; }; | 57 | 3309D9781C438A5E00534E33 /* libz.1.2.5.tbd */ = {isa = PBXFileReference; lastKnownFileType = "sourcecode.text-based-dylib-definition"; name = libz.1.2.5.tbd; path = usr/lib/libz.1.2.5.tbd; sourceTree = SDKROOT; }; |
| 58 | 3309D97E1C4394C800534E33 /* VKSdk.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = VKSdk.framework; path = letsgameDemo/VKSdk.framework; sourceTree = "<group>"; }; | 58 | 3309D97E1C4394C800534E33 /* VKSdk.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = VKSdk.framework; path = letsgameDemo/VKSdk.framework; sourceTree = "<group>"; }; |
| 59 | 7517F2101FFF437E000237ED /* GameSDK.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = GameSDK.framework; path = ../GameSDK.framework; sourceTree = "<group>"; }; | 59 | 7517F2101FFF437E000237ED /* GameSDK.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = GameSDK.framework; path = ../GameSDK.framework; sourceTree = "<group>"; }; |
| 60 | 752A5F411CDC826A00C36131 /* GameSDKResources.bundle */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.plug-in"; name = GameSDKResources.bundle; path = ../../GameSDKResources.bundle; sourceTree = "<group>"; }; | 60 | 752A5F411CDC826A00C36131 /* GameSDKResources.bundle */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.plug-in"; name = GameSDKResources.bundle; path = ../../GameSDKResources.bundle; sourceTree = "<group>"; }; |
| 61 | 752CAD8B20CE5CB3003C3840 /* GameActivitySDK.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = GameActivitySDK.framework; path = ../GameActivitySDK.framework; sourceTree = "<group>"; }; | 61 | 752CAD8B20CE5CB3003C3840 /* GameActivitySDK.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = GameActivitySDK.framework; path = ../GameActivitySDK.framework; sourceTree = "<group>"; }; |
| 62 | 756200B821AFDF7900F59103 /* 123.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = 123.png; sourceTree = "<group>"; }; | 62 | 756200B821AFDF7900F59103 /* 123.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = 123.png; sourceTree = "<group>"; }; |
| 63 | 757295D92186AA1B00DFA18D /* GameKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = GameKit.framework; path = System/Library/Frameworks/GameKit.framework; sourceTree = SDKROOT; }; | 63 | 757295D92186AA1B00DFA18D /* GameKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = GameKit.framework; path = System/Library/Frameworks/GameKit.framework; sourceTree = SDKROOT; }; |
| 64 | 757295DB2187FA0B00DFA18D /* GameActivitySDK.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = GameActivitySDK.xcodeproj; path = ../../../GameActivitySDK/GameActivitySDK.xcodeproj; sourceTree = "<group>"; }; | 64 | 757295DB2187FA0B00DFA18D /* GameActivitySDK.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = GameActivitySDK.xcodeproj; path = ../../../GameActivitySDK/GameActivitySDK.xcodeproj; sourceTree = "<group>"; }; |
| 65 | 757EF4BF2181B044006EB6CD /* GameSDK.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = GameSDK.xcodeproj; path = ../../../gamePaysdk/GameSDK/GameSDK.xcodeproj; sourceTree = "<group>"; }; | 65 | 757EF4BF2181B044006EB6CD /* GameSDK.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = GameSDK.xcodeproj; path = ../../../gamePaysdk/GameSDK/GameSDK.xcodeproj; sourceTree = "<group>"; }; |
| 66 | 757EF4C82181B147006EB6CD /* GumpLoginSDK.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = GumpLoginSDK.xcodeproj; path = ../../../GumpLoginSDK/GumpLoginSDK.xcodeproj; sourceTree = "<group>"; }; | 66 | 757EF4C82181B147006EB6CD /* GumpLoginSDK.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = GumpLoginSDK.xcodeproj; path = ../../../GumpLoginSDK/GumpLoginSDK.xcodeproj; sourceTree = "<group>"; }; |
| 67 | 757EF4D82181B4B8006EB6CD /* GumpLoginSDK.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = GumpLoginSDK.framework; path = ../GumpLoginSDK.framework; sourceTree = "<group>"; }; | 67 | 757EF4D82181B4B8006EB6CD /* GumpLoginSDK.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = GumpLoginSDK.framework; path = ../GumpLoginSDK.framework; sourceTree = "<group>"; }; |
| 68 | 75864D601FF35A22002C9012 /* libsqlite3.tbd */ = {isa = PBXFileReference; lastKnownFileType = "sourcecode.text-based-dylib-definition"; name = libsqlite3.tbd; path = usr/lib/libsqlite3.tbd; sourceTree = SDKROOT; }; | 68 | 75864D601FF35A22002C9012 /* libsqlite3.tbd */ = {isa = PBXFileReference; lastKnownFileType = "sourcecode.text-based-dylib-definition"; name = libsqlite3.tbd; path = usr/lib/libsqlite3.tbd; sourceTree = SDKROOT; }; |
| 69 | 75864D641FF35A3A002C9012 /* CoreTelephony.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreTelephony.framework; path = System/Library/Frameworks/CoreTelephony.framework; sourceTree = SDKROOT; }; | 69 | 75864D641FF35A3A002C9012 /* CoreTelephony.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreTelephony.framework; path = System/Library/Frameworks/CoreTelephony.framework; sourceTree = SDKROOT; }; |
| 70 | 75864D661FF35A48002C9012 /* libz.tbd */ = {isa = PBXFileReference; lastKnownFileType = "sourcecode.text-based-dylib-definition"; name = libz.tbd; path = usr/lib/libz.tbd; sourceTree = SDKROOT; }; | 70 | 75864D661FF35A48002C9012 /* libz.tbd */ = {isa = PBXFileReference; lastKnownFileType = "sourcecode.text-based-dylib-definition"; name = libz.tbd; path = usr/lib/libz.tbd; sourceTree = SDKROOT; }; |
| 71 | 75864D681FF35A57002C9012 /* libc++.tbd */ = {isa = PBXFileReference; lastKnownFileType = "sourcecode.text-based-dylib-definition"; name = "libc++.tbd"; path = "usr/lib/libc++.tbd"; sourceTree = SDKROOT; }; | 71 | 75864D681FF35A57002C9012 /* libc++.tbd */ = {isa = PBXFileReference; lastKnownFileType = "sourcecode.text-based-dylib-definition"; name = "libc++.tbd"; path = "usr/lib/libc++.tbd"; sourceTree = SDKROOT; }; |
| 72 | 9934F1AE19303DC6005EF4AB /* GameSDKDemo.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = GameSDKDemo.app; sourceTree = BUILT_PRODUCTS_DIR; }; | 72 | 9934F1AE19303DC6005EF4AB /* GameSDKDemo.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = GameSDKDemo.app; sourceTree = BUILT_PRODUCTS_DIR; }; |
| 73 | 9934F1B119303DC6005EF4AB /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = System/Library/Frameworks/Foundation.framework; sourceTree = SDKROOT; }; | 73 | 9934F1B119303DC6005EF4AB /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = System/Library/Frameworks/Foundation.framework; sourceTree = SDKROOT; }; |
| 74 | 9934F1B319303DC6005EF4AB /* CoreGraphics.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreGraphics.framework; path = System/Library/Frameworks/CoreGraphics.framework; sourceTree = SDKROOT; }; | 74 | 9934F1B319303DC6005EF4AB /* CoreGraphics.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreGraphics.framework; path = System/Library/Frameworks/CoreGraphics.framework; sourceTree = SDKROOT; }; |
| 75 | 9934F1B519303DC6005EF4AB /* UIKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = UIKit.framework; path = System/Library/Frameworks/UIKit.framework; sourceTree = SDKROOT; }; | 75 | 9934F1B519303DC6005EF4AB /* UIKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = UIKit.framework; path = System/Library/Frameworks/UIKit.framework; sourceTree = SDKROOT; }; |
| 76 | 9934F1B919303DC6005EF4AB /* letsgameDemo-Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = "letsgameDemo-Info.plist"; sourceTree = "<group>"; }; | 76 | 9934F1B919303DC6005EF4AB /* letsgameDemo-Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = "letsgameDemo-Info.plist"; sourceTree = "<group>"; }; |
| 77 | 9934F1BD19303DC6005EF4AB /* main.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = "<group>"; }; | 77 | 9934F1BD19303DC6005EF4AB /* main.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = "<group>"; }; |
| 78 | 9934F1BF19303DC6005EF4AB /* GameSDKDemo-Prefix.pch */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "GameSDKDemo-Prefix.pch"; sourceTree = "<group>"; }; | 78 | 9934F1BF19303DC6005EF4AB /* GameSDKDemo-Prefix.pch */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "GameSDKDemo-Prefix.pch"; sourceTree = "<group>"; }; |
| 79 | 9934F1C019303DC6005EF4AB /* LSGAppDelegate.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = LSGAppDelegate.h; sourceTree = "<group>"; }; | 79 | 9934F1C019303DC6005EF4AB /* LSGAppDelegate.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = LSGAppDelegate.h; sourceTree = "<group>"; }; |
| 80 | 9934F1C119303DC6005EF4AB /* LSGAppDelegate.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = LSGAppDelegate.m; sourceTree = "<group>"; }; | 80 | 9934F1C119303DC6005EF4AB /* LSGAppDelegate.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = LSGAppDelegate.m; sourceTree = "<group>"; }; |
| 81 | 9934F1C319303DC6005EF4AB /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Images.xcassets; sourceTree = "<group>"; }; | 81 | 9934F1C319303DC6005EF4AB /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Images.xcassets; sourceTree = "<group>"; }; |
| 82 | 9934F23819307153005EF4AB /* LSGMainViewController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = LSGMainViewController.h; sourceTree = "<group>"; }; | 82 | 9934F23819307153005EF4AB /* LSGMainViewController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = LSGMainViewController.h; sourceTree = "<group>"; }; |
| 83 | 9934F23919307153005EF4AB /* LSGMainViewController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = LSGMainViewController.m; sourceTree = "<group>"; }; | 83 | 9934F23919307153005EF4AB /* LSGMainViewController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = LSGMainViewController.m; sourceTree = "<group>"; }; |
| 84 | 997523271930A42500F50D29 /* CFNetwork.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CFNetwork.framework; path = System/Library/Frameworks/CFNetwork.framework; sourceTree = SDKROOT; }; | 84 | 997523271930A42500F50D29 /* CFNetwork.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CFNetwork.framework; path = System/Library/Frameworks/CFNetwork.framework; sourceTree = SDKROOT; }; |
| 85 | 997523311930A52600F50D29 /* MobileCoreServices.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = MobileCoreServices.framework; path = System/Library/Frameworks/MobileCoreServices.framework; sourceTree = SDKROOT; }; | 85 | 997523311930A52600F50D29 /* MobileCoreServices.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = MobileCoreServices.framework; path = System/Library/Frameworks/MobileCoreServices.framework; sourceTree = SDKROOT; }; |
| 86 | /* End PBXFileReference section */ | 86 | /* End PBXFileReference section */ |
| 87 | 87 | ||
| 88 | /* Begin PBXFrameworksBuildPhase section */ | 88 | /* Begin PBXFrameworksBuildPhase section */ |
| 89 | 9934F1AB19303DC6005EF4AB /* Frameworks */ = { | 89 | 9934F1AB19303DC6005EF4AB /* Frameworks */ = { |
| 90 | isa = PBXFrameworksBuildPhase; | 90 | isa = PBXFrameworksBuildPhase; |
| 91 | buildActionMask = 2147483647; | 91 | buildActionMask = 2147483647; |
| 92 | files = ( | 92 | files = ( |
| 93 | 757EF4D92181B4B8006EB6CD /* GumpLoginSDK.framework in Frameworks */, | 93 | 757EF4D92181B4B8006EB6CD /* GumpLoginSDK.framework in Frameworks */, |
| 94 | 752CAD8C20CE5CED003C3840 /* GameActivitySDK.framework in Frameworks */, | 94 | 752CAD8C20CE5CED003C3840 /* GameActivitySDK.framework in Frameworks */, |
| 95 | 75864D691FF35A58002C9012 /* libc++.tbd in Frameworks */, | 95 | 75864D691FF35A58002C9012 /* libc++.tbd in Frameworks */, |
| 96 | 75864D671FF35A48002C9012 /* libz.tbd in Frameworks */, | 96 | 75864D671FF35A48002C9012 /* libz.tbd in Frameworks */, |
| 97 | 757295DA2186AA1B00DFA18D /* GameKit.framework in Frameworks */, | 97 | 757295DA2186AA1B00DFA18D /* GameKit.framework in Frameworks */, |
| 98 | 75864D651FF35A3A002C9012 /* CoreTelephony.framework in Frameworks */, | 98 | 75864D651FF35A3A002C9012 /* CoreTelephony.framework in Frameworks */, |
| 99 | 7517F2111FFF437F000237ED /* GameSDK.framework in Frameworks */, | 99 | 7517F2111FFF437F000237ED /* GameSDK.framework in Frameworks */, |
| 100 | 75864D631FF35A22002C9012 /* libsqlite3.tbd in Frameworks */, | 100 | 75864D631FF35A22002C9012 /* libsqlite3.tbd in Frameworks */, |
| 101 | 3309D9791C438A5E00534E33 /* libz.1.2.5.tbd in Frameworks */, | 101 | 3309D9791C438A5E00534E33 /* libz.1.2.5.tbd in Frameworks */, |
| 102 | 997523321930A52600F50D29 /* MobileCoreServices.framework in Frameworks */, | 102 | 997523321930A52600F50D29 /* MobileCoreServices.framework in Frameworks */, |
| 103 | 997523281930A42500F50D29 /* CFNetwork.framework in Frameworks */, | 103 | 997523281930A42500F50D29 /* CFNetwork.framework in Frameworks */, |
| 104 | 9934F1B619303DC6005EF4AB /* UIKit.framework in Frameworks */, | 104 | 9934F1B619303DC6005EF4AB /* UIKit.framework in Frameworks */, |
| 105 | 9934F1B219303DC6005EF4AB /* Foundation.framework in Frameworks */, | 105 | 9934F1B219303DC6005EF4AB /* Foundation.framework in Frameworks */, |
| 106 | ); | 106 | ); |
| 107 | runOnlyForDeploymentPostprocessing = 0; | 107 | runOnlyForDeploymentPostprocessing = 0; |
| 108 | }; | 108 | }; |
| 109 | /* End PBXFrameworksBuildPhase section */ | 109 | /* End PBXFrameworksBuildPhase section */ |
| 110 | 110 | ||
| 111 | /* Begin PBXGroup section */ | 111 | /* Begin PBXGroup section */ |
| 112 | 27019DC91A208B1500DA560D /* Configuration */ = { | 112 | 27019DC91A208B1500DA560D /* Configuration */ = { |
| 113 | isa = PBXGroup; | 113 | isa = PBXGroup; |
| 114 | children = ( | 114 | children = ( |
| 115 | 27019DCA1A208B1500DA560D /* Path.xcconfig */, | 115 | 27019DCA1A208B1500DA560D /* Path.xcconfig */, |
| 116 | 27019DCB1A208B1500DA560D /* Project.xcconfig */, | 116 | 27019DCB1A208B1500DA560D /* Project.xcconfig */, |
| 117 | ); | 117 | ); |
| 118 | path = Configuration; | 118 | path = Configuration; |
| 119 | sourceTree = "<group>"; | 119 | sourceTree = "<group>"; |
| 120 | }; | 120 | }; |
| 121 | 27019DCE1A208B2300DA560D /* Dependencies */ = { | 121 | 27019DCE1A208B2300DA560D /* Dependencies */ = { |
| 122 | isa = PBXGroup; | 122 | isa = PBXGroup; |
| 123 | children = ( | 123 | children = ( |
| 124 | 757295DB2187FA0B00DFA18D /* GameActivitySDK.xcodeproj */, | 124 | 757295DB2187FA0B00DFA18D /* GameActivitySDK.xcodeproj */, |
| 125 | 757EF4C82181B147006EB6CD /* GumpLoginSDK.xcodeproj */, | 125 | 757EF4C82181B147006EB6CD /* GumpLoginSDK.xcodeproj */, |
| 126 | 757EF4BF2181B044006EB6CD /* GameSDK.xcodeproj */, | 126 | 757EF4BF2181B044006EB6CD /* GameSDK.xcodeproj */, |
| 127 | ); | 127 | ); |
| 128 | name = Dependencies; | 128 | name = Dependencies; |
| 129 | sourceTree = "<group>"; | 129 | sourceTree = "<group>"; |
| 130 | }; | 130 | }; |
| 131 | 757295DC2187FA0B00DFA18D /* Products */ = { | 131 | 757295DC2187FA0B00DFA18D /* Products */ = { |
| 132 | isa = PBXGroup; | 132 | isa = PBXGroup; |
| 133 | children = ( | 133 | children = ( |
| 134 | 757295E12187FA0B00DFA18D /* libGameActivitySDK.a */, | 134 | 757295E12187FA0B00DFA18D /* libGameActivitySDK.a */, |
| 135 | ); | 135 | ); |
| 136 | name = Products; | 136 | name = Products; |
| 137 | sourceTree = "<group>"; | 137 | sourceTree = "<group>"; |
| 138 | }; | 138 | }; |
| 139 | 757EF4C02181B044006EB6CD /* Products */ = { | 139 | 757EF4C02181B044006EB6CD /* Products */ = { |
| 140 | isa = PBXGroup; | 140 | isa = PBXGroup; |
| 141 | children = ( | 141 | children = ( |
| 142 | 757EF4C52181B044006EB6CD /* libGameSDK.a */, | 142 | 757EF4C52181B044006EB6CD /* libGameSDK.a */, |
| 143 | ); | 143 | ); |
| 144 | name = Products; | 144 | name = Products; |
| 145 | sourceTree = "<group>"; | 145 | sourceTree = "<group>"; |
| 146 | }; | 146 | }; |
| 147 | 757EF4C92181B147006EB6CD /* Products */ = { | 147 | 757EF4C92181B147006EB6CD /* Products */ = { |
| 148 | isa = PBXGroup; | 148 | isa = PBXGroup; |
| 149 | children = ( | 149 | children = ( |
| 150 | 757EF4D22181B148006EB6CD /* libGumpLoginSDK.a */, | 150 | 757EF4D22181B148006EB6CD /* libGumpLoginSDK.a */, |
| 151 | ); | 151 | ); |
| 152 | name = Products; | 152 | name = Products; |
| 153 | sourceTree = "<group>"; | 153 | sourceTree = "<group>"; |
| 154 | }; | 154 | }; |
| 155 | 9934F1A519303DC6005EF4AB = { | 155 | 9934F1A519303DC6005EF4AB = { |
| 156 | isa = PBXGroup; | 156 | isa = PBXGroup; |
| 157 | children = ( | 157 | children = ( |
| 158 | 27019DC91A208B1500DA560D /* Configuration */, | 158 | 27019DC91A208B1500DA560D /* Configuration */, |
| 159 | 27019DCE1A208B2300DA560D /* Dependencies */, | 159 | 27019DCE1A208B2300DA560D /* Dependencies */, |
| 160 | 9934F1B719303DC6005EF4AB /* letsgameDemo */, | 160 | 9934F1B719303DC6005EF4AB /* letsgameDemo */, |
| 161 | 9934F1B019303DC6005EF4AB /* Frameworks */, | 161 | 9934F1B019303DC6005EF4AB /* Frameworks */, |
| 162 | 9934F1AF19303DC6005EF4AB /* Products */, | 162 | 9934F1AF19303DC6005EF4AB /* Products */, |
| 163 | ); | 163 | ); |
| 164 | sourceTree = "<group>"; | 164 | sourceTree = "<group>"; |
| 165 | }; | 165 | }; |
| 166 | 9934F1AF19303DC6005EF4AB /* Products */ = { | 166 | 9934F1AF19303DC6005EF4AB /* Products */ = { |
| 167 | isa = PBXGroup; | 167 | isa = PBXGroup; |
| 168 | children = ( | 168 | children = ( |
| 169 | 9934F1AE19303DC6005EF4AB /* GameSDKDemo.app */, | 169 | 9934F1AE19303DC6005EF4AB /* GameSDKDemo.app */, |
| 170 | ); | 170 | ); |
| 171 | name = Products; | 171 | name = Products; |
| 172 | sourceTree = "<group>"; | 172 | sourceTree = "<group>"; |
| 173 | }; | 173 | }; |
| 174 | 9934F1B019303DC6005EF4AB /* Frameworks */ = { | 174 | 9934F1B019303DC6005EF4AB /* Frameworks */ = { |
| 175 | isa = PBXGroup; | 175 | isa = PBXGroup; |
| 176 | children = ( | 176 | children = ( |
| 177 | 757295D92186AA1B00DFA18D /* GameKit.framework */, | 177 | 757295D92186AA1B00DFA18D /* GameKit.framework */, |
| 178 | 757EF4D82181B4B8006EB6CD /* GumpLoginSDK.framework */, | 178 | 757EF4D82181B4B8006EB6CD /* GumpLoginSDK.framework */, |
| 179 | 752CAD8B20CE5CB3003C3840 /* GameActivitySDK.framework */, | 179 | 752CAD8B20CE5CB3003C3840 /* GameActivitySDK.framework */, |
| 180 | 7517F2101FFF437E000237ED /* GameSDK.framework */, | 180 | 7517F2101FFF437E000237ED /* GameSDK.framework */, |
| 181 | 75864D681FF35A57002C9012 /* libc++.tbd */, | 181 | 75864D681FF35A57002C9012 /* libc++.tbd */, |
| 182 | 75864D661FF35A48002C9012 /* libz.tbd */, | 182 | 75864D661FF35A48002C9012 /* libz.tbd */, |
| 183 | 75864D641FF35A3A002C9012 /* CoreTelephony.framework */, | 183 | 75864D641FF35A3A002C9012 /* CoreTelephony.framework */, |
| 184 | 75864D601FF35A22002C9012 /* libsqlite3.tbd */, | 184 | 75864D601FF35A22002C9012 /* libsqlite3.tbd */, |
| 185 | 3309D97E1C4394C800534E33 /* VKSdk.framework */, | 185 | 3309D97E1C4394C800534E33 /* VKSdk.framework */, |
| 186 | 3309D9781C438A5E00534E33 /* libz.1.2.5.tbd */, | 186 | 3309D9781C438A5E00534E33 /* libz.1.2.5.tbd */, |
| 187 | 997523311930A52600F50D29 /* MobileCoreServices.framework */, | 187 | 997523311930A52600F50D29 /* MobileCoreServices.framework */, |
| 188 | 997523271930A42500F50D29 /* CFNetwork.framework */, | 188 | 997523271930A42500F50D29 /* CFNetwork.framework */, |
| 189 | 9934F1B119303DC6005EF4AB /* Foundation.framework */, | 189 | 9934F1B119303DC6005EF4AB /* Foundation.framework */, |
| 190 | 9934F1B319303DC6005EF4AB /* CoreGraphics.framework */, | 190 | 9934F1B319303DC6005EF4AB /* CoreGraphics.framework */, |
| 191 | 9934F1B519303DC6005EF4AB /* UIKit.framework */, | 191 | 9934F1B519303DC6005EF4AB /* UIKit.framework */, |
| 192 | ); | 192 | ); |
| 193 | name = Frameworks; | 193 | name = Frameworks; |
| 194 | sourceTree = "<group>"; | 194 | sourceTree = "<group>"; |
| 195 | }; | 195 | }; |
| 196 | 9934F1B719303DC6005EF4AB /* letsgameDemo */ = { | 196 | 9934F1B719303DC6005EF4AB /* letsgameDemo */ = { |
| 197 | isa = PBXGroup; | 197 | isa = PBXGroup; |
| 198 | children = ( | 198 | children = ( |
| 199 | 752A5F411CDC826A00C36131 /* GameSDKResources.bundle */, | 199 | 752A5F411CDC826A00C36131 /* GameSDKResources.bundle */, |
| 200 | 9934F1C319303DC6005EF4AB /* Images.xcassets */, | 200 | 9934F1C319303DC6005EF4AB /* Images.xcassets */, |
| 201 | 9934F1C019303DC6005EF4AB /* LSGAppDelegate.h */, | 201 | 9934F1C019303DC6005EF4AB /* LSGAppDelegate.h */, |
| 202 | 9934F1C119303DC6005EF4AB /* LSGAppDelegate.m */, | 202 | 9934F1C119303DC6005EF4AB /* LSGAppDelegate.m */, |
| 203 | 9934F23819307153005EF4AB /* LSGMainViewController.h */, | 203 | 9934F23819307153005EF4AB /* LSGMainViewController.h */, |
| 204 | 9934F23919307153005EF4AB /* LSGMainViewController.m */, | 204 | 9934F23919307153005EF4AB /* LSGMainViewController.m */, |
| 205 | 9934F1B819303DC6005EF4AB /* Supporting Files */, | 205 | 9934F1B819303DC6005EF4AB /* Supporting Files */, |
| 206 | ); | 206 | ); |
| 207 | path = letsgameDemo; | 207 | path = letsgameDemo; |
| 208 | sourceTree = "<group>"; | 208 | sourceTree = "<group>"; |
| 209 | }; | 209 | }; |
| 210 | 9934F1B819303DC6005EF4AB /* Supporting Files */ = { | 210 | 9934F1B819303DC6005EF4AB /* Supporting Files */ = { |
| 211 | isa = PBXGroup; | 211 | isa = PBXGroup; |
| 212 | children = ( | 212 | children = ( |
| 213 | 756200B821AFDF7900F59103 /* 123.png */, | 213 | 756200B821AFDF7900F59103 /* 123.png */, |
| 214 | 9934F1B919303DC6005EF4AB /* letsgameDemo-Info.plist */, | 214 | 9934F1B919303DC6005EF4AB /* letsgameDemo-Info.plist */, |
| 215 | 9934F1BD19303DC6005EF4AB /* main.m */, | 215 | 9934F1BD19303DC6005EF4AB /* main.m */, |
| 216 | 9934F1BF19303DC6005EF4AB /* GameSDKDemo-Prefix.pch */, | 216 | 9934F1BF19303DC6005EF4AB /* GameSDKDemo-Prefix.pch */, |
| 217 | ); | 217 | ); |
| 218 | name = "Supporting Files"; | 218 | name = "Supporting Files"; |
| 219 | sourceTree = "<group>"; | 219 | sourceTree = "<group>"; |
| 220 | }; | 220 | }; |
| 221 | /* End PBXGroup section */ | 221 | /* End PBXGroup section */ |
| 222 | 222 | ||
| 223 | /* Begin PBXNativeTarget section */ | 223 | /* Begin PBXNativeTarget section */ |
| 224 | 9934F1AD19303DC6005EF4AB /* GameSDKDemo */ = { | 224 | 9934F1AD19303DC6005EF4AB /* GameSDKDemo */ = { |
| 225 | isa = PBXNativeTarget; | 225 | isa = PBXNativeTarget; |
| 226 | buildConfigurationList = 9934F1DA19303DC6005EF4AB /* Build configuration list for PBXNativeTarget "GameSDKDemo" */; | 226 | buildConfigurationList = 9934F1DA19303DC6005EF4AB /* Build configuration list for PBXNativeTarget "GameSDKDemo" */; |
| 227 | buildPhases = ( | 227 | buildPhases = ( |
| 228 | 9934F1AA19303DC6005EF4AB /* Sources */, | 228 | 9934F1AA19303DC6005EF4AB /* Sources */, |
| 229 | 9934F1AB19303DC6005EF4AB /* Frameworks */, | 229 | 9934F1AB19303DC6005EF4AB /* Frameworks */, |
| 230 | 9934F1AC19303DC6005EF4AB /* Resources */, | 230 | 9934F1AC19303DC6005EF4AB /* Resources */, |
| 231 | ); | 231 | ); |
| 232 | buildRules = ( | 232 | buildRules = ( |
| 233 | ); | 233 | ); |
| 234 | dependencies = ( | 234 | dependencies = ( |
| 235 | ); | 235 | ); |
| 236 | name = GameSDKDemo; | 236 | name = GameSDKDemo; |
| 237 | productName = letsgameDemo; | 237 | productName = letsgameDemo; |
| 238 | productReference = 9934F1AE19303DC6005EF4AB /* GameSDKDemo.app */; | 238 | productReference = 9934F1AE19303DC6005EF4AB /* GameSDKDemo.app */; |
| 239 | productType = "com.apple.product-type.application"; | 239 | productType = "com.apple.product-type.application"; |
| 240 | }; | 240 | }; |
| 241 | /* End PBXNativeTarget section */ | 241 | /* End PBXNativeTarget section */ |
| 242 | 242 | ||
| 243 | /* Begin PBXProject section */ | 243 | /* Begin PBXProject section */ |
| 244 | 9934F1A619303DC6005EF4AB /* Project object */ = { | 244 | 9934F1A619303DC6005EF4AB /* Project object */ = { |
| 245 | isa = PBXProject; | 245 | isa = PBXProject; |
| 246 | attributes = { | 246 | attributes = { |
| 247 | CLASSPREFIX = LSG; | 247 | CLASSPREFIX = LSG; |
| 248 | LastUpgradeCheck = 0710; | 248 | LastUpgradeCheck = 0710; |
| 249 | TargetAttributes = { | 249 | TargetAttributes = { |
| 250 | 9934F1AD19303DC6005EF4AB = { | 250 | 9934F1AD19303DC6005EF4AB = { |
| 251 | DevelopmentTeam = NA5R6CY7V3; | 251 | DevelopmentTeam = T65VA5M82Q; |
| 252 | ProvisioningStyle = Automatic; | 252 | ProvisioningStyle = Manual; |
| 253 | SystemCapabilities = { | 253 | SystemCapabilities = { |
| 254 | com.apple.BackgroundModes = { | 254 | com.apple.BackgroundModes = { |
| 255 | enabled = 0; | 255 | enabled = 0; |
| 256 | }; | 256 | }; |
| 257 | com.apple.GameCenter = { | 257 | com.apple.GameCenter = { |
| 258 | enabled = 1; | 258 | enabled = 1; |
| 259 | }; | 259 | }; |
| 260 | com.apple.InAppPurchase = { | 260 | com.apple.InAppPurchase = { |
| 261 | enabled = 0; | 261 | enabled = 0; |
| 262 | }; | 262 | }; |
| 263 | com.apple.Push = { | 263 | com.apple.Push = { |
| 264 | enabled = 0; | 264 | enabled = 0; |
| 265 | }; | 265 | }; |
| 266 | }; | 266 | }; |
| 267 | }; | 267 | }; |
| 268 | }; | 268 | }; |
| 269 | }; | 269 | }; |
| 270 | buildConfigurationList = 9934F1A919303DC6005EF4AB /* Build configuration list for PBXProject "GameSDKDemo" */; | 270 | buildConfigurationList = 9934F1A919303DC6005EF4AB /* Build configuration list for PBXProject "GameSDKDemo" */; |
| 271 | compatibilityVersion = "Xcode 3.2"; | 271 | compatibilityVersion = "Xcode 3.2"; |
| 272 | developmentRegion = English; | 272 | developmentRegion = English; |
| 273 | hasScannedForEncodings = 0; | 273 | hasScannedForEncodings = 0; |
| 274 | knownRegions = ( | 274 | knownRegions = ( |
| 275 | English, | ||
| 275 | en, | 276 | en, |
| 276 | ); | 277 | ); |
| 277 | mainGroup = 9934F1A519303DC6005EF4AB; | 278 | mainGroup = 9934F1A519303DC6005EF4AB; |
| 278 | productRefGroup = 9934F1AF19303DC6005EF4AB /* Products */; | 279 | productRefGroup = 9934F1AF19303DC6005EF4AB /* Products */; |
| 279 | projectDirPath = ""; | 280 | projectDirPath = ""; |
| 280 | projectReferences = ( | 281 | projectReferences = ( |
| 281 | { | 282 | { |
| 282 | ProductGroup = 757295DC2187FA0B00DFA18D /* Products */; | 283 | ProductGroup = 757295DC2187FA0B00DFA18D /* Products */; |
| 283 | ProjectRef = 757295DB2187FA0B00DFA18D /* GameActivitySDK.xcodeproj */; | 284 | ProjectRef = 757295DB2187FA0B00DFA18D /* GameActivitySDK.xcodeproj */; |
| 284 | }, | 285 | }, |
| 285 | { | 286 | { |
| 286 | ProductGroup = 757EF4C02181B044006EB6CD /* Products */; | 287 | ProductGroup = 757EF4C02181B044006EB6CD /* Products */; |
| 287 | ProjectRef = 757EF4BF2181B044006EB6CD /* GameSDK.xcodeproj */; | 288 | ProjectRef = 757EF4BF2181B044006EB6CD /* GameSDK.xcodeproj */; |
| 288 | }, | 289 | }, |
| 289 | { | 290 | { |
| 290 | ProductGroup = 757EF4C92181B147006EB6CD /* Products */; | 291 | ProductGroup = 757EF4C92181B147006EB6CD /* Products */; |
| 291 | ProjectRef = 757EF4C82181B147006EB6CD /* GumpLoginSDK.xcodeproj */; | 292 | ProjectRef = 757EF4C82181B147006EB6CD /* GumpLoginSDK.xcodeproj */; |
| 292 | }, | 293 | }, |
| 293 | ); | 294 | ); |
| 294 | projectRoot = ""; | 295 | projectRoot = ""; |
| 295 | targets = ( | 296 | targets = ( |
| 296 | 9934F1AD19303DC6005EF4AB /* GameSDKDemo */, | 297 | 9934F1AD19303DC6005EF4AB /* GameSDKDemo */, |
| 297 | ); | 298 | ); |
| 298 | }; | 299 | }; |
| 299 | /* End PBXProject section */ | 300 | /* End PBXProject section */ |
| 300 | 301 | ||
| 301 | /* Begin PBXReferenceProxy section */ | 302 | /* Begin PBXReferenceProxy section */ |
| 302 | 757295E12187FA0B00DFA18D /* libGameActivitySDK.a */ = { | 303 | 757295E12187FA0B00DFA18D /* libGameActivitySDK.a */ = { |
| 303 | isa = PBXReferenceProxy; | 304 | isa = PBXReferenceProxy; |
| 304 | fileType = archive.ar; | 305 | fileType = archive.ar; |
| 305 | path = libGameActivitySDK.a; | 306 | path = libGameActivitySDK.a; |
| 306 | remoteRef = 757295E02187FA0B00DFA18D /* PBXContainerItemProxy */; | 307 | remoteRef = 757295E02187FA0B00DFA18D /* PBXContainerItemProxy */; |
| 307 | sourceTree = BUILT_PRODUCTS_DIR; | 308 | sourceTree = BUILT_PRODUCTS_DIR; |
| 308 | }; | 309 | }; |
| 309 | 757EF4C52181B044006EB6CD /* libGameSDK.a */ = { | 310 | 757EF4C52181B044006EB6CD /* libGameSDK.a */ = { |
| 310 | isa = PBXReferenceProxy; | 311 | isa = PBXReferenceProxy; |
| 311 | fileType = archive.ar; | 312 | fileType = archive.ar; |
| 312 | path = libGameSDK.a; | 313 | path = libGameSDK.a; |
| 313 | remoteRef = 757EF4C42181B044006EB6CD /* PBXContainerItemProxy */; | 314 | remoteRef = 757EF4C42181B044006EB6CD /* PBXContainerItemProxy */; |
| 314 | sourceTree = BUILT_PRODUCTS_DIR; | 315 | sourceTree = BUILT_PRODUCTS_DIR; |
| 315 | }; | 316 | }; |
| 316 | 757EF4D22181B148006EB6CD /* libGumpLoginSDK.a */ = { | 317 | 757EF4D22181B148006EB6CD /* libGumpLoginSDK.a */ = { |
| 317 | isa = PBXReferenceProxy; | 318 | isa = PBXReferenceProxy; |
| 318 | fileType = archive.ar; | 319 | fileType = archive.ar; |
| 319 | path = libGumpLoginSDK.a; | 320 | path = libGumpLoginSDK.a; |
| 320 | remoteRef = 757EF4D12181B148006EB6CD /* PBXContainerItemProxy */; | 321 | remoteRef = 757EF4D12181B148006EB6CD /* PBXContainerItemProxy */; |
| 321 | sourceTree = BUILT_PRODUCTS_DIR; | 322 | sourceTree = BUILT_PRODUCTS_DIR; |
| 322 | }; | 323 | }; |
| 323 | /* End PBXReferenceProxy section */ | 324 | /* End PBXReferenceProxy section */ |
| 324 | 325 | ||
| 325 | /* Begin PBXResourcesBuildPhase section */ | 326 | /* Begin PBXResourcesBuildPhase section */ |
| 326 | 9934F1AC19303DC6005EF4AB /* Resources */ = { | 327 | 9934F1AC19303DC6005EF4AB /* Resources */ = { |
| 327 | isa = PBXResourcesBuildPhase; | 328 | isa = PBXResourcesBuildPhase; |
| 328 | buildActionMask = 2147483647; | 329 | buildActionMask = 2147483647; |
| 329 | files = ( | 330 | files = ( |
| 330 | 752A5F421CDC826A00C36131 /* GameSDKResources.bundle in Resources */, | 331 | 752A5F421CDC826A00C36131 /* GameSDKResources.bundle in Resources */, |
| 331 | 9934F1C419303DC6005EF4AB /* Images.xcassets in Resources */, | 332 | 9934F1C419303DC6005EF4AB /* Images.xcassets in Resources */, |
| 332 | ); | 333 | ); |
| 333 | runOnlyForDeploymentPostprocessing = 0; | 334 | runOnlyForDeploymentPostprocessing = 0; |
| 334 | }; | 335 | }; |
| 335 | /* End PBXResourcesBuildPhase section */ | 336 | /* End PBXResourcesBuildPhase section */ |
| 336 | 337 | ||
| 337 | /* Begin PBXSourcesBuildPhase section */ | 338 | /* Begin PBXSourcesBuildPhase section */ |
| 338 | 9934F1AA19303DC6005EF4AB /* Sources */ = { | 339 | 9934F1AA19303DC6005EF4AB /* Sources */ = { |
| 339 | isa = PBXSourcesBuildPhase; | 340 | isa = PBXSourcesBuildPhase; |
| 340 | buildActionMask = 2147483647; | 341 | buildActionMask = 2147483647; |
| 341 | files = ( | 342 | files = ( |
| 342 | 9934F1BE19303DC6005EF4AB /* main.m in Sources */, | 343 | 9934F1BE19303DC6005EF4AB /* main.m in Sources */, |
| 343 | 9934F1C219303DC6005EF4AB /* LSGAppDelegate.m in Sources */, | 344 | 9934F1C219303DC6005EF4AB /* LSGAppDelegate.m in Sources */, |
| 344 | 9934F23A19307153005EF4AB /* LSGMainViewController.m in Sources */, | 345 | 9934F23A19307153005EF4AB /* LSGMainViewController.m in Sources */, |
| 345 | ); | 346 | ); |
| 346 | runOnlyForDeploymentPostprocessing = 0; | 347 | runOnlyForDeploymentPostprocessing = 0; |
| 347 | }; | 348 | }; |
| 348 | /* End PBXSourcesBuildPhase section */ | 349 | /* End PBXSourcesBuildPhase section */ |
| 349 | 350 | ||
| 350 | /* Begin XCBuildConfiguration section */ | 351 | /* Begin XCBuildConfiguration section */ |
| 351 | 9934F1D819303DC6005EF4AB /* Debug */ = { | 352 | 9934F1D819303DC6005EF4AB /* Debug */ = { |
| 352 | isa = XCBuildConfiguration; | 353 | isa = XCBuildConfiguration; |
| 353 | buildSettings = { | 354 | buildSettings = { |
| 354 | ALWAYS_SEARCH_USER_PATHS = YES; | 355 | ALWAYS_SEARCH_USER_PATHS = YES; |
| 355 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; | 356 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; |
| 356 | CLANG_CXX_LIBRARY = "libc++"; | 357 | CLANG_CXX_LIBRARY = "libc++"; |
| 357 | CLANG_ENABLE_MODULES = YES; | 358 | CLANG_ENABLE_MODULES = YES; |
| 358 | CLANG_ENABLE_OBJC_ARC = YES; | 359 | CLANG_ENABLE_OBJC_ARC = YES; |
| 359 | CLANG_WARN_BOOL_CONVERSION = YES; | 360 | CLANG_WARN_BOOL_CONVERSION = YES; |
| 360 | CLANG_WARN_CONSTANT_CONVERSION = YES; | 361 | CLANG_WARN_CONSTANT_CONVERSION = YES; |
| 361 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; | 362 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; |
| 362 | CLANG_WARN_EMPTY_BODY = YES; | 363 | CLANG_WARN_EMPTY_BODY = YES; |
| 363 | CLANG_WARN_ENUM_CONVERSION = YES; | 364 | CLANG_WARN_ENUM_CONVERSION = YES; |
| 364 | CLANG_WARN_INT_CONVERSION = YES; | 365 | CLANG_WARN_INT_CONVERSION = YES; |
| 365 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; | 366 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; |
| 366 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; | 367 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; |
| 367 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; | 368 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; |
| 368 | COPY_PHASE_STRIP = YES; | 369 | COPY_PHASE_STRIP = YES; |
| 369 | ENABLE_TESTABILITY = YES; | 370 | ENABLE_TESTABILITY = YES; |
| 370 | GCC_C_LANGUAGE_STANDARD = gnu99; | 371 | GCC_C_LANGUAGE_STANDARD = gnu99; |
| 371 | GCC_DYNAMIC_NO_PIC = NO; | 372 | GCC_DYNAMIC_NO_PIC = NO; |
| 372 | GCC_OPTIMIZATION_LEVEL = 0; | 373 | GCC_OPTIMIZATION_LEVEL = 0; |
| 373 | GCC_PREPROCESSOR_DEFINITIONS = ( | 374 | GCC_PREPROCESSOR_DEFINITIONS = ( |
| 374 | "DEBUG=1", | 375 | "DEBUG=1", |
| 375 | "$(inherited)", | 376 | "$(inherited)", |
| 376 | ); | 377 | ); |
| 377 | GCC_SYMBOLS_PRIVATE_EXTERN = NO; | 378 | GCC_SYMBOLS_PRIVATE_EXTERN = NO; |
| 378 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; | 379 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; |
| 379 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; | 380 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; |
| 380 | GCC_WARN_UNDECLARED_SELECTOR = YES; | 381 | GCC_WARN_UNDECLARED_SELECTOR = YES; |
| 381 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; | 382 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; |
| 382 | GCC_WARN_UNUSED_FUNCTION = YES; | 383 | GCC_WARN_UNUSED_FUNCTION = YES; |
| 383 | GCC_WARN_UNUSED_VARIABLE = YES; | 384 | GCC_WARN_UNUSED_VARIABLE = YES; |
| 384 | HEADER_SEARCH_PATHS = "$(PROJECT_DIR)/**"; | 385 | HEADER_SEARCH_PATHS = "$(PROJECT_DIR)/**"; |
| 385 | IPHONEOS_DEPLOYMENT_TARGET = 8.4; | 386 | IPHONEOS_DEPLOYMENT_TARGET = 8.4; |
| 386 | ONLY_ACTIVE_ARCH = YES; | 387 | ONLY_ACTIVE_ARCH = YES; |
| 387 | SDKROOT = iphoneos; | 388 | SDKROOT = iphoneos; |
| 388 | }; | 389 | }; |
| 389 | name = Debug; | 390 | name = Debug; |
| 390 | }; | 391 | }; |
| 391 | 9934F1D919303DC6005EF4AB /* Release */ = { | 392 | 9934F1D919303DC6005EF4AB /* Release */ = { |
| 392 | isa = XCBuildConfiguration; | 393 | isa = XCBuildConfiguration; |
| 393 | buildSettings = { | 394 | buildSettings = { |
| 394 | ALWAYS_SEARCH_USER_PATHS = YES; | 395 | ALWAYS_SEARCH_USER_PATHS = YES; |
| 395 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; | 396 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; |
| 396 | CLANG_CXX_LIBRARY = "libc++"; | 397 | CLANG_CXX_LIBRARY = "libc++"; |
| 397 | CLANG_ENABLE_MODULES = YES; | 398 | CLANG_ENABLE_MODULES = YES; |
| 398 | CLANG_ENABLE_OBJC_ARC = YES; | 399 | CLANG_ENABLE_OBJC_ARC = YES; |
| 399 | CLANG_WARN_BOOL_CONVERSION = YES; | 400 | CLANG_WARN_BOOL_CONVERSION = YES; |
| 400 | CLANG_WARN_CONSTANT_CONVERSION = YES; | 401 | CLANG_WARN_CONSTANT_CONVERSION = YES; |
| 401 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; | 402 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; |
| 402 | CLANG_WARN_EMPTY_BODY = YES; | 403 | CLANG_WARN_EMPTY_BODY = YES; |
| 403 | CLANG_WARN_ENUM_CONVERSION = YES; | 404 | CLANG_WARN_ENUM_CONVERSION = YES; |
| 404 | CLANG_WARN_INT_CONVERSION = YES; | 405 | CLANG_WARN_INT_CONVERSION = YES; |
| 405 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; | 406 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; |
| 406 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; | 407 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; |
| 407 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; | 408 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; |
| 408 | COPY_PHASE_STRIP = YES; | 409 | COPY_PHASE_STRIP = YES; |
| 409 | ENABLE_NS_ASSERTIONS = NO; | 410 | ENABLE_NS_ASSERTIONS = NO; |
| 410 | GCC_C_LANGUAGE_STANDARD = gnu99; | 411 | GCC_C_LANGUAGE_STANDARD = gnu99; |
| 411 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; | 412 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; |
| 412 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; | 413 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; |
| 413 | GCC_WARN_UNDECLARED_SELECTOR = YES; | 414 | GCC_WARN_UNDECLARED_SELECTOR = YES; |
| 414 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; | 415 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; |
| 415 | GCC_WARN_UNUSED_FUNCTION = YES; | 416 | GCC_WARN_UNUSED_FUNCTION = YES; |
| 416 | GCC_WARN_UNUSED_VARIABLE = YES; | 417 | GCC_WARN_UNUSED_VARIABLE = YES; |
| 417 | HEADER_SEARCH_PATHS = "$(PROJECT_DIR)/**"; | 418 | HEADER_SEARCH_PATHS = "$(PROJECT_DIR)/**"; |
| 418 | IPHONEOS_DEPLOYMENT_TARGET = 8.4; | 419 | IPHONEOS_DEPLOYMENT_TARGET = 8.4; |
| 419 | ONLY_ACTIVE_ARCH = YES; | 420 | ONLY_ACTIVE_ARCH = YES; |
| 420 | SDKROOT = iphoneos; | 421 | SDKROOT = iphoneos; |
| 421 | VALIDATE_PRODUCT = YES; | 422 | VALIDATE_PRODUCT = YES; |
| 422 | }; | 423 | }; |
| 423 | name = Release; | 424 | name = Release; |
| 424 | }; | 425 | }; |
| 425 | 9934F1DB19303DC6005EF4AB /* Debug */ = { | 426 | 9934F1DB19303DC6005EF4AB /* Debug */ = { |
| 426 | isa = XCBuildConfiguration; | 427 | isa = XCBuildConfiguration; |
| 427 | baseConfigurationReference = 27019DCB1A208B1500DA560D /* Project.xcconfig */; | 428 | baseConfigurationReference = 27019DCB1A208B1500DA560D /* Project.xcconfig */; |
| 428 | buildSettings = { | 429 | buildSettings = { |
| 429 | ALWAYS_SEARCH_USER_PATHS = YES; | 430 | ALWAYS_SEARCH_USER_PATHS = YES; |
| 430 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; | 431 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; |
| 431 | ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME = LaunchImage; | 432 | ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME = LaunchImage; |
| 432 | CODE_SIGN_IDENTITY = "iPhone Developer"; | 433 | CODE_SIGN_IDENTITY = "iPhone Developer"; |
| 433 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; | 434 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; |
| 434 | CODE_SIGN_STYLE = Automatic; | 435 | CODE_SIGN_STYLE = Manual; |
| 435 | DEVELOPMENT_TEAM = NA5R6CY7V3; | 436 | DEVELOPMENT_TEAM = T65VA5M82Q; |
| 436 | ENABLE_BITCODE = NO; | 437 | ENABLE_BITCODE = NO; |
| 437 | FRAMEWORK_SEARCH_PATHS = ( | 438 | FRAMEWORK_SEARCH_PATHS = ( |
| 438 | "$(PROJECT_DIR)/../**", | 439 | "$(PROJECT_DIR)/../**", |
| 439 | "$(PROJECT_DIR)/letsgameDemo", | 440 | "$(PROJECT_DIR)/letsgameDemo", |
| 440 | ); | 441 | ); |
| 441 | GCC_PRECOMPILE_PREFIX_HEADER = YES; | 442 | GCC_PRECOMPILE_PREFIX_HEADER = YES; |
| 442 | GCC_PREFIX_HEADER = "letsgameDemo/GameSDKDemo-Prefix.pch"; | 443 | GCC_PREFIX_HEADER = "letsgameDemo/GameSDKDemo-Prefix.pch"; |
| 443 | HEADER_SEARCH_PATHS = ( | 444 | HEADER_SEARCH_PATHS = ( |
| 444 | "$(PROJECT_DIR)/../GameSDK.framework/**", | 445 | "$(PROJECT_DIR)/../GameSDK.framework/**", |
| 445 | "$(inherited)", | 446 | "$(inherited)", |
| 446 | "$(PROJECT_DIR)/letsgameDemo/**", | 447 | "$(PROJECT_DIR)/letsgameDemo/**", |
| 447 | "$(PROJECT_DIR)/../GameActivitySDK.framework/**", | 448 | "$(PROJECT_DIR)/../GameActivitySDK.framework/**", |
| 448 | "$(PROJECT_DIR)/../GumpLoginSDK.framework/**", | 449 | "$(PROJECT_DIR)/../GumpLoginSDK.framework/**", |
| 449 | ); | 450 | ); |
| 450 | INFOPLIST_FILE = "letsgameDemo/letsgameDemo-Info.plist"; | 451 | INFOPLIST_FILE = "letsgameDemo/letsgameDemo-Info.plist"; |
| 451 | IPHONEOS_DEPLOYMENT_TARGET = 8.0; | 452 | IPHONEOS_DEPLOYMENT_TARGET = 8.0; |
| 452 | LIBRARY_SEARCH_PATHS = ""; | 453 | LIBRARY_SEARCH_PATHS = ""; |
| 453 | ONLY_ACTIVE_ARCH = NO; | 454 | ONLY_ACTIVE_ARCH = NO; |
| 454 | OTHER_LDFLAGS = "-ObjC"; | 455 | OTHER_LDFLAGS = "-ObjC"; |
| 455 | PRIVATE_HEADERS_FOLDER_PATH = ""; | 456 | PRIVATE_HEADERS_FOLDER_PATH = ""; |
| 456 | PRODUCT_BUNDLE_IDENTIFIER = com.game.GumpSDK; | 457 | PRODUCT_BUNDLE_IDENTIFIER = com.deepwireless.crabcrab; |
| 457 | PRODUCT_NAME = GameSDKDemo; | 458 | PRODUCT_NAME = GameSDKDemo; |
| 458 | PROVISIONING_PROFILE = ""; | 459 | PROVISIONING_PROFILE = ""; |
| 459 | PROVISIONING_PROFILE_SPECIFIER = ""; | 460 | PROVISIONING_PROFILE_SPECIFIER = comdeepwirelesscrabcrabDev; |
| 460 | PUBLIC_HEADERS_FOLDER_PATH = ""; | 461 | PUBLIC_HEADERS_FOLDER_PATH = ""; |
| 461 | WRAPPER_EXTENSION = app; | 462 | WRAPPER_EXTENSION = app; |
| 462 | }; | 463 | }; |
| 463 | name = Debug; | 464 | name = Debug; |
| 464 | }; | 465 | }; |
| 465 | 9934F1DC19303DC6005EF4AB /* Release */ = { | 466 | 9934F1DC19303DC6005EF4AB /* Release */ = { |
| 466 | isa = XCBuildConfiguration; | 467 | isa = XCBuildConfiguration; |
| 467 | baseConfigurationReference = 27019DCB1A208B1500DA560D /* Project.xcconfig */; | 468 | baseConfigurationReference = 27019DCB1A208B1500DA560D /* Project.xcconfig */; |
| 468 | buildSettings = { | 469 | buildSettings = { |
| 469 | ALWAYS_SEARCH_USER_PATHS = YES; | 470 | ALWAYS_SEARCH_USER_PATHS = YES; |
| 470 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; | 471 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; |
| 471 | ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME = LaunchImage; | 472 | ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME = LaunchImage; |
| 472 | CODE_SIGN_IDENTITY = "iPhone Developer"; | 473 | CODE_SIGN_IDENTITY = "iPhone Distribution"; |
| 473 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; | 474 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; |
| 474 | CODE_SIGN_STYLE = Automatic; | 475 | CODE_SIGN_STYLE = Manual; |
| 475 | DEVELOPMENT_TEAM = NA5R6CY7V3; | 476 | DEVELOPMENT_TEAM = T65VA5M82Q; |
| 476 | ENABLE_BITCODE = NO; | 477 | ENABLE_BITCODE = NO; |
| 477 | FRAMEWORK_SEARCH_PATHS = ( | 478 | FRAMEWORK_SEARCH_PATHS = ( |
| 478 | "$(PROJECT_DIR)/../**", | 479 | "$(PROJECT_DIR)/../**", |
| 479 | "$(PROJECT_DIR)/letsgameDemo", | 480 | "$(PROJECT_DIR)/letsgameDemo", |
| 480 | ); | 481 | ); |
| 481 | GCC_PRECOMPILE_PREFIX_HEADER = YES; | 482 | GCC_PRECOMPILE_PREFIX_HEADER = YES; |
| 482 | GCC_PREFIX_HEADER = "letsgameDemo/GameSDKDemo-Prefix.pch"; | 483 | GCC_PREFIX_HEADER = "letsgameDemo/GameSDKDemo-Prefix.pch"; |
| 483 | HEADER_SEARCH_PATHS = ( | 484 | HEADER_SEARCH_PATHS = ( |
| 484 | "$(PROJECT_DIR)/../GameSDK.framework/**", | 485 | "$(PROJECT_DIR)/../GameSDK.framework/**", |
| 485 | "$(inherited)", | 486 | "$(inherited)", |
| 486 | "$(PROJECT_DIR)/letsgameDemo/**", | 487 | "$(PROJECT_DIR)/letsgameDemo/**", |
| 487 | "$(PROJECT_DIR)/../GameActivitySDK.framework/**", | 488 | "$(PROJECT_DIR)/../GameActivitySDK.framework/**", |
| 488 | "$(PROJECT_DIR)/../GumpLoginSDK.framework/**", | 489 | "$(PROJECT_DIR)/../GumpLoginSDK.framework/**", |
| 489 | ); | 490 | ); |
| 490 | INFOPLIST_FILE = "letsgameDemo/letsgameDemo-Info.plist"; | 491 | INFOPLIST_FILE = "letsgameDemo/letsgameDemo-Info.plist"; |
| 491 | IPHONEOS_DEPLOYMENT_TARGET = 8.0; | 492 | IPHONEOS_DEPLOYMENT_TARGET = 8.0; |
| 492 | LIBRARY_SEARCH_PATHS = ""; | 493 | LIBRARY_SEARCH_PATHS = ""; |
| 493 | ONLY_ACTIVE_ARCH = NO; | 494 | ONLY_ACTIVE_ARCH = NO; |
| 494 | OTHER_LDFLAGS = "-ObjC"; | 495 | OTHER_LDFLAGS = "-ObjC"; |
| 495 | PRIVATE_HEADERS_FOLDER_PATH = ""; | 496 | PRIVATE_HEADERS_FOLDER_PATH = ""; |
| 496 | PRODUCT_BUNDLE_IDENTIFIER = com.game.GumpSDK; | 497 | PRODUCT_BUNDLE_IDENTIFIER = com.deepwireless.crabcrab; |
| 497 | PRODUCT_NAME = GameSDKDemo; | 498 | PRODUCT_NAME = GameSDKDemo; |
| 498 | PROVISIONING_PROFILE = ""; | 499 | PROVISIONING_PROFILE = ""; |
| 499 | PROVISIONING_PROFILE_SPECIFIER = ""; | 500 | PROVISIONING_PROFILE_SPECIFIER = comdeepwirelesscrabcrabDis; |
| 500 | PUBLIC_HEADERS_FOLDER_PATH = ""; | 501 | PUBLIC_HEADERS_FOLDER_PATH = ""; |
| 501 | WRAPPER_EXTENSION = app; | 502 | WRAPPER_EXTENSION = app; |
| 502 | }; | 503 | }; |
| 503 | name = Release; | 504 | name = Release; |
| 504 | }; | 505 | }; |
| 505 | /* End XCBuildConfiguration section */ | 506 | /* End XCBuildConfiguration section */ |
| 506 | 507 | ||
| 507 | /* Begin XCConfigurationList section */ | 508 | /* Begin XCConfigurationList section */ |
| 508 | 9934F1A919303DC6005EF4AB /* Build configuration list for PBXProject "GameSDKDemo" */ = { | 509 | 9934F1A919303DC6005EF4AB /* Build configuration list for PBXProject "GameSDKDemo" */ = { |
| 509 | isa = XCConfigurationList; | 510 | isa = XCConfigurationList; |
| 510 | buildConfigurations = ( | 511 | buildConfigurations = ( |
| 511 | 9934F1D819303DC6005EF4AB /* Debug */, | 512 | 9934F1D819303DC6005EF4AB /* Debug */, |
| 512 | 9934F1D919303DC6005EF4AB /* Release */, | 513 | 9934F1D919303DC6005EF4AB /* Release */, |
| 513 | ); | 514 | ); |
| 514 | defaultConfigurationIsVisible = 0; | 515 | defaultConfigurationIsVisible = 0; |
| 515 | defaultConfigurationName = Release; | 516 | defaultConfigurationName = Release; |
| 516 | }; | 517 | }; |
| 517 | 9934F1DA19303DC6005EF4AB /* Build configuration list for PBXNativeTarget "GameSDKDemo" */ = { | 518 | 9934F1DA19303DC6005EF4AB /* Build configuration list for PBXNativeTarget "GameSDKDemo" */ = { |
| 518 | isa = XCConfigurationList; | 519 | isa = XCConfigurationList; |
| 519 | buildConfigurations = ( | 520 | buildConfigurations = ( |
| 520 | 9934F1DB19303DC6005EF4AB /* Debug */, | 521 | 9934F1DB19303DC6005EF4AB /* Debug */, |
| 521 | 9934F1DC19303DC6005EF4AB /* Release */, | 522 | 9934F1DC19303DC6005EF4AB /* Release */, |
| 522 | ); | 523 | ); |
| 523 | defaultConfigurationIsVisible = 0; | 524 | defaultConfigurationIsVisible = 0; |
| 524 | defaultConfigurationName = Release; | 525 | defaultConfigurationName = Release; |
| 525 | }; | 526 | }; |
| 526 | /* End XCConfigurationList section */ | 527 | /* End XCConfigurationList section */ |
| 527 | }; | 528 | }; |
| 528 | rootObject = 9934F1A619303DC6005EF4AB /* Project object */; | 529 | rootObject = 9934F1A619303DC6005EF4AB /* Project object */; |
| 529 | } | 530 | } |
| 530 | 531 |
ios/GameSDKDemo/GameSDKDemo.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist
| File was created | 1 | <?xml version="1.0" encoding="UTF-8"?> | |
| 2 | <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | ||
| 3 | <plist version="1.0"> | ||
| 4 | <dict> | ||
| 5 | <key>IDEDidComputeMac32BitWarning</key> | ||
| 6 | <true/> | ||
| 7 | </dict> | ||
| 8 | </plist> | ||
| 9 |
ios/GameSDKDemo/GameSDKDemo.xcodeproj/project.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings
| File was created | 1 | <?xml version="1.0" encoding="UTF-8"?> | |
| 2 | <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | ||
| 3 | <plist version="1.0"> | ||
| 4 | <dict> | ||
| 5 | <key>BuildSystemType</key> | ||
| 6 | <string>Original</string> | ||
| 7 | </dict> | ||
| 8 | </plist> | ||
| 9 |
ios/GameSDKDemo/GameSDKDemo.xcodeproj/project.xcworkspace/xcuserdata/yanglele.xcuserdatad/UserInterfaceState.xcuserstate
No preview for this file type
ios/GameSDKDemo/GameSDKDemo.xcodeproj/project.xcworkspace/xcuserdata/yanglele.xcuserdatad/WorkspaceSettings.xcsettings
| File was created | 1 | <?xml version="1.0" encoding="UTF-8"?> | |
| 2 | <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | ||
| 3 | <plist version="1.0"> | ||
| 4 | <dict> | ||
| 5 | <key>BuildLocationStyle</key> | ||
| 6 | <string>UseAppPreferences</string> | ||
| 7 | <key>CustomBuildLocationType</key> | ||
| 8 | <string>RelativeToDerivedData</string> | ||
| 9 | <key>DerivedDataLocationStyle</key> | ||
| 10 | <string>Default</string> | ||
| 11 | <key>EnabledFullIndexStoreVisibility</key> | ||
| 12 | <false/> | ||
| 13 | <key>IssueFilterStyle</key> | ||
| 14 | <string>ShowActiveSchemeOnly</string> | ||
| 15 | <key>LiveSourceIssuesEnabled</key> | ||
| 16 | <true/> | ||
| 17 | </dict> | ||
| 18 | </plist> | ||
| 19 |
ios/GameSDKDemo/letsgameDemo/LSGMainViewController.m
| 1 | // | 1 | // |
| 2 | // LSGMainViewController.m | 2 | // LSGMainViewController.m |
| 3 | // letsgameDemo | 3 | // letsgameDemo |
| 4 | // | 4 | // |
| 5 | // Created by zhy on 14-5-24. | 5 | // Created by zhy on 14-5-24. |
| 6 | // | 6 | // |
| 7 | // | 7 | // |
| 8 | 8 | ||
| 9 | #import "LSGMainViewController.h" | 9 | #import "LSGMainViewController.h" |
| 10 | #import "LetsGameAPI.h" | 10 | #import "LetsGameAPI.h" |
| 11 | #import "LetsGameActivityAPI.h" | 11 | #import "LetsGameActivityAPI.h" |
| 12 | #import "GPGameLoginSDK.h" | 12 | #import "GPGameLoginSDK.h" |
| 13 | 13 | ||
| 14 | 14 | ||
| 15 | |||
| 16 | @interface LSGMainViewController () | 15 | @interface LSGMainViewController () |
| 17 | 16 | ||
| 18 | @property (nonatomic, strong) UILabel *resultLabel; | 17 | @property (nonatomic, strong) UILabel *resultLabel; |
| 19 | 18 | ||
| 20 | @property(nonatomic,strong) NSNumber *userId; | 19 | @property(nonatomic,strong) NSNumber *userId; |
| 21 | 20 | ||
| 22 | @property(nonatomic, assign) BOOL payToWeb; | 21 | @property(nonatomic, assign) BOOL payToWeb; |
| 23 | 22 | ||
| 24 | @property(nonatomic, strong) UITextField *activityTextField; | 23 | @property(nonatomic, strong) UITextField *activityTextField; |
| 25 | @end | 24 | @end |
| 26 | 25 | ||
| 27 | @implementation LSGMainViewController | 26 | @implementation LSGMainViewController |
| 28 | 27 | ||
| 29 | - (void)loadView { | 28 | - (void)loadView { |
| 30 | [super loadView]; | 29 | [super loadView]; |
| 31 | NSLog(@"i come in"); | 30 | NSLog(@"i come in"); |
| 32 | // self.view.backgroundColor = [UIColor whiteColor]; | 31 | // self.view.backgroundColor = [UIColor whiteColor]; |
| 33 | self.view.backgroundColor = [UIColor blackColor]; | 32 | self.view.backgroundColor = [UIColor blackColor]; |
| 34 | 33 | ||
| 35 | UIButton *btn = [[UIButton alloc] initWithFrame:CGRectMake(110, 40, 100, 30)]; | 34 | UIButton *btn = [[UIButton alloc] initWithFrame:CGRectMake(110, 40, 100, 30)]; |
| 36 | btn.backgroundColor = [UIColor orangeColor]; | 35 | btn.backgroundColor = [UIColor orangeColor]; |
| 37 | [btn setTitle:@"测试入口" forState:UIControlStateNormal]; | 36 | [btn setTitle:@"测试入口" forState:UIControlStateNormal]; |
| 38 | [btn setTitleColor:[UIColor whiteColor] forState:UIControlStateNormal]; | 37 | [btn setTitleColor:[UIColor whiteColor] forState:UIControlStateNormal]; |
| 39 | btn.titleLabel.font = [UIFont systemFontOfSize:15]; | 38 | btn.titleLabel.font = [UIFont systemFontOfSize:15]; |
| 40 | [btn addTarget:self action:@selector(onClickTest) forControlEvents:UIControlEventTouchUpInside]; | 39 | [btn addTarget:self action:@selector(onClickTest) forControlEvents:UIControlEventTouchUpInside]; |
| 41 | [self.view addSubview:btn]; | 40 | [self.view addSubview:btn]; |
| 42 | 41 | ||
| 43 | UILabel *payWarnLabel = [[UILabel alloc] initWithFrame:CGRectMake(110, 85, 150, 10)]; | 42 | UILabel *payWarnLabel = [[UILabel alloc] initWithFrame:CGRectMake(110, 85, 150, 10)]; |
| 44 | payWarnLabel.text = @"默认V3支付,点击Switch是V4支付"; | 43 | payWarnLabel.text = @"默认V3支付,点击Switch是V4支付"; |
| 45 | payWarnLabel.backgroundColor = [UIColor clearColor]; | 44 | payWarnLabel.backgroundColor = [UIColor clearColor]; |
| 46 | payWarnLabel.font = [UIFont systemFontOfSize:9]; | 45 | payWarnLabel.font = [UIFont systemFontOfSize:9]; |
| 47 | [payWarnLabel setTextColor:[UIColor whiteColor]]; | 46 | [payWarnLabel setTextColor:[UIColor whiteColor]]; |
| 48 | [self.view addSubview:payWarnLabel]; | 47 | [self.view addSubview:payWarnLabel]; |
| 49 | 48 | ||
| 50 | UIButton *payBtn = [[UIButton alloc] initWithFrame:CGRectMake(110, 100, 100, 30)]; | 49 | UIButton *payBtn = [[UIButton alloc] initWithFrame:CGRectMake(110, 100, 100, 30)]; |
| 51 | payBtn.backgroundColor = [UIColor orangeColor]; | 50 | payBtn.backgroundColor = [UIColor orangeColor]; |
| 52 | [payBtn setTitle:@"支付" forState:UIControlStateNormal]; | 51 | [payBtn setTitle:@"支付" forState:UIControlStateNormal]; |
| 53 | [payBtn setTitleColor:[UIColor whiteColor] forState:UIControlStateNormal]; | 52 | [payBtn setTitleColor:[UIColor whiteColor] forState:UIControlStateNormal]; |
| 54 | payBtn.titleLabel.font = [UIFont systemFontOfSize:15]; | 53 | payBtn.titleLabel.font = [UIFont systemFontOfSize:15]; |
| 55 | [payBtn addTarget:self action:@selector(onPayTest) forControlEvents:UIControlEventTouchUpInside]; | 54 | [payBtn addTarget:self action:@selector(onPayTest) forControlEvents:UIControlEventTouchUpInside]; |
| 56 | [self.view addSubview:payBtn]; | 55 | [self.view addSubview:payBtn]; |
| 57 | 56 | ||
| 58 | self.payToWeb = NO; | 57 | self.payToWeb = NO; |
| 59 | UISwitch *webVersion = [[UISwitch alloc] initWithFrame:CGRectMake(220,100,60,30)]; | 58 | UISwitch *webVersion = [[UISwitch alloc] initWithFrame:CGRectMake(220,100,60,30)]; |
| 60 | [webVersion addTarget:self action:@selector(onPayWebTo) forControlEvents:UIControlEventValueChanged]; | 59 | [webVersion addTarget:self action:@selector(onPayWebTo) forControlEvents:UIControlEventValueChanged]; |
| 61 | [self.view addSubview:webVersion]; | 60 | [self.view addSubview:webVersion]; |
| 62 | 61 | ||
| 63 | UIButton *iapBtn = [[UIButton alloc] initWithFrame:CGRectMake(110, 160, 100, 30)]; | 62 | UIButton *iapBtn = [[UIButton alloc] initWithFrame:CGRectMake(110, 160, 100, 30)]; |
| 64 | iapBtn.backgroundColor = [UIColor orangeColor]; | 63 | iapBtn.backgroundColor = [UIColor orangeColor]; |
| 65 | [iapBtn setTitle:@"IAP" forState:UIControlStateNormal]; | 64 | [iapBtn setTitle:@"IAP" forState:UIControlStateNormal]; |
| 66 | [iapBtn setTitleColor:[UIColor whiteColor] forState:UIControlStateNormal]; | 65 | [iapBtn setTitleColor:[UIColor whiteColor] forState:UIControlStateNormal]; |
| 67 | iapBtn.titleLabel.font = [UIFont systemFontOfSize:15]; | 66 | iapBtn.titleLabel.font = [UIFont systemFontOfSize:15]; |
| 68 | [iapBtn addTarget:self action:@selector(onIapTest) forControlEvents:UIControlEventTouchUpInside]; | 67 | [iapBtn addTarget:self action:@selector(onIapTest) forControlEvents:UIControlEventTouchUpInside]; |
| 69 | [self.view addSubview:iapBtn]; | 68 | [self.view addSubview:iapBtn]; |
| 70 | 69 | ||
| 71 | UIButton *activityBtn = [[UIButton alloc] initWithFrame:CGRectMake(110, 220, 100, 30)]; | 70 | UIButton *activityBtn = [[UIButton alloc] initWithFrame:CGRectMake(110, 220, 100, 30)]; |
| 72 | activityBtn.backgroundColor = [UIColor orangeColor]; | 71 | activityBtn.backgroundColor = [UIColor orangeColor]; |
| 73 | [activityBtn setTitle:@"Activity" forState:UIControlStateNormal]; | 72 | [activityBtn setTitle:@"Activity" forState:UIControlStateNormal]; |
| 74 | [activityBtn setTintColor:[UIColor whiteColor]]; | 73 | [activityBtn setTintColor:[UIColor whiteColor]]; |
| 75 | activityBtn.titleLabel.font = [UIFont systemFontOfSize:15]; | 74 | activityBtn.titleLabel.font = [UIFont systemFontOfSize:15]; |
| 76 | [activityBtn addTarget:self action:@selector(onActivity) forControlEvents:UIControlEventTouchUpInside]; | 75 | [activityBtn addTarget:self action:@selector(onActivity) forControlEvents:UIControlEventTouchUpInside]; |
| 77 | [self.view addSubview:activityBtn]; | 76 | [self.view addSubview:activityBtn]; |
| 78 | 77 | ||
| 79 | UIButton *bindBtn = [[UIButton alloc] initWithFrame:CGRectMake(300, 40, 100, 30)]; | 78 | UIButton *cleanUserInfoBtn = [[UIButton alloc] initWithFrame:CGRectMake(300, 40, 100, 30)]; |
| 80 | bindBtn.backgroundColor = [UIColor orangeColor]; | 79 | cleanUserInfoBtn.backgroundColor = [UIColor orangeColor]; |
| 81 | [bindBtn setTitle:@"Bind" forState:UIControlStateNormal]; | 80 | [cleanUserInfoBtn setTitle:@"cleanUserInfo" forState:UIControlStateNormal]; |
| 82 | [bindBtn setTitleColor:[UIColor whiteColor] forState:UIControlStateNormal]; | 81 | [cleanUserInfoBtn setTitleColor:[UIColor whiteColor] forState:UIControlStateNormal]; |
| 83 | bindBtn.titleLabel.font = [UIFont systemFontOfSize:15]; | 82 | cleanUserInfoBtn.titleLabel.font = [UIFont systemFontOfSize:15]; |
| 84 | [bindBtn addTarget:self action:@selector(bindBtnClick) forControlEvents:UIControlEventTouchUpInside]; | 83 | [cleanUserInfoBtn addTarget:self action:@selector(cleanUserInfoClick) forControlEvents:UIControlEventTouchUpInside]; |
| 85 | [self.view addSubview:bindBtn]; | 84 | [self.view addSubview:cleanUserInfoBtn]; |
| 86 | 85 | ||
| 87 | UIButton *switchBtn = [[UIButton alloc] initWithFrame:CGRectMake(300, 100, 100, 30)]; | 86 | UIButton *linkBtn = [[UIButton alloc] initWithFrame:CGRectMake(300, 100, 100, 30)]; |
| 88 | switchBtn.backgroundColor = [UIColor orangeColor]; | 87 | linkBtn.backgroundColor = [UIColor orangeColor]; |
| 89 | [switchBtn setTitle:@"switch" forState:UIControlStateNormal]; | 88 | [linkBtn setTitle:@"link" forState:UIControlStateNormal]; |
| 90 | [switchBtn setTitleColor:[UIColor whiteColor] forState:UIControlStateNormal]; | 89 | [linkBtn setTitleColor:[UIColor whiteColor] forState:UIControlStateNormal]; |
| 91 | switchBtn.titleLabel.font = [UIFont systemFontOfSize:15]; | 90 | linkBtn.titleLabel.font = [UIFont systemFontOfSize:15]; |
| 92 | [switchBtn addTarget:self action:@selector(switchBtnClick) forControlEvents:UIControlEventTouchUpInside]; | 91 | [linkBtn addTarget:self action:@selector(linkBtnClick) forControlEvents:UIControlEventTouchUpInside]; |
| 93 | [self.view addSubview:switchBtn]; | 92 | [self.view addSubview:linkBtn]; |
| 93 | |||
| 94 | 94 | ||
| 95 | UIButton *switchSysBtn = [[UIButton alloc] initWithFrame:CGRectMake(300, 160, 100, 30)]; | 95 | UIButton *switchSysBtn = [[UIButton alloc] initWithFrame:CGRectMake(300, 160, 100, 30)]; |
| 96 | switchSysBtn.backgroundColor = [UIColor orangeColor]; | 96 | switchSysBtn.backgroundColor = [UIColor orangeColor]; |
| 97 | [switchSysBtn setTitle:@"switchGameCenter" forState:UIControlStateNormal]; | 97 | [switchSysBtn setTitle:@"switchGameCenter" forState:UIControlStateNormal]; |
| 98 | [switchSysBtn setTitleColor:[UIColor whiteColor] forState:UIControlStateNormal]; | 98 | [switchSysBtn setTitleColor:[UIColor whiteColor] forState:UIControlStateNormal]; |
| 99 | switchSysBtn.titleLabel.font = [UIFont systemFontOfSize:15]; | 99 | switchSysBtn.titleLabel.font = [UIFont systemFontOfSize:15]; |
| 100 | [switchSysBtn addTarget:self action:@selector(switchGameCentBtnClick) forControlEvents:UIControlEventTouchUpInside]; | 100 | [switchSysBtn addTarget:self action:@selector(switchGameCentBtnClick) forControlEvents:UIControlEventTouchUpInside]; |
| 101 | [self.view addSubview:switchSysBtn]; | 101 | [self.view addSubview:switchSysBtn]; |
| 102 | 102 | ||
| 103 | UITextField *activityField = [[UITextField alloc] initWithFrame:CGRectMake(220, 220, 100, 30)]; | 103 | UITextField *activityField = [[UITextField alloc] initWithFrame:CGRectMake(220, 220, 100, 30)]; |
| 104 | activityField.placeholder = @"活动类型"; | 104 | activityField.placeholder = @"活动类型"; |
| 105 | activityField.backgroundColor = [UIColor whiteColor]; | 105 | activityField.backgroundColor = [UIColor whiteColor]; |
| 106 | self.activityTextField = activityField; | 106 | self.activityTextField = activityField; |
| 107 | [self.view addSubview:self.activityTextField]; | 107 | [self.view addSubview:self.activityTextField]; |
| 108 | 108 | ||
| 109 | } | 109 | } |
| 110 | 110 | ||
| 111 | - (UILabel *)resultLabel { | 111 | - (UILabel *)resultLabel { |
| 112 | if (!_resultLabel) { | 112 | if (!_resultLabel) { |
| 113 | _resultLabel = [[UILabel alloc] initWithFrame:CGRectMake(0, CGRectGetMaxY(self.view.frame) - 90, self.view.frame.size.width, 60)]; | 113 | _resultLabel = [[UILabel alloc] initWithFrame:CGRectMake(0, CGRectGetMaxY(self.view.frame) - 90, self.view.frame.size.width, 60)]; |
| 114 | _resultLabel.backgroundColor = [UIColor clearColor]; | 114 | _resultLabel.backgroundColor = [UIColor clearColor]; |
| 115 | _resultLabel.textAlignment = NSTextAlignmentCenter; | 115 | _resultLabel.textAlignment = NSTextAlignmentCenter; |
| 116 | _resultLabel.textColor = [UIColor redColor]; | 116 | _resultLabel.textColor = [UIColor redColor]; |
| 117 | _resultLabel.font = [UIFont systemFontOfSize:15]; | 117 | _resultLabel.font = [UIFont systemFontOfSize:15]; |
| 118 | _resultLabel.numberOfLines = 4; | 118 | _resultLabel.numberOfLines = 4; |
| 119 | _resultLabel.lineBreakMode = NSLineBreakByWordWrapping; | 119 | _resultLabel.lineBreakMode = NSLineBreakByWordWrapping; |
| 120 | [self.view addSubview:_resultLabel]; | 120 | [self.view addSubview:_resultLabel]; |
| 121 | } | 121 | } |
| 122 | 122 | ||
| 123 | return _resultLabel; | 123 | return _resultLabel; |
| 124 | } | 124 | } |
| 125 | 125 | ||
| 126 | 126 | ||
| 127 | - (void)onClickTest { | 127 | - (void)onClickTest { |
| 128 | [[GPGameLoginSDK instance] GPGameLoginWithViewController:self appID:@"100" channelId:@"1000"]; | 128 | [[GPGameLoginSDK instance] GPGameLoginWithViewController:self appID:@"10022" channelId:@"1000"]; |
| 129 | [GPGameLoginSDK instance].succBlock = ^(NSNumber *userId, ACCOUNTENTERTYPE type) { | 129 | [GPGameLoginSDK instance].succBlock = ^(NSNumber *userId, ACCOUNTENTERTYPE type) { |
| 130 | self.resultLabel.text = [NSString stringWithFormat:@"userId: %@, accountType: %ld", userId, (long)type]; | 130 | self.resultLabel.text = [NSString stringWithFormat:@"userId: %@, accountType: %ld", userId, (long)type]; |
| 131 | self.userId = userId; | 131 | self.userId = userId; |
| 132 | }; | 132 | }; |
| 133 | [GPGameLoginSDK instance].failBlock = ^{ | 133 | [GPGameLoginSDK instance].failBlock = ^{ |
| 134 | self.resultLabel.text = @"login error"; | 134 | self.resultLabel.text = @"login error"; |
| 135 | }; | 135 | }; |
| 136 | } | 136 | } |
| 137 | 137 | ||
| 138 | 138 | ||
| 139 | -(void)onPayTest{ | 139 | -(void)onPayTest{ |
| 140 | |||
| 140 | [LetsGameAPI instance].appId = @"100";//@"10056";//10022 | 141 | [LetsGameAPI instance].appId = @"100";//@"10056";//10022 |
| 141 | NSMutableDictionary *payInfo = [NSMutableDictionary dictionary]; | 142 | NSMutableDictionary *payInfo = [NSMutableDictionary dictionary]; |
| 142 | [payInfo setValue:@"100" forKey:@"serverId"]; | 143 | [payInfo setValue:@"100" forKey:@"serverId"]; |
| 143 | [payInfo setValue:@"41080" forKey:@"roleId"]; | 144 | [payInfo setValue:@"41080" forKey:@"roleId"]; |
| 144 | [payInfo setValue:@"1000" forKey:@"channelId"]; | 145 | [payInfo setValue:@"1000" forKey:@"channelId"]; |
| 145 | [payInfo setValue:self.userId forKey:@"userId"]; | 146 | [payInfo setValue:self.userId forKey:@"userId"]; |
| 146 | [payInfo setValue:@"0.01" forKey:@"amount"]; | 147 | [payInfo setValue:@"0.01" forKey:@"amount"]; |
| 147 | [payInfo setValue:@"ios demo" forKey:@"extraInfo"]; | 148 | [payInfo setValue:@"ios demo" forKey:@"extraInfo"]; |
| 148 | [payInfo setValue:@"test" forKey:@"product"]; | 149 | [payInfo setValue:@"test" forKey:@"product"]; |
| 149 | // [[LetsGameAPI instance] pay:payInfo handleCallBack:^{ | 150 | // [[LetsGameAPI instance] pay:payInfo handleCallBack:^{ |
| 150 | // NSLog(@"第三方支付完成"); | 151 | // NSLog(@"第三方支付完成"); |
| 151 | // }]; | 152 | // }]; |
| 152 | [[LetsGameAPI instance] pWeb:payInfo handleCallBack:^{ | 153 | [[LetsGameAPI instance] pWeb:payInfo handleCallBack:^{ |
| 153 | NSLog(@"第三方支付完成"); | 154 | NSLog(@"第三方支付完成"); |
| 154 | }]; | 155 | }]; |
| 155 | } | 156 | } |
| 156 | 157 | ||
| 157 | -(void)onIapTest{ | 158 | -(void)onIapTest{ |
| 158 | 159 | ||
| 159 | [LetsGameAPI instance].appId = @"100"; | 160 | [LetsGameAPI instance].appId = @"100"; |
| 160 | NSMutableDictionary *payInfo = [NSMutableDictionary dictionary]; | 161 | NSMutableDictionary *payInfo = [NSMutableDictionary dictionary]; |
| 161 | [payInfo setValue:@"100" forKey:@"serverId"]; | 162 | [payInfo setValue:@"100" forKey:@"serverId"]; |
| 162 | [payInfo setValue:@"41080" forKey:@"roleId"]; | 163 | [payInfo setValue:@"41080" forKey:@"roleId"]; |
| 163 | [payInfo setValue:self.userId forKey:@"userId"]; | 164 | [payInfo setValue:self.userId forKey:@"userId"]; |
| 164 | [payInfo setValue:@"1000" forKey:@"channelId"]; | 165 | [payInfo setValue:@"1000" forKey:@"channelId"]; |
| 165 | [payInfo setValue:@"10" forKey:@"amount"]; | 166 | [payInfo setValue:@"10" forKey:@"amount"]; |
| 166 | [payInfo setValue:@"ios demo" forKey:@"extraInfo"]; | 167 | [payInfo setValue:@"ios demo" forKey:@"extraInfo"]; |
| 167 | [payInfo setValue:@"com.gump.pro1" forKey:@"product"]; | 168 | [payInfo setValue:@"com.gump.pro1" forKey:@"product"]; |
| 168 | [[LetsGameAPI instance] iap:payInfo succCallback:^(NSString *orderId) { | 169 | [[LetsGameAPI instance] iap:payInfo succCallback:^(NSString *orderId) { |
| 169 | //注意测试仅仅是通知客户端成功,但是还需要向服务器请求验证是否成功,以服务端验证为准 | 170 | //注意测试仅仅是通知客户端成功,但是还需要向服务器请求验证是否成功,以服务端验证为准 |
| 170 | NSLog(@"IAP completed orderId of Gumptech:%@",orderId); | 171 | NSLog(@"IAP completed orderId of Gumptech:%@",orderId); |
| 171 | } failCallback:^(NSString *orderId) { | 172 | } failCallback:^(NSString *orderId) { |
| 172 | NSLog(@"IAP file orderId of Gumptech:%@",orderId); | 173 | NSLog(@"IAP file orderId of Gumptech:%@",orderId); |
| 173 | }]; | 174 | }]; |
| 174 | } | 175 | } |
| 175 | 176 | ||
| 176 | -(void)onActivity{ | 177 | -(void)onActivity{ |
| 177 | 178 | ||
| 178 | [[LetsGameActivityAPI instance] decideIsDebug:1]; | 179 | [[LetsGameActivityAPI instance] decideIsDebug:1]; |
| 179 | NSMutableDictionary *activityInfo = [NSMutableDictionary dictionary]; | 180 | NSMutableDictionary *activityInfo = [NSMutableDictionary dictionary]; |
| 180 | [activityInfo setValue:@"100" forKey:@"appId"]; | 181 | [activityInfo setValue:@"100" forKey:@"appId"]; |
| 181 | [activityInfo setValue:@"17670327" forKey:@"userId"]; | 182 | [activityInfo setValue:@"17670327" forKey:@"userId"]; |
| 182 | [activityInfo setValue:@"55" forKey:@"serverId"]; | 183 | [activityInfo setValue:@"55" forKey:@"serverId"]; |
| 183 | [activityInfo setValue:@"Pidmon" forKey:@"serverName"]; | 184 | [activityInfo setValue:@"Pidmon" forKey:@"serverName"]; |
| 184 | [activityInfo setValue:@"55004444" forKey:@"roleId"]; | 185 | [activityInfo setValue:@"55004444" forKey:@"roleId"]; |
| 185 | [activityInfo setValue:@"Marin" forKey:@"roleName"]; | 186 | [activityInfo setValue:@"Marin" forKey:@"roleName"]; |
| 186 | [activityInfo setValue:@"140" forKey:@"diamond"]; | 187 | [activityInfo setValue:@"140" forKey:@"diamond"]; |
| 187 | [activityInfo setValue:self.activityTextField.text forKey:@"campaignType"]; | 188 | [activityInfo setValue:self.activityTextField.text forKey:@"campaignType"]; |
| 188 | [[LetsGameActivityAPI instance] GameActivityWithParaDictory:activityInfo handleCallBackL:^{ | 189 | [[LetsGameActivityAPI instance] GameActivityWithParaDictory:activityInfo handleCallBackL:^{ |
| 189 | NSLog(@"activity finish!"); | 190 | NSLog(@"activity finish!"); |
| 190 | }]; | 191 | }]; |
| 191 | } | 192 | } |
| 192 | 193 | ||
| 193 | -(void)bindBtnClick{ | 194 | -(void)linkBtnClick{ |
| 194 | NSMutableDictionary *bindParaDic = [NSMutableDictionary dictionary]; | 195 | NSMutableDictionary *linkParaDic = [NSMutableDictionary dictionary]; |
| 195 | [bindParaDic setObject:@"100" forKey:@"appId"]; | 196 | [linkParaDic setObject:@"10022" forKey:@"appId"]; |
| 196 | [bindParaDic setObject:self.userId forKey:@"userId"]; | 197 | [linkParaDic setObject:self.userId forKey:@"userId"]; |
| 197 | [[GPGameLoginSDK instance] GPGameBingWithViewController:self InfoDic:bindParaDic succCallBack:^(NSNumber *userId, ACCOUNTENTERTYPE type) { | 198 | //仅在切换账号成功的时候有返回值 |
| 199 | [[GPGameLoginSDK instance] GPGameAccountLinkViewController:self InfoDic:linkParaDic callBack:^(NSNumber *userId, ACCOUNTENTERTYPE type) { | ||
| 198 | self.resultLabel.text = [NSString stringWithFormat:@"userId: %@, accountType: %ld", userId, (long)type]; | 200 | self.resultLabel.text = [NSString stringWithFormat:@"userId: %@, accountType: %ld", userId, (long)type]; |
| 199 | } failCallBack:^{ | ||
| 200 | NSLog(@"bind fail"); | ||
| 201 | }]; | ||
| 202 | |||
| 203 | } | ||
| 204 | -(void)switchBtnClick{ | ||
| 205 | NSMutableDictionary *bindParaDic = [NSMutableDictionary dictionary]; | ||
| 206 | [bindParaDic setObject:@"100" forKey:@"appId"]; | ||
| 207 | [bindParaDic setObject:self.userId forKey:@"userId"]; | ||
| 208 | [[GPGameLoginSDK instance] GPGameSwitchWithViewController:self InfoDic:bindParaDic succCallBack:^(NSNumber *userId, ACCOUNTENTERTYPE type) { | ||
| 209 | self.resultLabel.text = [NSString stringWithFormat:@"userId: %@, accountType: %ld", userId, (long)type]; | ||
| 210 | } failCallBack:^{ | ||
| 211 | NSLog(@"bind fail"); | ||
| 212 | }]; | 201 | }]; |
| 213 | } | 202 | } |
| 214 | 203 | ||
| 215 | -(void)onPayWebTo{ | 204 | -(void)onPayWebTo{ |
| 216 | if (!self.payToWeb) { | 205 | if (!self.payToWeb) { |
| 217 | self.payToWeb = YES; | 206 | self.payToWeb = YES; |
| 218 | [[LetsGameAPI instance] decideWebToVersion:1]; | 207 | [[LetsGameAPI instance] decideWebToVersion:1]; |
| 219 | }else{ | 208 | }else{ |
| 220 | self.payToWeb = NO; | 209 | self.payToWeb = NO; |
| 221 | [[LetsGameAPI instance] decideWebToVersion:0]; | 210 | [[LetsGameAPI instance] decideWebToVersion:0]; |
| 222 | } | 211 | } |
| 223 | } | 212 | } |
| 224 | 213 | ||
| 225 | -(void)switchGameCentBtnClick{ | 214 | -(void)switchGameCentBtnClick{ |
| 226 | [[GPGameLoginSDK instance] GPSwitchGameCenterWithViewController:self switchCallBack:^{ | 215 | [[GPGameLoginSDK instance] GPSwitchGameCenterWithViewController:self switchCallBack:^{ |
| 227 | self.resultLabel.text = @"Login Game Center"; | 216 | self.resultLabel.text = @"Login Game Center"; |
| 228 | }]; | 217 | }]; |
| 229 | } | 218 | } |
ios/GameSDKResources.bundle/en.strings
| 1 | "user_name_hint" = "We have detected that you have already logged in to another account. Are you sure to switch?"; | 1 | "user_name_hint" = "We have detected that you have already logged in to another account. Are you sure to switch?"; |
| 2 | "account_change_cancel" = "Cancel"; | 2 | "account_change_cancel" = "Cancel"; |
| 3 | "account_change_certain" = "Switch"; | 3 | "account_change_certain" = "Switch"; |
| 4 | "account_switch_warn" = "Please click settings--Game Center--open Game Center, then restart the game."; | 4 | "account_switch_warn" = "Please click settings--Game Center--open Game Center, then restart the game."; |
| 5 | "account_change_certain" = "Confirm"; | 5 | "account_change_certain" = "Confirm"; |
| 6 | "uncomplete_transaction" = "Please complete the unpaid transaction first."; | ||
| 6 | 7 |
ios/GameSDKResources.bundle/images/logClose@2x.png
507 Bytes
ios/GameSDKResources.bundle/th.strings
| 1 | "user_name_hint" = "ระบบตรวจพบว่าคุณได้ลงชื่อเข้าใช้บัญชีอื่นมาก่อน คุณต้องการจะเปลียนหรือไม่?"; | 1 | "user_name_hint" = "ระบบตรวจพบว่าคุณได้ลงชื่อเข้าใช้บัญชีอื่นมาก่อน คุณต้องการจะเปลียนหรือไม่?"; |
| 2 | "account_change_cancel" = "ยกเลิก"; | 2 | "account_change_cancel" = "ยกเลิก"; |
| 3 | "account_change_certain" = "ตกลง"; | 3 | "account_change_certain" = "ตกลง"; |
| 4 | "account_switch_warn" = "กรุณาเข้าสู่การตั้งค่า --Game Center--เปิด Game Center จากนั้นให้เข้าสู่เกมอีกรอบ."; | 4 | "account_switch_warn" = "กรุณาเข้าสู่การตั้งค่า --Game Center--เปิด Game Center จากนั้นให้เข้าสู่เกมอีกรอบ."; |
| 5 | "account_change_certain" = "ยืนยัน"; | 5 | "account_change_certain" = "ยืนยัน"; |
| 6 | "uncomplete_transaction" = "คุณมีคำสั่งซื้อที่ค้างชำระโปรดชำระเงินให้เสร็จก่อน"; | ||
| 6 | 7 |
ios/GameSDKResources.bundle/zh-Hans.strings
| 1 | "account_change_warn" = "系统检测到您之前登录过其他账号,您确定要切换吗?"; | 1 | "account_change_warn" = "系统检测到您之前登录过其他账号,您确定要切换吗?"; |
| 2 | "account_change_cancel" = "取消"; | 2 | "account_change_cancel" = "取消"; |
| 3 | "account_change_certain" = "切换"; | 3 | "account_change_certain" = "切换"; |
| 4 | "account_switch_warn" = "请进入设置--Game Center--打开Game Center,然后重新进入游戏"; | 4 | "account_switch_warn" = "请进入设置--Game Center--打开Game Center,然后重新进入游戏"; |
| 5 | "account_change_certain" = "确定"; | 5 | "account_change_certain" = "确定"; |
| 6 | "uncomplete_transaction" = "您有未支付的订单,请先完成支付"; | ||
| 6 | 7 |
ios/GameSDKResources.bundle/zh-Hant.strings
| 1 | "user_name_hint" = "系統檢測到您之前登錄過其他帳號,您確定要切換嗎?"; | 1 | "user_name_hint" = "系統檢測到您之前登錄過其他帳號,您確定要切換嗎?"; |
| 2 | "account_change_cancel" = "取消"; | 2 | "account_change_cancel" = "取消"; |
| 3 | "account_change_certain" = "切換"; | 3 | "account_change_certain" = "切換"; |
| 4 | "account_switch_warn" = "請進入設置--Game Center--打开Game Center,然后重新进入游戏"; | 4 | "account_switch_warn" = "請進入設置--Game Center--打开Game Center,然后重新进入游戏"; |
| 5 | "account_change_certain" = "确定"; | 5 | "account_change_certain" = "确定"; |
| 6 | "uncomplete_transaction" = "您有未支付的訂單,請先完成支付"; | ||
| 6 | 7 |
ios/GumpLoginSDK.framework/Versions/A/GumpLoginSDK
No preview for this file type
ios/GumpLoginSDK.framework/Versions/A/Headers/GPGameLoginSDK.h
| 1 | // | 1 | // |
| 2 | // GPGameLoginSDK.h | 2 | // GPGameLoginSDK.h |
| 3 | // GumpLoginSDK | 3 | // GumpLoginSDK |
| 4 | // | 4 | // |
| 5 | // Created by yanglele on 2018/10/22. | 5 | // Created by yanglele on 2018/10/22. |
| 6 | // Copyright © 2018年 alexYang. All rights reserved. | 6 | // Copyright © 2018年 alexYang. All rights reserved. |
| 7 | // | 7 | // |
| 8 | 8 | ||
| 9 | #import <Foundation/Foundation.h> | 9 | #import <Foundation/Foundation.h> |
| 10 | #import <UIKit/UIKit.h> | 10 | #import <UIKit/UIKit.h> |
| 11 | 11 | ||
| 12 | typedef enum:NSInteger{ | 12 | typedef enum:NSInteger{ |
| 13 | GUESTTYPE = 1, | 13 | GUESTTYPE = 1, |
| 14 | SYSTEMTYPE, | 14 | SYSTEMTYPE, |
| 15 | GUMPTYPE, | 15 | GUMPTYPE, |
| 16 | }ACCOUNTENTERTYPE; | 16 | }ACCOUNTENTERTYPE; |
| 17 | 17 | ||
| 18 | typedef void(^GPGameLoginSuccessBlock)(NSNumber *userId, ACCOUNTENTERTYPE type); | 18 | typedef void(^GPGameLoginSuccessBlock)(NSNumber *userId, ACCOUNTENTERTYPE type); |
| 19 | typedef void(^GPGameLoginFailureBlock)(void); | 19 | typedef void(^GPGameLoginFailureBlock)(void); |
| 20 | 20 | ||
| 21 | static NSString *version = @"1.0.8"; | 21 | static NSString *version = @"1.0.11"; |
| 22 | @interface GPGameLoginSDK : NSObject | 22 | @interface GPGameLoginSDK : NSObject |
| 23 | 23 | ||
| 24 | @property(nonatomic, copy) GPGameLoginSuccessBlock succBlock; | 24 | @property(nonatomic, copy) GPGameLoginSuccessBlock succBlock; |
| 25 | @property(nonatomic, copy) GPGameLoginFailureBlock failBlock; | 25 | @property(nonatomic, copy) GPGameLoginFailureBlock failBlock; |
| 26 | @property(nonatomic, copy) NSString *userID; | 26 | @property(nonatomic, copy) NSString *userID; |
| 27 | @property(nonatomic, strong) UIViewController *GPViewController; | 27 | @property(nonatomic, strong) UIViewController *GPViewController; |
| 28 | 28 | ||
| 29 | +(instancetype)instance; | 29 | +(instancetype)instance; |
| 30 | 30 | ||
| 31 | -(NSString *)version; | 31 | -(NSString *)version; |
| 32 | 32 | ||
| 33 | //游客登录和系统账号登录 | 33 | //游客登录和系统账号登录 |
| 34 | -(void)GPGameLoginWithViewController:(UIViewController *)VC appID:(NSString *)appID channelId:(NSString *)channelId; | 34 | -(void)GPGameLoginWithViewController:(UIViewController *)VC appID:(NSString *)appID channelId:(NSString *)channelId; |
| 35 | //绑定接口 | 35 | //账号联动 |
| 36 | -(void)GPGameBingWithViewController:(UIViewController *)vc InfoDic:(NSDictionary *)InfoDic succCallBack:(void (^)(NSNumber *userId, ACCOUNTENTERTYPE type))succCallBack failCallBack:(void (^)())failCallBack; | 36 | -(void)GPGameAccountLinkViewController:(UIViewController *)vc InfoDic:(NSDictionary *)InfoDic callBack:(void (^)(NSNumber *userId, ACCOUNTENTERTYPE type))callBack; |
| 37 | //切换接口 | ||
| 38 | -(void)GPGameSwitchWithViewController:(UIViewController *)vc InfoDic:(NSDictionary *)InfoDic succCallBack:(void (^)(NSNumber *userId, ACCOUNTENTERTYPE type))succCallBack failCallBack:(void (^)())failCallBack; | ||
| 39 | //切换系统账号 | 37 | //切换系统账号 |
| 40 | -(void)GPSwitchGameCenterWithViewController:(UIViewController *)vc switchCallBack:(void (^)())switchCallBack; | 38 | -(void)GPSwitchGameCenterWithViewController:(UIViewController *)vc switchCallBack:(void (^)())switchCallBack; |
| 41 | 39 | ||
| 40 | -(void)cleanUserInfo; | ||
| 41 |