Commit 9125aae2caa5f15e3b27e8477ffc9b63388a93ac

Authored by alexYang
1 parent 90dd3749f9
Exists in master

第三方支付增加货币种类

Showing 7 changed files with 12 additions and 10 deletions Inline Diff

1 # Gump IOS SDK使用文档 1 # Gump IOS SDK使用文档
2 2
3 3
4 接入手册 4 接入手册
5 登陆sdk:GumpLoginSDK.framework v1.0.12 5 登陆sdk:GumpLoginSDK.framework v1.0.12
6 支付sdk: GameSDK.framework v4.0.7 6 支付sdk: GameSDK.framework v4.0.8
7 2019年6月6日 7 2019年6月25日
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:@"USD" forKey:@"currency"];//货币种类
50 [payInfo setValue:@"ios demo" forKey:@"extraInfo"];//外部订单信息 51 [payInfo setValue:@"ios demo" forKey:@"extraInfo"];//外部订单信息
51 [payInfo setValue:@"test1" forKey:@"product"];//商品ID 52 [payInfo setValue:@"test1" forKey:@"product"];//商品ID
52 [[LetsGameAPI instance] pWeb:payInfo handleCallBack:^{ 53 [[LetsGameAPI instance] pWeb:payInfo handleCallBack:^{
53 //第三方支付完成时的回调(包括支付成功和支付失败,除了支付过程中取消的),取消的不会有回调 54 //第三方支付完成时的回调(包括支付成功和支付失败,除了支付过程中取消的),取消的不会有回调
54 NSLog(@"第三方支付完成"); 55 NSLog(@"第三方支付完成");
55 }]]; 56 }]];
56 57
57 ### 6、IAP支付 58 ### 6、IAP支付
58 若要使用apple IAP支付,需要在AppDelegate的application: didFinishLaunchingWithOptions:方法内注册iap observer,使用如下方法 59 若要使用apple IAP支付,需要在AppDelegate的application: didFinishLaunchingWithOptions:方法内注册iap observer,使用如下方法
59 60
60 [[LetsGameAPI instance] registeIapObserver]; 61 [[LetsGameAPI instance] registeIapObserver];
61 具体调用iap支付的方法如下: 62 具体调用iap支付的方法如下:
62 63
63 [LetsGameAPI instance].appId = @"100"; 64 [LetsGameAPI instance].appId = @"100";
64 NSMutableDictionary *payInfo = [NSMutableDictionary dictionary]; 65 NSMutableDictionary *payInfo = [NSMutableDictionary dictionary];
65 [payInfo setValue:@"5001" forKey:@"serverId"];//当前用户所在的服务器Id 66 [payInfo setValue:@"5001" forKey:@"serverId"];//当前用户所在的服务器Id
66 [payInfo setValue:@"10010" forKey:@"roleId"];//当前用户的角色id 67 [payInfo setValue:@"10010" forKey:@"roleId"];//当前用户的角色id
67 [payInfo setValue:@"1595907" forKey:@"userId"];//用户ID userId 68 [payInfo setValue:@"1595907" forKey:@"userId"];//用户ID userId
68 [payInfo setValue:@"1000" forKey:@"channelId"];//渠道id,用于统计 69 [payInfo setValue:@"1000" forKey:@"channelId"];//渠道id,用于统计
69 [payInfo setValue:@"10" forKey:@"amount"];//对应支付项的支付金额,实际支付金额以itunes配置为准 70 [payInfo setValue:@"10" forKey:@"amount"];//对应支付项的支付金额,实际支付金额以itunes配置为准
70 [payInfo setValue:@"ios demo" forKey:@"extraInfo"];//扩展信息,可以游戏自定义,建议传自有订单号 71 [payInfo setValue:@"ios demo" forKey:@"extraInfo"];//扩展信息,可以游戏自定义,建议传自有订单号
71 [payInfo setValue:@"test.product.1" forKey:@"product"];//itunes 后台配置的对应支付项的productId 72 [payInfo setValue:@"test.product.1" forKey:@"product"];//itunes 后台配置的对应支付项的productId
72 [[LetsGameAPI instance] iap:payInfo succCallback:^(NSString *orderId) { 73 [[LetsGameAPI instance] iap:payInfo succCallback:^(NSString *orderId) {
73 //此处的回调表明支付已经完成,但此时支付不一定成功,需要服务端验证支付结果 74 //此处的回调表明支付已经完成,但此时支付不一定成功,需要服务端验证支付结果
74 //orderId为gump生成的订单号,此订单号可以在gump server查询此笔支付是否成功 75 //orderId为gump生成的订单号,此订单号可以在gump server查询此笔支付是否成功
75 NSLog(@"IAP completed orderId of Gumptech:%@",orderId); 76 NSLog(@"IAP completed orderId of Gumptech:%@",orderId);
76 } failCallback:^(NSString *orderId) { 77 } failCallback:^(NSString *orderId) {
77 //支付失败 78 //支付失败
78 NSLog(@"IAP file orderId of Gumptech:%@",orderId); 79 NSLog(@"IAP file orderId of Gumptech:%@",orderId);
79 }]; 80 }];
80 81
81 82
82 ### 7、第三方支付版本 83 ### 7、第三方支付版本
83 第三方支付,分成两个版本:没有gump币和有gump币,不设置时默认为不带gump币版本,如果使用带gump币的版本如下设置: 84 第三方支付,分成两个版本:没有gump币和有gump币,不设置时默认为不带gump币版本,如果使用带gump币的版本如下设置:
84 85
85 需要在 application:didFinishLaunchingWithOptions方法中添加: 86 需要在 application:didFinishLaunchingWithOptions方法中添加:
86 87
87 [[LetsGameAPI instance] decideWebToVersion:1] 88 [[LetsGameAPI instance] decideWebToVersion:1]
88 89
89 ### 8、第三方支付横竖屏设置 90 ### 8、第三方支付横竖屏设置
90 添加GameSDK.framework 91 添加GameSDK.framework
91 首先设置支付SDK默认是横屏,在General->Deployment Info->Device Orientain下,只选择Landscape Left 和 Landscape Right,SDK的界面默认是横屏。 92 首先设置支付SDK默认是横屏,在General->Deployment Info->Device Orientain下,只选择Landscape Left 和 Landscape Right,SDK的界面默认是横屏。
92 其次如果想使用竖屏的模式,需要在General->Deployment Info->Device Orientain下,只选择Portrait模式,并且需要在AppDelegate中的方法: 93 其次如果想使用竖屏的模式,需要在General->Deployment Info->Device Orientain下,只选择Portrait模式,并且需要在AppDelegate中的方法:
93 - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions;靠前的位置添加代码设置: 94 - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions;靠前的位置添加代码设置:
94 95
95 [LetsGameAPI DeviceOrientationIsHorizontal:NO]; 96 [LetsGameAPI DeviceOrientationIsHorizontal:NO];
96 97
97 ### 9、活动添加 98 ### 9、活动添加
98 添加GameActivitySDK.framework 99 添加GameActivitySDK.framework
99 设置:设置xxxx.plist 100 设置:设置xxxx.plist
100 只支持HTTP的方式,需要将相应的项目的xxx.plist添加Information Property List->App Transport Security Settings -> Allow Arbitrary Loads设置为YES 101 只支持HTTP的方式,需要将相应的项目的xxx.plist添加Information Property List->App Transport Security Settings -> Allow Arbitrary Loads设置为YES
101 102
102 工程中添加SDK登录代码: 103 工程中添加SDK登录代码:
103 104
104 NSMutableDictionary *activityInfo = [NSMutableDictionary dictionary]; 105 NSMutableDictionary *activityInfo = [NSMutableDictionary dictionary];
105 [activityInfo setValue:@"100" forKey:@"appId"]; 106 [activityInfo setValue:@"100" forKey:@"appId"];
106 [activityInfo setValue:@"123456" forKey:@"userId"]; 107 [activityInfo setValue:@"123456" forKey:@"userId"];
107 [activityInfo setValue:@"111" forKey:@"serverId"]; 108 [activityInfo setValue:@"111" forKey:@"serverId"];
108 [activityInfo setValue:@"aaa" forKey:@"serverName"]; 109 [activityInfo setValue:@"aaa" forKey:@"serverName"];
109 [activityInfo setValue:@"222" forKey:@"roleId"]; 110 [activityInfo setValue:@"222" forKey:@"roleId"];
110 [activityInfo setValue:@"ccc" forKey:@"roleName"]; 111 [activityInfo setValue:@"ccc" forKey:@"roleName"];
111 [activityInfo setValue:@"888" forKey:@"diamond"]; 112 [activityInfo setValue:@"888" forKey:@"diamond"];
112 //活动关闭的回调 113 //活动关闭的回调
113 [[LetsGameActivityAPI instance] GameActivityWithParaDictory:activityInfo handleCallBackL:^{ 114 [[LetsGameActivityAPI instance] GameActivityWithParaDictory:activityInfo handleCallBackL:^{
114 NSLog(@"activity finish!"); 115 NSLog(@"activity finish!");
115 }]; 116 }];
116 117
117 ### 10、账号联动 118 ### 10、账号联动
118 需要提供按钮绑定,点击事件调用下面方法。 119 需要提供按钮绑定,点击事件调用下面方法。
119 此功能涉及账号的绑定和切换,回调只有在切换成功之后才会出现,其他情况的回调都是失败的回调。 120 此功能涉及账号的绑定和切换,回调只有在切换成功之后才会出现,其他情况的回调都是失败的回调。
120 工程中添加SDK账号联动代码: 121 工程中添加SDK账号联动代码:
121 122
122 NSMutableDictionary *linkParaDic = [NSMutableDictionary dictionary]; 123 NSMutableDictionary *linkParaDic = [NSMutableDictionary dictionary];
123 [linkParaDic setObject:@"10022" forKey:@"appId"]; 124 [linkParaDic setObject:@"10022" forKey:@"appId"];
124 [linkParaDic setObject:self.userId forKey:@"userId"]; 125 [linkParaDic setObject:self.userId forKey:@"userId"];
125 //仅在切换账号成功的时候有返回值 126 //仅在切换账号成功的时候有返回值
126 [[GPGameLoginSDK instance] GPGameAccountLinkViewController:self InfoDic:linkParaDic callBack:^(NSNumber *userId, ACCOUNTENTERTYPE type) { 127 [[GPGameLoginSDK instance] GPGameAccountLinkViewController:self InfoDic:linkParaDic callBack:^(NSNumber *userId, ACCOUNTENTERTYPE type) {
127 self.resultLabel.text = [NSString stringWithFormat:@"userId: %@, accountType: %ld", userId, (long)type]; 128 self.resultLabel.text = [NSString stringWithFormat:@"userId: %@, accountType: %ld", userId, (long)type];
128 }]; 129 }];
129 130
130 ### 11、切换系统账号 131 ### 11、切换系统账号
131 需要提供按钮切换系统账号,点击事件调用下面方法。 132 需要提供按钮切换系统账号,点击事件调用下面方法。
132 需要用户自己去往Game Center切换账号,之后再次登陆游戏才能实现账号切换。 133 需要用户自己去往Game Center切换账号,之后再次登陆游戏才能实现账号切换。
133 工程中添加SDK切换系统账号代码: 134 工程中添加SDK切换系统账号代码:
134 135
135 [[GPGameLoginSDK instance] GPSwitchGameCenterWithViewController:self switchCallBack:^{ 136 [[GPGameLoginSDK instance] GPSwitchGameCenterWithViewController:self switchCallBack:^{
136 self.resultLabel.text = @"Login Game Center"; 137 self.resultLabel.text = @"Login Game Center";
137 }]; 138 }];
138 139
139 140
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.7"; 7 static NSString *pVersion = @"4.0.8";
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
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 = T65VA5M82Q; 251 DevelopmentTeam = T65VA5M82Q;
252 ProvisioningStyle = Manual; 252 ProvisioningStyle = Automatic;
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 English,
276 en, 276 en,
277 ); 277 );
278 mainGroup = 9934F1A519303DC6005EF4AB; 278 mainGroup = 9934F1A519303DC6005EF4AB;
279 productRefGroup = 9934F1AF19303DC6005EF4AB /* Products */; 279 productRefGroup = 9934F1AF19303DC6005EF4AB /* Products */;
280 projectDirPath = ""; 280 projectDirPath = "";
281 projectReferences = ( 281 projectReferences = (
282 { 282 {
283 ProductGroup = 757295DC2187FA0B00DFA18D /* Products */; 283 ProductGroup = 757295DC2187FA0B00DFA18D /* Products */;
284 ProjectRef = 757295DB2187FA0B00DFA18D /* GameActivitySDK.xcodeproj */; 284 ProjectRef = 757295DB2187FA0B00DFA18D /* GameActivitySDK.xcodeproj */;
285 }, 285 },
286 { 286 {
287 ProductGroup = 757EF4C02181B044006EB6CD /* Products */; 287 ProductGroup = 757EF4C02181B044006EB6CD /* Products */;
288 ProjectRef = 757EF4BF2181B044006EB6CD /* GameSDK.xcodeproj */; 288 ProjectRef = 757EF4BF2181B044006EB6CD /* GameSDK.xcodeproj */;
289 }, 289 },
290 { 290 {
291 ProductGroup = 757EF4C92181B147006EB6CD /* Products */; 291 ProductGroup = 757EF4C92181B147006EB6CD /* Products */;
292 ProjectRef = 757EF4C82181B147006EB6CD /* GumpLoginSDK.xcodeproj */; 292 ProjectRef = 757EF4C82181B147006EB6CD /* GumpLoginSDK.xcodeproj */;
293 }, 293 },
294 ); 294 );
295 projectRoot = ""; 295 projectRoot = "";
296 targets = ( 296 targets = (
297 9934F1AD19303DC6005EF4AB /* GameSDKDemo */, 297 9934F1AD19303DC6005EF4AB /* GameSDKDemo */,
298 ); 298 );
299 }; 299 };
300 /* End PBXProject section */ 300 /* End PBXProject section */
301 301
302 /* Begin PBXReferenceProxy section */ 302 /* Begin PBXReferenceProxy section */
303 757295E12187FA0B00DFA18D /* libGameActivitySDK.a */ = { 303 757295E12187FA0B00DFA18D /* libGameActivitySDK.a */ = {
304 isa = PBXReferenceProxy; 304 isa = PBXReferenceProxy;
305 fileType = archive.ar; 305 fileType = archive.ar;
306 path = libGameActivitySDK.a; 306 path = libGameActivitySDK.a;
307 remoteRef = 757295E02187FA0B00DFA18D /* PBXContainerItemProxy */; 307 remoteRef = 757295E02187FA0B00DFA18D /* PBXContainerItemProxy */;
308 sourceTree = BUILT_PRODUCTS_DIR; 308 sourceTree = BUILT_PRODUCTS_DIR;
309 }; 309 };
310 757EF4C52181B044006EB6CD /* libGameSDK.a */ = { 310 757EF4C52181B044006EB6CD /* libGameSDK.a */ = {
311 isa = PBXReferenceProxy; 311 isa = PBXReferenceProxy;
312 fileType = archive.ar; 312 fileType = archive.ar;
313 path = libGameSDK.a; 313 path = libGameSDK.a;
314 remoteRef = 757EF4C42181B044006EB6CD /* PBXContainerItemProxy */; 314 remoteRef = 757EF4C42181B044006EB6CD /* PBXContainerItemProxy */;
315 sourceTree = BUILT_PRODUCTS_DIR; 315 sourceTree = BUILT_PRODUCTS_DIR;
316 }; 316 };
317 757EF4D22181B148006EB6CD /* libGumpLoginSDK.a */ = { 317 757EF4D22181B148006EB6CD /* libGumpLoginSDK.a */ = {
318 isa = PBXReferenceProxy; 318 isa = PBXReferenceProxy;
319 fileType = archive.ar; 319 fileType = archive.ar;
320 path = libGumpLoginSDK.a; 320 path = libGumpLoginSDK.a;
321 remoteRef = 757EF4D12181B148006EB6CD /* PBXContainerItemProxy */; 321 remoteRef = 757EF4D12181B148006EB6CD /* PBXContainerItemProxy */;
322 sourceTree = BUILT_PRODUCTS_DIR; 322 sourceTree = BUILT_PRODUCTS_DIR;
323 }; 323 };
324 /* End PBXReferenceProxy section */ 324 /* End PBXReferenceProxy section */
325 325
326 /* Begin PBXResourcesBuildPhase section */ 326 /* Begin PBXResourcesBuildPhase section */
327 9934F1AC19303DC6005EF4AB /* Resources */ = { 327 9934F1AC19303DC6005EF4AB /* Resources */ = {
328 isa = PBXResourcesBuildPhase; 328 isa = PBXResourcesBuildPhase;
329 buildActionMask = 2147483647; 329 buildActionMask = 2147483647;
330 files = ( 330 files = (
331 752A5F421CDC826A00C36131 /* GameSDKResources.bundle in Resources */, 331 752A5F421CDC826A00C36131 /* GameSDKResources.bundle in Resources */,
332 9934F1C419303DC6005EF4AB /* Images.xcassets in Resources */, 332 9934F1C419303DC6005EF4AB /* Images.xcassets in Resources */,
333 ); 333 );
334 runOnlyForDeploymentPostprocessing = 0; 334 runOnlyForDeploymentPostprocessing = 0;
335 }; 335 };
336 /* End PBXResourcesBuildPhase section */ 336 /* End PBXResourcesBuildPhase section */
337 337
338 /* Begin PBXSourcesBuildPhase section */ 338 /* Begin PBXSourcesBuildPhase section */
339 9934F1AA19303DC6005EF4AB /* Sources */ = { 339 9934F1AA19303DC6005EF4AB /* Sources */ = {
340 isa = PBXSourcesBuildPhase; 340 isa = PBXSourcesBuildPhase;
341 buildActionMask = 2147483647; 341 buildActionMask = 2147483647;
342 files = ( 342 files = (
343 9934F1BE19303DC6005EF4AB /* main.m in Sources */, 343 9934F1BE19303DC6005EF4AB /* main.m in Sources */,
344 9934F1C219303DC6005EF4AB /* LSGAppDelegate.m in Sources */, 344 9934F1C219303DC6005EF4AB /* LSGAppDelegate.m in Sources */,
345 9934F23A19307153005EF4AB /* LSGMainViewController.m in Sources */, 345 9934F23A19307153005EF4AB /* LSGMainViewController.m in Sources */,
346 ); 346 );
347 runOnlyForDeploymentPostprocessing = 0; 347 runOnlyForDeploymentPostprocessing = 0;
348 }; 348 };
349 /* End PBXSourcesBuildPhase section */ 349 /* End PBXSourcesBuildPhase section */
350 350
351 /* Begin XCBuildConfiguration section */ 351 /* Begin XCBuildConfiguration section */
352 9934F1D819303DC6005EF4AB /* Debug */ = { 352 9934F1D819303DC6005EF4AB /* Debug */ = {
353 isa = XCBuildConfiguration; 353 isa = XCBuildConfiguration;
354 buildSettings = { 354 buildSettings = {
355 ALWAYS_SEARCH_USER_PATHS = YES; 355 ALWAYS_SEARCH_USER_PATHS = YES;
356 CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 356 CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
357 CLANG_CXX_LIBRARY = "libc++"; 357 CLANG_CXX_LIBRARY = "libc++";
358 CLANG_ENABLE_MODULES = YES; 358 CLANG_ENABLE_MODULES = YES;
359 CLANG_ENABLE_OBJC_ARC = YES; 359 CLANG_ENABLE_OBJC_ARC = YES;
360 CLANG_WARN_BOOL_CONVERSION = YES; 360 CLANG_WARN_BOOL_CONVERSION = YES;
361 CLANG_WARN_CONSTANT_CONVERSION = YES; 361 CLANG_WARN_CONSTANT_CONVERSION = YES;
362 CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 362 CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
363 CLANG_WARN_EMPTY_BODY = YES; 363 CLANG_WARN_EMPTY_BODY = YES;
364 CLANG_WARN_ENUM_CONVERSION = YES; 364 CLANG_WARN_ENUM_CONVERSION = YES;
365 CLANG_WARN_INT_CONVERSION = YES; 365 CLANG_WARN_INT_CONVERSION = YES;
366 CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 366 CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
367 CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 367 CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
368 "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 368 "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
369 COPY_PHASE_STRIP = YES; 369 COPY_PHASE_STRIP = YES;
370 ENABLE_TESTABILITY = YES; 370 ENABLE_TESTABILITY = YES;
371 GCC_C_LANGUAGE_STANDARD = gnu99; 371 GCC_C_LANGUAGE_STANDARD = gnu99;
372 GCC_DYNAMIC_NO_PIC = NO; 372 GCC_DYNAMIC_NO_PIC = NO;
373 GCC_OPTIMIZATION_LEVEL = 0; 373 GCC_OPTIMIZATION_LEVEL = 0;
374 GCC_PREPROCESSOR_DEFINITIONS = ( 374 GCC_PREPROCESSOR_DEFINITIONS = (
375 "DEBUG=1", 375 "DEBUG=1",
376 "$(inherited)", 376 "$(inherited)",
377 ); 377 );
378 GCC_SYMBOLS_PRIVATE_EXTERN = NO; 378 GCC_SYMBOLS_PRIVATE_EXTERN = NO;
379 GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 379 GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
380 GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 380 GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
381 GCC_WARN_UNDECLARED_SELECTOR = YES; 381 GCC_WARN_UNDECLARED_SELECTOR = YES;
382 GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 382 GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
383 GCC_WARN_UNUSED_FUNCTION = YES; 383 GCC_WARN_UNUSED_FUNCTION = YES;
384 GCC_WARN_UNUSED_VARIABLE = YES; 384 GCC_WARN_UNUSED_VARIABLE = YES;
385 HEADER_SEARCH_PATHS = "$(PROJECT_DIR)/**"; 385 HEADER_SEARCH_PATHS = "$(PROJECT_DIR)/**";
386 IPHONEOS_DEPLOYMENT_TARGET = 8.4; 386 IPHONEOS_DEPLOYMENT_TARGET = 8.4;
387 ONLY_ACTIVE_ARCH = YES; 387 ONLY_ACTIVE_ARCH = YES;
388 SDKROOT = iphoneos; 388 SDKROOT = iphoneos;
389 }; 389 };
390 name = Debug; 390 name = Debug;
391 }; 391 };
392 9934F1D919303DC6005EF4AB /* Release */ = { 392 9934F1D919303DC6005EF4AB /* Release */ = {
393 isa = XCBuildConfiguration; 393 isa = XCBuildConfiguration;
394 buildSettings = { 394 buildSettings = {
395 ALWAYS_SEARCH_USER_PATHS = YES; 395 ALWAYS_SEARCH_USER_PATHS = YES;
396 CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 396 CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
397 CLANG_CXX_LIBRARY = "libc++"; 397 CLANG_CXX_LIBRARY = "libc++";
398 CLANG_ENABLE_MODULES = YES; 398 CLANG_ENABLE_MODULES = YES;
399 CLANG_ENABLE_OBJC_ARC = YES; 399 CLANG_ENABLE_OBJC_ARC = YES;
400 CLANG_WARN_BOOL_CONVERSION = YES; 400 CLANG_WARN_BOOL_CONVERSION = YES;
401 CLANG_WARN_CONSTANT_CONVERSION = YES; 401 CLANG_WARN_CONSTANT_CONVERSION = YES;
402 CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 402 CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
403 CLANG_WARN_EMPTY_BODY = YES; 403 CLANG_WARN_EMPTY_BODY = YES;
404 CLANG_WARN_ENUM_CONVERSION = YES; 404 CLANG_WARN_ENUM_CONVERSION = YES;
405 CLANG_WARN_INT_CONVERSION = YES; 405 CLANG_WARN_INT_CONVERSION = YES;
406 CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 406 CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
407 CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 407 CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
408 "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 408 "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
409 COPY_PHASE_STRIP = YES; 409 COPY_PHASE_STRIP = YES;
410 ENABLE_NS_ASSERTIONS = NO; 410 ENABLE_NS_ASSERTIONS = NO;
411 GCC_C_LANGUAGE_STANDARD = gnu99; 411 GCC_C_LANGUAGE_STANDARD = gnu99;
412 GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 412 GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
413 GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 413 GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
414 GCC_WARN_UNDECLARED_SELECTOR = YES; 414 GCC_WARN_UNDECLARED_SELECTOR = YES;
415 GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 415 GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
416 GCC_WARN_UNUSED_FUNCTION = YES; 416 GCC_WARN_UNUSED_FUNCTION = YES;
417 GCC_WARN_UNUSED_VARIABLE = YES; 417 GCC_WARN_UNUSED_VARIABLE = YES;
418 HEADER_SEARCH_PATHS = "$(PROJECT_DIR)/**"; 418 HEADER_SEARCH_PATHS = "$(PROJECT_DIR)/**";
419 IPHONEOS_DEPLOYMENT_TARGET = 8.4; 419 IPHONEOS_DEPLOYMENT_TARGET = 8.4;
420 ONLY_ACTIVE_ARCH = YES; 420 ONLY_ACTIVE_ARCH = YES;
421 SDKROOT = iphoneos; 421 SDKROOT = iphoneos;
422 VALIDATE_PRODUCT = YES; 422 VALIDATE_PRODUCT = YES;
423 }; 423 };
424 name = Release; 424 name = Release;
425 }; 425 };
426 9934F1DB19303DC6005EF4AB /* Debug */ = { 426 9934F1DB19303DC6005EF4AB /* Debug */ = {
427 isa = XCBuildConfiguration; 427 isa = XCBuildConfiguration;
428 baseConfigurationReference = 27019DCB1A208B1500DA560D /* Project.xcconfig */; 428 baseConfigurationReference = 27019DCB1A208B1500DA560D /* Project.xcconfig */;
429 buildSettings = { 429 buildSettings = {
430 ALWAYS_SEARCH_USER_PATHS = YES; 430 ALWAYS_SEARCH_USER_PATHS = YES;
431 ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 431 ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
432 ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME = LaunchImage; 432 ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME = LaunchImage;
433 CODE_SIGN_IDENTITY = "iPhone Developer"; 433 CODE_SIGN_IDENTITY = "iPhone Developer";
434 "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 434 "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
435 CODE_SIGN_STYLE = Manual; 435 CODE_SIGN_STYLE = Automatic;
436 DEVELOPMENT_TEAM = T65VA5M82Q; 436 DEVELOPMENT_TEAM = T65VA5M82Q;
437 ENABLE_BITCODE = NO; 437 ENABLE_BITCODE = NO;
438 FRAMEWORK_SEARCH_PATHS = ( 438 FRAMEWORK_SEARCH_PATHS = (
439 "$(PROJECT_DIR)/../**", 439 "$(PROJECT_DIR)/../**",
440 "$(PROJECT_DIR)/letsgameDemo", 440 "$(PROJECT_DIR)/letsgameDemo",
441 ); 441 );
442 GCC_PRECOMPILE_PREFIX_HEADER = YES; 442 GCC_PRECOMPILE_PREFIX_HEADER = YES;
443 GCC_PREFIX_HEADER = "letsgameDemo/GameSDKDemo-Prefix.pch"; 443 GCC_PREFIX_HEADER = "letsgameDemo/GameSDKDemo-Prefix.pch";
444 HEADER_SEARCH_PATHS = ( 444 HEADER_SEARCH_PATHS = (
445 "$(PROJECT_DIR)/../GameSDK.framework/**", 445 "$(PROJECT_DIR)/../GameSDK.framework/**",
446 "$(inherited)", 446 "$(inherited)",
447 "$(PROJECT_DIR)/letsgameDemo/**", 447 "$(PROJECT_DIR)/letsgameDemo/**",
448 "$(PROJECT_DIR)/../GameActivitySDK.framework/**", 448 "$(PROJECT_DIR)/../GameActivitySDK.framework/**",
449 "$(PROJECT_DIR)/../GumpLoginSDK.framework/**", 449 "$(PROJECT_DIR)/../GumpLoginSDK.framework/**",
450 ); 450 );
451 INFOPLIST_FILE = "letsgameDemo/letsgameDemo-Info.plist"; 451 INFOPLIST_FILE = "letsgameDemo/letsgameDemo-Info.plist";
452 IPHONEOS_DEPLOYMENT_TARGET = 8.0; 452 IPHONEOS_DEPLOYMENT_TARGET = 8.0;
453 LIBRARY_SEARCH_PATHS = ""; 453 LIBRARY_SEARCH_PATHS = "";
454 ONLY_ACTIVE_ARCH = NO; 454 ONLY_ACTIVE_ARCH = NO;
455 OTHER_LDFLAGS = "-ObjC"; 455 OTHER_LDFLAGS = "-ObjC";
456 PRIVATE_HEADERS_FOLDER_PATH = ""; 456 PRIVATE_HEADERS_FOLDER_PATH = "";
457 PRODUCT_BUNDLE_IDENTIFIER = com.deepwireless.crabcrab; 457 PRODUCT_BUNDLE_IDENTIFIER = com.deepwireless.crabcrab;
458 PRODUCT_NAME = GameSDKDemo; 458 PRODUCT_NAME = GameSDKDemo;
459 PROVISIONING_PROFILE = ""; 459 PROVISIONING_PROFILE = "";
460 PROVISIONING_PROFILE_SPECIFIER = comdeepwirelesscrabcrabDev; 460 PROVISIONING_PROFILE_SPECIFIER = "";
461 PUBLIC_HEADERS_FOLDER_PATH = ""; 461 PUBLIC_HEADERS_FOLDER_PATH = "";
462 WRAPPER_EXTENSION = app; 462 WRAPPER_EXTENSION = app;
463 }; 463 };
464 name = Debug; 464 name = Debug;
465 }; 465 };
466 9934F1DC19303DC6005EF4AB /* Release */ = { 466 9934F1DC19303DC6005EF4AB /* Release */ = {
467 isa = XCBuildConfiguration; 467 isa = XCBuildConfiguration;
468 baseConfigurationReference = 27019DCB1A208B1500DA560D /* Project.xcconfig */; 468 baseConfigurationReference = 27019DCB1A208B1500DA560D /* Project.xcconfig */;
469 buildSettings = { 469 buildSettings = {
470 ALWAYS_SEARCH_USER_PATHS = YES; 470 ALWAYS_SEARCH_USER_PATHS = YES;
471 ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 471 ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
472 ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME = LaunchImage; 472 ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME = LaunchImage;
473 CODE_SIGN_IDENTITY = "iPhone Distribution"; 473 CODE_SIGN_IDENTITY = "iPhone Developer";
474 "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 474 "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
475 CODE_SIGN_STYLE = Manual; 475 CODE_SIGN_STYLE = Automatic;
476 DEVELOPMENT_TEAM = T65VA5M82Q; 476 DEVELOPMENT_TEAM = T65VA5M82Q;
477 ENABLE_BITCODE = NO; 477 ENABLE_BITCODE = NO;
478 FRAMEWORK_SEARCH_PATHS = ( 478 FRAMEWORK_SEARCH_PATHS = (
479 "$(PROJECT_DIR)/../**", 479 "$(PROJECT_DIR)/../**",
480 "$(PROJECT_DIR)/letsgameDemo", 480 "$(PROJECT_DIR)/letsgameDemo",
481 ); 481 );
482 GCC_PRECOMPILE_PREFIX_HEADER = YES; 482 GCC_PRECOMPILE_PREFIX_HEADER = YES;
483 GCC_PREFIX_HEADER = "letsgameDemo/GameSDKDemo-Prefix.pch"; 483 GCC_PREFIX_HEADER = "letsgameDemo/GameSDKDemo-Prefix.pch";
484 HEADER_SEARCH_PATHS = ( 484 HEADER_SEARCH_PATHS = (
485 "$(PROJECT_DIR)/../GameSDK.framework/**", 485 "$(PROJECT_DIR)/../GameSDK.framework/**",
486 "$(inherited)", 486 "$(inherited)",
487 "$(PROJECT_DIR)/letsgameDemo/**", 487 "$(PROJECT_DIR)/letsgameDemo/**",
488 "$(PROJECT_DIR)/../GameActivitySDK.framework/**", 488 "$(PROJECT_DIR)/../GameActivitySDK.framework/**",
489 "$(PROJECT_DIR)/../GumpLoginSDK.framework/**", 489 "$(PROJECT_DIR)/../GumpLoginSDK.framework/**",
490 ); 490 );
491 INFOPLIST_FILE = "letsgameDemo/letsgameDemo-Info.plist"; 491 INFOPLIST_FILE = "letsgameDemo/letsgameDemo-Info.plist";
492 IPHONEOS_DEPLOYMENT_TARGET = 8.0; 492 IPHONEOS_DEPLOYMENT_TARGET = 8.0;
493 LIBRARY_SEARCH_PATHS = ""; 493 LIBRARY_SEARCH_PATHS = "";
494 ONLY_ACTIVE_ARCH = NO; 494 ONLY_ACTIVE_ARCH = NO;
495 OTHER_LDFLAGS = "-ObjC"; 495 OTHER_LDFLAGS = "-ObjC";
496 PRIVATE_HEADERS_FOLDER_PATH = ""; 496 PRIVATE_HEADERS_FOLDER_PATH = "";
497 PRODUCT_BUNDLE_IDENTIFIER = com.deepwireless.crabcrab; 497 PRODUCT_BUNDLE_IDENTIFIER = com.deepwireless.crabcrab;
498 PRODUCT_NAME = GameSDKDemo; 498 PRODUCT_NAME = GameSDKDemo;
499 PROVISIONING_PROFILE = ""; 499 PROVISIONING_PROFILE = "";
500 PROVISIONING_PROFILE_SPECIFIER = comdeepwirelesscrabcrabDev; 500 PROVISIONING_PROFILE_SPECIFIER = "";
501 PUBLIC_HEADERS_FOLDER_PATH = ""; 501 PUBLIC_HEADERS_FOLDER_PATH = "";
502 WRAPPER_EXTENSION = app; 502 WRAPPER_EXTENSION = app;
503 }; 503 };
504 name = Release; 504 name = Release;
505 }; 505 };
506 /* End XCBuildConfiguration section */ 506 /* End XCBuildConfiguration section */
507 507
508 /* Begin XCConfigurationList section */ 508 /* Begin XCConfigurationList section */
509 9934F1A919303DC6005EF4AB /* Build configuration list for PBXProject "GameSDKDemo" */ = { 509 9934F1A919303DC6005EF4AB /* Build configuration list for PBXProject "GameSDKDemo" */ = {
510 isa = XCConfigurationList; 510 isa = XCConfigurationList;
511 buildConfigurations = ( 511 buildConfigurations = (
512 9934F1D819303DC6005EF4AB /* Debug */, 512 9934F1D819303DC6005EF4AB /* Debug */,
513 9934F1D919303DC6005EF4AB /* Release */, 513 9934F1D919303DC6005EF4AB /* Release */,
514 ); 514 );
515 defaultConfigurationIsVisible = 0; 515 defaultConfigurationIsVisible = 0;
516 defaultConfigurationName = Release; 516 defaultConfigurationName = Release;
517 }; 517 };
518 9934F1DA19303DC6005EF4AB /* Build configuration list for PBXNativeTarget "GameSDKDemo" */ = { 518 9934F1DA19303DC6005EF4AB /* Build configuration list for PBXNativeTarget "GameSDKDemo" */ = {
519 isa = XCConfigurationList; 519 isa = XCConfigurationList;
520 buildConfigurations = ( 520 buildConfigurations = (
521 9934F1DB19303DC6005EF4AB /* Debug */, 521 9934F1DB19303DC6005EF4AB /* Debug */,
522 9934F1DC19303DC6005EF4AB /* Release */, 522 9934F1DC19303DC6005EF4AB /* Release */,
523 ); 523 );
524 defaultConfigurationIsVisible = 0; 524 defaultConfigurationIsVisible = 0;
525 defaultConfigurationName = Release; 525 defaultConfigurationName = Release;
526 }; 526 };
527 /* End XCConfigurationList section */ 527 /* End XCConfigurationList section */
528 }; 528 };
529 rootObject = 9934F1A619303DC6005EF4AB /* Project object */; 529 rootObject = 9934F1A619303DC6005EF4AB /* Project object */;
530 } 530 }
531 531
ios/GameSDKDemo/GameSDKDemo.xcodeproj/project.xcworkspace/xcuserdata/yanglele.xcuserdatad/UserInterfaceState.xcuserstate
No preview for this file type
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 @interface LSGMainViewController () 15 @interface LSGMainViewController ()
16 16
17 @property (nonatomic, strong) UILabel *resultLabel; 17 @property (nonatomic, strong) UILabel *resultLabel;
18 18
19 @property(nonatomic,strong) NSNumber *userId; 19 @property(nonatomic,strong) NSNumber *userId;
20 20
21 @property(nonatomic, assign) BOOL payToWeb; 21 @property(nonatomic, assign) BOOL payToWeb;
22 22
23 @property(nonatomic, strong) UITextField *activityTextField; 23 @property(nonatomic, strong) UITextField *activityTextField;
24 @end 24 @end
25 25
26 @implementation LSGMainViewController 26 @implementation LSGMainViewController
27 27
28 - (void)loadView { 28 - (void)loadView {
29 [super loadView]; 29 [super loadView];
30 NSLog(@"i come in"); 30 NSLog(@"i come in");
31 // self.view.backgroundColor = [UIColor whiteColor]; 31 // self.view.backgroundColor = [UIColor whiteColor];
32 self.view.backgroundColor = [UIColor blackColor]; 32 self.view.backgroundColor = [UIColor blackColor];
33 33
34 UIButton *btn = [[UIButton alloc] initWithFrame:CGRectMake(110, 40, 100, 30)]; 34 UIButton *btn = [[UIButton alloc] initWithFrame:CGRectMake(110, 40, 100, 30)];
35 btn.backgroundColor = [UIColor orangeColor]; 35 btn.backgroundColor = [UIColor orangeColor];
36 [btn setTitle:@"测试入口" forState:UIControlStateNormal]; 36 [btn setTitle:@"测试入口" forState:UIControlStateNormal];
37 [btn setTitleColor:[UIColor whiteColor] forState:UIControlStateNormal]; 37 [btn setTitleColor:[UIColor whiteColor] forState:UIControlStateNormal];
38 btn.titleLabel.font = [UIFont systemFontOfSize:15]; 38 btn.titleLabel.font = [UIFont systemFontOfSize:15];
39 [btn addTarget:self action:@selector(onClickTest) forControlEvents:UIControlEventTouchUpInside]; 39 [btn addTarget:self action:@selector(onClickTest) forControlEvents:UIControlEventTouchUpInside];
40 [self.view addSubview:btn]; 40 [self.view addSubview:btn];
41 41
42 UILabel *payWarnLabel = [[UILabel alloc] initWithFrame:CGRectMake(110, 85, 150, 10)]; 42 UILabel *payWarnLabel = [[UILabel alloc] initWithFrame:CGRectMake(110, 85, 150, 10)];
43 payWarnLabel.text = @"默认V3支付,点击Switch是V4支付"; 43 payWarnLabel.text = @"默认V3支付,点击Switch是V4支付";
44 payWarnLabel.backgroundColor = [UIColor clearColor]; 44 payWarnLabel.backgroundColor = [UIColor clearColor];
45 payWarnLabel.font = [UIFont systemFontOfSize:9]; 45 payWarnLabel.font = [UIFont systemFontOfSize:9];
46 [payWarnLabel setTextColor:[UIColor whiteColor]]; 46 [payWarnLabel setTextColor:[UIColor whiteColor]];
47 [self.view addSubview:payWarnLabel]; 47 [self.view addSubview:payWarnLabel];
48 48
49 UIButton *payBtn = [[UIButton alloc] initWithFrame:CGRectMake(110, 100, 100, 30)]; 49 UIButton *payBtn = [[UIButton alloc] initWithFrame:CGRectMake(110, 100, 100, 30)];
50 payBtn.backgroundColor = [UIColor orangeColor]; 50 payBtn.backgroundColor = [UIColor orangeColor];
51 [payBtn setTitle:@"支付" forState:UIControlStateNormal]; 51 [payBtn setTitle:@"支付" forState:UIControlStateNormal];
52 [payBtn setTitleColor:[UIColor whiteColor] forState:UIControlStateNormal]; 52 [payBtn setTitleColor:[UIColor whiteColor] forState:UIControlStateNormal];
53 payBtn.titleLabel.font = [UIFont systemFontOfSize:15]; 53 payBtn.titleLabel.font = [UIFont systemFontOfSize:15];
54 [payBtn addTarget:self action:@selector(onPayTest) forControlEvents:UIControlEventTouchUpInside]; 54 [payBtn addTarget:self action:@selector(onPayTest) forControlEvents:UIControlEventTouchUpInside];
55 [self.view addSubview:payBtn]; 55 [self.view addSubview:payBtn];
56 56
57 self.payToWeb = NO; 57 self.payToWeb = NO;
58 UISwitch *webVersion = [[UISwitch alloc] initWithFrame:CGRectMake(220,100,60,30)]; 58 UISwitch *webVersion = [[UISwitch alloc] initWithFrame:CGRectMake(220,100,60,30)];
59 [webVersion addTarget:self action:@selector(onPayWebTo) forControlEvents:UIControlEventValueChanged]; 59 [webVersion addTarget:self action:@selector(onPayWebTo) forControlEvents:UIControlEventValueChanged];
60 [self.view addSubview:webVersion]; 60 [self.view addSubview:webVersion];
61 61
62 UIButton *iapBtn = [[UIButton alloc] initWithFrame:CGRectMake(110, 160, 100, 30)]; 62 UIButton *iapBtn = [[UIButton alloc] initWithFrame:CGRectMake(110, 160, 100, 30)];
63 iapBtn.backgroundColor = [UIColor orangeColor]; 63 iapBtn.backgroundColor = [UIColor orangeColor];
64 [iapBtn setTitle:@"IAP" forState:UIControlStateNormal]; 64 [iapBtn setTitle:@"IAP" forState:UIControlStateNormal];
65 [iapBtn setTitleColor:[UIColor whiteColor] forState:UIControlStateNormal]; 65 [iapBtn setTitleColor:[UIColor whiteColor] forState:UIControlStateNormal];
66 iapBtn.titleLabel.font = [UIFont systemFontOfSize:15]; 66 iapBtn.titleLabel.font = [UIFont systemFontOfSize:15];
67 [iapBtn addTarget:self action:@selector(onIapTest) forControlEvents:UIControlEventTouchUpInside]; 67 [iapBtn addTarget:self action:@selector(onIapTest) forControlEvents:UIControlEventTouchUpInside];
68 [self.view addSubview:iapBtn]; 68 [self.view addSubview:iapBtn];
69 69
70 UIButton *activityBtn = [[UIButton alloc] initWithFrame:CGRectMake(110, 220, 100, 30)]; 70 UIButton *activityBtn = [[UIButton alloc] initWithFrame:CGRectMake(110, 220, 100, 30)];
71 activityBtn.backgroundColor = [UIColor orangeColor]; 71 activityBtn.backgroundColor = [UIColor orangeColor];
72 [activityBtn setTitle:@"Activity" forState:UIControlStateNormal]; 72 [activityBtn setTitle:@"Activity" forState:UIControlStateNormal];
73 [activityBtn setTintColor:[UIColor whiteColor]]; 73 [activityBtn setTintColor:[UIColor whiteColor]];
74 activityBtn.titleLabel.font = [UIFont systemFontOfSize:15]; 74 activityBtn.titleLabel.font = [UIFont systemFontOfSize:15];
75 [activityBtn addTarget:self action:@selector(onActivity) forControlEvents:UIControlEventTouchUpInside]; 75 [activityBtn addTarget:self action:@selector(onActivity) forControlEvents:UIControlEventTouchUpInside];
76 [self.view addSubview:activityBtn]; 76 [self.view addSubview:activityBtn];
77 77
78 UIButton *cleanUserInfoBtn = [[UIButton alloc] initWithFrame:CGRectMake(300, 40, 100, 30)]; 78 UIButton *cleanUserInfoBtn = [[UIButton alloc] initWithFrame:CGRectMake(300, 40, 100, 30)];
79 cleanUserInfoBtn.backgroundColor = [UIColor orangeColor]; 79 cleanUserInfoBtn.backgroundColor = [UIColor orangeColor];
80 [cleanUserInfoBtn setTitle:@"cleanUserInfo" forState:UIControlStateNormal]; 80 [cleanUserInfoBtn setTitle:@"cleanUserInfo" forState:UIControlStateNormal];
81 [cleanUserInfoBtn setTitleColor:[UIColor whiteColor] forState:UIControlStateNormal]; 81 [cleanUserInfoBtn setTitleColor:[UIColor whiteColor] forState:UIControlStateNormal];
82 cleanUserInfoBtn.titleLabel.font = [UIFont systemFontOfSize:15]; 82 cleanUserInfoBtn.titleLabel.font = [UIFont systemFontOfSize:15];
83 [cleanUserInfoBtn addTarget:self action:@selector(cleanUserInfoClick) forControlEvents:UIControlEventTouchUpInside]; 83 [cleanUserInfoBtn addTarget:self action:@selector(cleanUserInfoClick) forControlEvents:UIControlEventTouchUpInside];
84 [self.view addSubview:cleanUserInfoBtn]; 84 [self.view addSubview:cleanUserInfoBtn];
85 85
86 UIButton *linkBtn = [[UIButton alloc] initWithFrame:CGRectMake(300, 100, 100, 30)]; 86 UIButton *linkBtn = [[UIButton alloc] initWithFrame:CGRectMake(300, 100, 100, 30)];
87 linkBtn.backgroundColor = [UIColor orangeColor]; 87 linkBtn.backgroundColor = [UIColor orangeColor];
88 [linkBtn setTitle:@"link" forState:UIControlStateNormal]; 88 [linkBtn setTitle:@"link" forState:UIControlStateNormal];
89 [linkBtn setTitleColor:[UIColor whiteColor] forState:UIControlStateNormal]; 89 [linkBtn setTitleColor:[UIColor whiteColor] forState:UIControlStateNormal];
90 linkBtn.titleLabel.font = [UIFont systemFontOfSize:15]; 90 linkBtn.titleLabel.font = [UIFont systemFontOfSize:15];
91 [linkBtn addTarget:self action:@selector(linkBtnClick) forControlEvents:UIControlEventTouchUpInside]; 91 [linkBtn addTarget:self action:@selector(linkBtnClick) forControlEvents:UIControlEventTouchUpInside];
92 [self.view addSubview:linkBtn]; 92 [self.view addSubview:linkBtn];
93 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:@"10022" 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
141 [LetsGameAPI instance].appId = @"100";//@"10056";//10022 141 [LetsGameAPI instance].appId = @"100";//@"10056";//10022
142 NSMutableDictionary *payInfo = [NSMutableDictionary dictionary]; 142 NSMutableDictionary *payInfo = [NSMutableDictionary dictionary];
143 [payInfo setValue:@"100" forKey:@"serverId"]; 143 [payInfo setValue:@"100" forKey:@"serverId"];
144 [payInfo setValue:@"41080" forKey:@"roleId"]; 144 [payInfo setValue:@"41080" forKey:@"roleId"];
145 [payInfo setValue:@"1000" forKey:@"channelId"]; 145 [payInfo setValue:@"1000" forKey:@"channelId"];
146 [payInfo setValue:self.userId forKey:@"userId"]; 146 [payInfo setValue:self.userId forKey:@"userId"];
147 [payInfo setValue:@"0.01" forKey:@"amount"]; 147 [payInfo setValue:@"0.01" forKey:@"amount"];//商品价格
148 [payInfo setValue:@"USD" forKey:@"currency"];//货币种类
148 [payInfo setValue:@"ios demo" forKey:@"extraInfo"]; 149 [payInfo setValue:@"ios demo" forKey:@"extraInfo"];
149 [payInfo setValue:@"test" forKey:@"product"]; 150 [payInfo setValue:@"test" forKey:@"product"];
150 // [[LetsGameAPI instance] pay:payInfo handleCallBack:^{ 151 // [[LetsGameAPI instance] pay:payInfo handleCallBack:^{
151 // NSLog(@"第三方支付完成"); 152 // NSLog(@"第三方支付完成");
152 // }]; 153 // }];
153 [[LetsGameAPI instance] pWeb:payInfo handleCallBack:^{ 154 [[LetsGameAPI instance] pWeb:payInfo handleCallBack:^{
154 NSLog(@"第三方支付完成"); 155 NSLog(@"第三方支付完成");
155 }]; 156 }];
156 } 157 }
157 158
158 -(void)onIapTest{ 159 -(void)onIapTest{
159 160
160 [LetsGameAPI instance].appId = @"100"; 161 [LetsGameAPI instance].appId = @"100";
161 NSMutableDictionary *payInfo = [NSMutableDictionary dictionary]; 162 NSMutableDictionary *payInfo = [NSMutableDictionary dictionary];
162 [payInfo setValue:@"100" forKey:@"serverId"]; 163 [payInfo setValue:@"100" forKey:@"serverId"];
163 [payInfo setValue:@"41080" forKey:@"roleId"]; 164 [payInfo setValue:@"41080" forKey:@"roleId"];
164 [payInfo setValue:self.userId forKey:@"userId"]; 165 [payInfo setValue:self.userId forKey:@"userId"];
165 [payInfo setValue:@"1000" forKey:@"channelId"]; 166 [payInfo setValue:@"1000" forKey:@"channelId"];
166 [payInfo setValue:@"10" forKey:@"amount"]; 167 [payInfo setValue:@"10" forKey:@"amount"];
167 [payInfo setValue:@"ios demo" forKey:@"extraInfo"]; 168 [payInfo setValue:@"ios demo" forKey:@"extraInfo"];
168 [payInfo setValue:@"com.gump.pro1" forKey:@"product"]; 169 [payInfo setValue:@"com.gump.pro1" forKey:@"product"];
169 [[LetsGameAPI instance] iap:payInfo succCallback:^(NSString *orderId) { 170 [[LetsGameAPI instance] iap:payInfo succCallback:^(NSString *orderId) {
170 //注意测试仅仅是通知客户端成功,但是还需要向服务器请求验证是否成功,以服务端验证为准 171 //注意测试仅仅是通知客户端成功,但是还需要向服务器请求验证是否成功,以服务端验证为准
171 NSLog(@"IAP completed orderId of Gumptech:%@",orderId); 172 NSLog(@"IAP completed orderId of Gumptech:%@",orderId);
172 } failCallback:^(NSString *orderId) { 173 } failCallback:^(NSString *orderId) {
173 NSLog(@"IAP file orderId of Gumptech:%@",orderId); 174 NSLog(@"IAP file orderId of Gumptech:%@",orderId);
174 }]; 175 }];
175 } 176 }
176 177
177 -(void)onActivity{ 178 -(void)onActivity{
178 179
179 [[LetsGameActivityAPI instance] decideIsDebug:1]; 180 [[LetsGameActivityAPI instance] decideIsDebug:1];
180 NSMutableDictionary *activityInfo = [NSMutableDictionary dictionary]; 181 NSMutableDictionary *activityInfo = [NSMutableDictionary dictionary];
181 [activityInfo setValue:@"100" forKey:@"appId"]; 182 [activityInfo setValue:@"100" forKey:@"appId"];
182 [activityInfo setValue:@"17670327" forKey:@"userId"]; 183 [activityInfo setValue:@"17670327" forKey:@"userId"];
183 [activityInfo setValue:@"55" forKey:@"serverId"]; 184 [activityInfo setValue:@"55" forKey:@"serverId"];
184 [activityInfo setValue:@"Pidmon" forKey:@"serverName"]; 185 [activityInfo setValue:@"Pidmon" forKey:@"serverName"];
185 [activityInfo setValue:@"55004444" forKey:@"roleId"]; 186 [activityInfo setValue:@"55004444" forKey:@"roleId"];
186 [activityInfo setValue:@"Marin" forKey:@"roleName"]; 187 [activityInfo setValue:@"Marin" forKey:@"roleName"];
187 [activityInfo setValue:@"140" forKey:@"diamond"]; 188 [activityInfo setValue:@"140" forKey:@"diamond"];
188 [activityInfo setValue:self.activityTextField.text forKey:@"campaignType"]; 189 [activityInfo setValue:self.activityTextField.text forKey:@"campaignType"];
189 [[LetsGameActivityAPI instance] GameActivityWithParaDictory:activityInfo handleCallBackL:^{ 190 [[LetsGameActivityAPI instance] GameActivityWithParaDictory:activityInfo handleCallBackL:^{
190 NSLog(@"activity finish!"); 191 NSLog(@"activity finish!");
191 }]; 192 }];
192 } 193 }
193 194
194 -(void)linkBtnClick{ 195 -(void)linkBtnClick{
195 NSMutableDictionary *linkParaDic = [NSMutableDictionary dictionary]; 196 NSMutableDictionary *linkParaDic = [NSMutableDictionary dictionary];
196 [linkParaDic setObject:@"10022" forKey:@"appId"]; 197 [linkParaDic setObject:@"10022" forKey:@"appId"];
197 [linkParaDic setObject:self.userId forKey:@"userId"]; 198 [linkParaDic setObject:self.userId forKey:@"userId"];
198 //仅在切换账号成功的时候有返回值 199 //仅在切换账号成功的时候有返回值
199 [[GPGameLoginSDK instance] GPGameAccountLinkViewController:self InfoDic:linkParaDic callBack:^(NSNumber *userId, ACCOUNTENTERTYPE type) { 200 [[GPGameLoginSDK instance] GPGameAccountLinkViewController:self InfoDic:linkParaDic callBack:^(NSNumber *userId, ACCOUNTENTERTYPE type) {
200 self.resultLabel.text = [NSString stringWithFormat:@"userId: %@, accountType: %ld", userId, (long)type]; 201 self.resultLabel.text = [NSString stringWithFormat:@"userId: %@, accountType: %ld", userId, (long)type];
201 }]; 202 }];
202 } 203 }
203 204
204 -(void)onPayWebTo{ 205 -(void)onPayWebTo{
205 if (!self.payToWeb) { 206 if (!self.payToWeb) {
206 self.payToWeb = YES; 207 self.payToWeb = YES;
207 [[LetsGameAPI instance] decideWebToVersion:1]; 208 [[LetsGameAPI instance] decideWebToVersion:1];
208 }else{ 209 }else{
209 self.payToWeb = NO; 210 self.payToWeb = NO;
210 [[LetsGameAPI instance] decideWebToVersion:0]; 211 [[LetsGameAPI instance] decideWebToVersion:0];
211 } 212 }
212 } 213 }
213 214
214 -(void)switchGameCentBtnClick{ 215 -(void)switchGameCentBtnClick{
215 [[GPGameLoginSDK instance] GPSwitchGameCenterWithViewController:self switchCallBack:^{ 216 [[GPGameLoginSDK instance] GPSwitchGameCenterWithViewController:self switchCallBack:^{
216 self.resultLabel.text = @"Login Game Center"; 217 self.resultLabel.text = @"Login Game Center";
217 }]; 218 }];
218 } 219 }
219 220
220 -(void)cleanUserInfoClick{ 221 -(void)cleanUserInfoClick{
221 [[GPGameLoginSDK instance] cleanUserInfo]; 222 [[GPGameLoginSDK instance] cleanUserInfo];
222 } 223 }
223 224
224 @end 225 @end
225 226