Commit f8575017559dfbb3cb510cb0b9032d4252a678f0
Exists in
master
Merge branch 'master' of http://123.59.74.8:81/document/gumptech-document.git
Showing 20 changed files Inline Diff
- .gitignore
- doc/IOSDocument.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/xcuserdata/gump.xcuserdatad/UserInterfaceState.xcuserstate
- ios/GameSDKDemo/letsgameDemo/GameSDKResources.bundle/en.strings
- ios/GameSDKDemo/letsgameDemo/GameSDKResources.bundle/pt-PT.strings
- ios/GameSDKDemo/letsgameDemo/GameSDKResources.bundle/ru.strings
- ios/GameSDKDemo/letsgameDemo/GameSDKResources.bundle/th.strings
- ios/GameSDKDemo/letsgameDemo/GameSDKResources.bundle/zh-Hans.strings
- ios/GameSDKDemo/letsgameDemo/GameSDKResources.bundle/zh-Hant.strings
- ios/GameSDKDemo/letsgameDemo/LSGMainViewController.m
- ios/GameSDKResources.bundle/en.strings
- ios/GameSDKResources.bundle/pt-PT.strings
- ios/GameSDKResources.bundle/ru.strings
- ios/GameSDKResources.bundle/th.strings
- ios/GameSDKResources.bundle/zh-Hans.strings
- ios/GameSDKResources.bundle/zh-Hant.strings
.gitignore
1 | 1 | **/xcuserdata/**/*.* | |
2 | **/.DS_Store | 2 | **/.DS_Store |
3 | 3 |
doc/IOSDocument.md
1 | # Gump IOS SDK使用文档 | 1 | # Gump IOS SDK使用文档 |
2 | 2 | ||
3 | 3 | ||
4 | 接入手册 | 4 | 接入手册 |
5 | V 3.3.3 | 5 | V 3.3.3 |
6 | 2016年01月21日 | 6 | 2016年01月21日 |
7 | 7 | ||
8 | ## 概述 | 8 | ## 概述 |
9 | #### 本SDK提供gump账号,fb账号,vk账号三种账号登录,iap支付和第三方支付两种支付功能,其中gump账号登录和fb账号登录功能为必须接入,支付可根据需要选择性接入。 | 9 | #### 本SDK提供gump账号,fb账号,vk账号三种账号登录,iap支付和第三方支付两种支付功能,其中gump账号登录和fb账号登录功能为必须接入,支付可根据需要选择性接入。 |
10 | 10 | ||
11 | ## 接入步骤 | 11 | ## 接入步骤 |
12 | ### 1、添加Framework和资源文件 | 12 | ### 1、添加Framework和资源文件 |
13 | + 以下为必须添加的framework以及资源bundle: | 13 | + 以下为必须添加的framework以及资源bundle: |
14 | MobileCoreServices.framework、SystemConfiguration.framework、libz.dylib、CFNetwork.framework、GameSDK.framework、StoreKit.framework、GameSDKResources.bundle | 14 | MobileCoreServices.framework、SystemConfiguration.framework、libz.dylib、CFNetwork.framework、GameSDK.framework、StoreKit.framework、GameSDKResources.bundle |
15 | + 以下为可选,若接入vk登录则需要添加以下framework和bundle,其中VKSdk.framework和VKSDKResources.bundle请自行从vk.com下载,使用1.3版本 | 15 | + 以下为可选,若接入vk登录则需要添加以下framework和bundle,其中VKSdk.framework和VKSDKResources.bundle请自行从vk.com下载,使用1.3版本 |
16 | VKSdk.framework、VKBridge.framework、VKSDKResources.bundle | 16 | VKSdk.framework、VKBridge.framework、VKSDKResources.bundle |
17 | 17 | ||
18 | 18 | ||
19 | ### 2、引入头文件,设置build setting | 19 | ### 2、引入头文件,设置build setting |
20 | 需要使用头文件有LetsGameAPI.h和VKBridge.h,其中VKBridge.h为接入vk时使用,不接入vk可忽略。 | 20 | 需要使用头文件有LetsGameAPI.h和VKBridge.h,其中VKBridge.h为接入vk时使用,不接入vk可忽略。 |
21 | 因sdk内使用了category,需要设置other linker flag为 -ObjC | 21 | 因sdk内使用了category,需要设置other linker flag为 -ObjC |
22 | 22 | ||
23 | 23 | ||
24 | ### 3、增加必要配置 | 24 | ### 3、增加必要配置 |
25 | 1)在application delegate中, 在application:openURL:sourceApplication:annotation:添加返回: | 25 | 1)在application delegate中, 在application:openURL:sourceApplication:annotation:添加返回: |
26 | 26 | ||
27 | return [[LetsGameAPI instance] handleOpenURL:url sourceApplication:sourceApplication]; | 27 | return [[LetsGameAPI instance] handleOpenURL:url sourceApplication:sourceApplication]; |
28 | 28 | ||
29 | 29 | ||
30 | 2)配置URL-schema(vk专用,不接入vk可忽略) | 30 | 2)配置URL-schema(vk专用,不接入vk可忽略) |
31 | Xcode 5: Open your application settings then select the Info tab. In the URL Types section click the plus sign. Enter vk+APP_ID (e.g. vk1234567) to the Identifier and URL Schemes fields. | 31 | Xcode 5: Open your application settings then select the Info tab. In the URL Types section click the plus sign. Enter vk+APP_ID (e.g. vk1234567) to the Identifier and URL Schemes fields. |
32 |  | 32 |  |
33 | Xcode 4: Open your Info.plist then add a new row URL Types. Set the URL identifier to vk+APP_ID | 33 | Xcode 4: Open your Info.plist then add a new row URL Types. Set the URL identifier to vk+APP_ID |
34 |  | 34 |  |
35 | ### 4、在工程里添加SDK登录代码 | 35 | ### 4、在工程里添加SDK登录代码 |
36 | 36 | ||
37 | [LetsGameAPI instance].appId = @"100"; // 设置appId | 37 | [LetsGameAPI instance].appId = @"100"; // 设置appId |
38 | [LetsGameAPI instance].appKey = @"100"; // 设置appKey | 38 | [LetsGameAPI instance].appKey = @"100"; // 设置appKey |
39 | 39 | ||
40 | //启用vk的代码,需要填入vk appId,若不接入vk,可以忽略 | 40 | //启用vk的代码,需要填入vk appId,若不接入vk,可以忽略 |
41 | //VKBridge *vkBridge = [[VKBridge alloc] initWithVKAppId:@"5029792"]; | 41 | //VKBridge *vkBridge = [[VKBridge alloc] initWithVKAppId:@"5029792"]; |
42 | //[LetsGameAPI instance].vkBridge = vkBridge; | 42 | //[LetsGameAPI instance].vkBridge = vkBridge; |
43 | |||
44 | //隐藏gumptech的logo | ||
45 | [LetsGameAPI hiddenLogo:YES]; | ||
43 | 46 | ||
44 | [[LetsGameAPI instance] showLoginView]; // 弹出登录页面 | 47 | [[LetsGameAPI instance] showLoginView]; // 弹出登录页面 |
45 | 48 | ||
46 | // 登录成功回调 | 49 | // 登录成功回调 |
47 | [LetsGameAPI instance].succBlock = ^(NSString *userId, NSString *sessionKey, LSGAccountType type) { | 50 | [LetsGameAPI instance].succBlock = ^(NSString *userId, NSString *sessionKey, LSGAccountType type) { |
48 | NSLog(@"%@", [NSString stringWithFormat:@"login succ: userId = %@, sessionKey = %@, accountType = %d", userId, sessionKey, type]); | 51 | NSLog(@"%@", [NSString stringWithFormat:@"login succ: userId = %@, sessionKey = %@, accountType = %d", userId, sessionKey, type]); |
49 | }; | 52 | }; |
50 | 53 | ||
51 | // 登录失败回调 | 54 | // 登录失败回调 |
52 | [LetsGameAPI instance].dismissBlock = ^() { | 55 | [LetsGameAPI instance].dismissBlock = ^() { |
53 | NSLog(@"dismiss without login"); | 56 | NSLog(@"dismiss without login"); |
54 | }; | 57 | }; |
55 | 58 | ||
56 | 59 | ||
57 | ### 5、第三方支付 | 60 | ### 5、第三方支付 |
58 | [LetsGameAPI instance].appId = @"10022"; | 61 | [LetsGameAPI instance].appId = @"10022"; |
59 | [LetsGameAPI instance].appKey = @"f899139df5e1059396431415e770c6dd"; | 62 | [LetsGameAPI instance].appKey = @"f899139df5e1059396431415e770c6dd"; |
60 | NSMutableDictionary *payInfo = [NSMutableDictionary dictionary]; | 63 | NSMutableDictionary *payInfo = [NSMutableDictionary dictionary]; |
61 | [payInfo setValue:@"5001" forKey:@"serverId"];//服务器id,必传参数 | 64 | [payInfo setValue:@"5001" forKey:@"serverId"];//服务器id,必传参数 |
62 | [payInfo setValue:@"1000" forKey:@"channelId"];//渠道id | 65 | [payInfo setValue:@"1000" forKey:@"channelId"];//渠道id |
63 | [payInfo setValue:@"10" forKey:@"amount"];//金额 | 66 | [payInfo setValue:@"10" forKey:@"amount"];//金额 |
64 | [payInfo setValue:@"ios demo" forKey:@"extraInfo"];//外部订单信息 | 67 | [payInfo setValue:@"ios demo" forKey:@"extraInfo"];//外部订单信息 |
65 | [payInfo setValue:@"元宝" forKey:@"product"];//物品信息 | 68 | [payInfo setValue:@"元宝" forKey:@"product"];//物品信息 |
66 | [[LetsGameAPI instance] pay:payInfo]; | 69 | [[LetsGameAPI instance] pay:payInfo]; |
67 | 70 | ||
68 | ### 6、IAP支付 | 71 | ### 6、IAP支付 |
69 | 若要使用apple IAP支付,需要在AppDelegate的application: didFinishLaunchingWithOptions:方法内注册iap observer,使用如下方法 | 72 | 若要使用apple IAP支付,需要在AppDelegate的application: didFinishLaunchingWithOptions:方法内注册iap observer,使用如下方法 |
70 | 73 | ||
71 | [[LetsGameAPI instance] registeIapObserver]; | 74 | [[LetsGameAPI instance] registeIapObserver]; |
72 | 具体调用iap支付的方法如下: | 75 | 具体调用iap支付的方法如下: |
73 | 76 | ||
74 | [LetsGameAPI instance].appId = @"10022"; | 77 | [LetsGameAPI instance].appId = @"10022"; |
75 | [LetsGameAPI instance].appKey = @"93a27b0bd99bac3e68a440b48aa421ab"; | 78 | [LetsGameAPI instance].appKey = @"93a27b0bd99bac3e68a440b48aa421ab"; |
76 | NSMutableDictionary *payInfo = [NSMutableDictionary dictionary]; | 79 | NSMutableDictionary *payInfo = [NSMutableDictionary dictionary]; |
77 | [payInfo setValue:@"5001" forKey:@"serverId"];//当前用户所在的服务器Id | 80 | [payInfo setValue:@"5001" forKey:@"serverId"];//当前用户所在的服务器Id |
78 | [payInfo setValue:@"10010" forKey:@"roleId"];//当前用户的角色id | 81 | [payInfo setValue:@"10010" forKey:@"roleId"];//当前用户的角色id |
79 | [payInfo setValue:@"1000" forKey:@"channelId"];//渠道id,用于统计 | 82 | [payInfo setValue:@"1000" forKey:@"channelId"];//渠道id,用于统计 |
80 | [payInfo setValue:@"10" forKey:@"amount"];//对应支付项的支付金额,实际支付金额以itunes配置为准 | 83 | [payInfo setValue:@"10" forKey:@"amount"];//对应支付项的支付金额,实际支付金额以itunes配置为准 |
81 | [payInfo setValue:@"ios demo" forKey:@"extraInfo"];//扩展信息,可以游戏自定义,建议传自有订单号 | 84 | [payInfo setValue:@"ios demo" forKey:@"extraInfo"];//扩展信息,可以游戏自定义,建议传自有订单号 |
82 | [payInfo setValue:@"test.product.1" forKey:@"product"];//itunes 后台配置的对应支付项的productId | 85 | [payInfo setValue:@"test.product.1" forKey:@"product"];//itunes 后台配置的对应支付项的productId |
83 | [[LetsGameAPI instance] iap:payInfo forUser:@"" handleCallback:^(NSString* orderId){ | 86 | [[LetsGameAPI instance] iap:payInfo forUser:@"" handleCallback:^(NSString* orderId){ |
84 | //此处的回调表明支付已经完成,但此时支付不一定成功,需要服务端验证支付结果 | 87 | //此处的回调表明支付已经完成,但此时支付不一定成功,需要服务端验证支付结果 |
85 | //orderId为gump生成的订单号,此订单号可以在gump server查询此笔支付是否成功 | 88 | //orderId为gump生成的订单号,此订单号可以在gump server查询此笔支付是否成功 |
86 | NSLog(@"iap completed orderId of gumptech:%@",orderId); | 89 | NSLog(@"iap completed orderId of gumptech:%@",orderId); |
87 | }]; | 90 | }]; |
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 | #import "LSGAccount.h" | 3 | #import "LSGAccount.h" |
4 | #import "VKBridgeProtocol.h" | 4 | #import "VKBridgeProtocol.h" |
5 | 5 | ||
6 | 6 | ||
7 | typedef void (^LSGLoginSuccBlock)(NSString *userId, NSString *sessionKey, LSGAccountType type); | 7 | typedef void (^LSGLoginSuccBlock)(NSString *userId, NSString *sessionKey, LSGAccountType type); |
8 | 8 | ||
9 | typedef void (^LSGDismissBlock)(void); | 9 | typedef void (^LSGDismissBlock)(void); |
10 | 10 | ||
11 | static BOOL isDisableFB = NO; | 11 | static BOOL isDisableFB = NO; |
12 | 12 | ||
13 | static BOOL isEnableVK = NO; | 13 | static BOOL isEnableVK = NO; |
14 | 14 | ||
15 | static NSString *version = @"3.3.3"; | 15 | static BOOL hiddenLogo = NO; |
16 | |||
17 | static NSString *version = @"3.3.5"; | ||
16 | 18 | ||
17 | @interface LetsGameAPI : NSObject | 19 | @interface LetsGameAPI : NSObject |
18 | 20 | ||
19 | @property (nonatomic, strong) NSString *appId; | 21 | @property (nonatomic, strong) NSString *appId; |
20 | @property (nonatomic, strong) NSString *appKey; | 22 | @property (nonatomic, strong) NSString *appKey; |
21 | @property (nonatomic, copy) LSGLoginSuccBlock succBlock; | 23 | @property (nonatomic, copy) LSGLoginSuccBlock succBlock; |
22 | @property (nonatomic, copy) LSGDismissBlock dismissBlock; | 24 | @property (nonatomic, copy) LSGDismissBlock dismissBlock; |
23 | 25 | ||
24 | @property (nonatomic,retain) id<VKBridgeProtocol> vkBridge; | 26 | @property (nonatomic,retain) id<VKBridgeProtocol> vkBridge; |
25 | //@property(nonatomic,strong) NSString *version; | 27 | //@property(nonatomic,strong) NSString *version; |
26 | 28 | ||
27 | + (instancetype)instance; | 29 | + (instancetype)instance; |
28 | 30 | ||
29 | -(NSString*)version; | 31 | -(NSString*)version; |
30 | 32 | ||
31 | - (void)showLoginView; | 33 | - (void)showLoginView; |
32 | - (void)showLoginViewInView:(UIView *)view; | 34 | - (void)showLoginViewInView:(UIView *)view; |
33 | 35 | ||
34 | +(void)disableFB:(BOOL)isDisable; | 36 | +(void)disableFB:(BOOL)isDisable; |
35 | +(BOOL)isFBDisable; | 37 | +(BOOL)isFBDisable; |
36 | +(BOOL)isVKEnable; | 38 | +(BOOL)isVKEnable; |
39 | +(void)hiddenLogo:(BOOL)isHidden; | ||
40 | +(BOOL)isHiddenLogo; | ||
37 | 41 | ||
38 | - (void)logout; | 42 | - (void)logout; |
39 | 43 | ||
40 | - (void)hide; | 44 | - (void)hide; |
41 | 45 | ||
42 | - (BOOL)handleOpenURL:(NSURL *)url | 46 | - (BOOL)handleOpenURL:(NSURL *)url |
43 | sourceApplication:(NSString *)sourceApplication; | 47 | sourceApplication:(NSString *)sourceApplication; |
44 | 48 | ||
45 | -(void)pay:(NSDictionary*) payInfo; | 49 | -(void)pay:(NSDictionary*) payInfo; |
46 | 50 | ||
47 | -(void)iap:(NSDictionary*) payInfo forUser:(NSString*) uid handleCallback:(void (^)(NSString* orderId)) callback; | 51 | -(void)iap:(NSDictionary*) payInfo forUser:(NSString*) uid handleCallback:(void (^)(NSString* orderId)) callback; |
48 | 52 | ||
49 | -(void)registeIapObserver; | 53 | -(void)registeIapObserver; |
50 | 54 | ||
51 | @end | 55 | @end |
52 | 56 |
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 | 3309D8531C312F5900534E33 /* StoreKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 3309D8521C312F5900534E33 /* StoreKit.framework */; }; | 10 | 3309D8531C312F5900534E33 /* StoreKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 3309D8521C312F5900534E33 /* StoreKit.framework */; }; |
11 | 3309D8551C312F6500534E33 /* QuartzCore.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 3309D8541C312F6500534E33 /* QuartzCore.framework */; }; | 11 | 3309D8551C312F6500534E33 /* QuartzCore.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 3309D8541C312F6500534E33 /* QuartzCore.framework */; }; |
12 | 3309D9791C438A5E00534E33 /* libz.1.2.5.tbd in Frameworks */ = {isa = PBXBuildFile; fileRef = 3309D9781C438A5E00534E33 /* libz.1.2.5.tbd */; }; | 12 | 3309D9791C438A5E00534E33 /* libz.1.2.5.tbd in Frameworks */ = {isa = PBXBuildFile; fileRef = 3309D9781C438A5E00534E33 /* libz.1.2.5.tbd */; }; |
13 | 3309D97F1C4394C800534E33 /* VKSdk.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 3309D97E1C4394C800534E33 /* VKSdk.framework */; }; | 13 | 3309D97F1C4394C800534E33 /* VKSdk.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 3309D97E1C4394C800534E33 /* VKSdk.framework */; }; |
14 | 331262371C50B56800B1B435 /* VKBridge.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 331262361C50B56800B1B435 /* VKBridge.framework */; }; | 14 | 331262371C50B56800B1B435 /* VKBridge.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 331262361C50B56800B1B435 /* VKBridge.framework */; }; |
15 | 335EB0691C51D67D003E6F44 /* GameSDKResources.bundle in Resources */ = {isa = PBXBuildFile; fileRef = 335EB0681C51D67D003E6F44 /* GameSDKResources.bundle */; }; | 15 | 335EB0691C51D67D003E6F44 /* GameSDKResources.bundle in Resources */ = {isa = PBXBuildFile; fileRef = 335EB0681C51D67D003E6F44 /* GameSDKResources.bundle */; }; |
16 | 335EB0801C5203DA003E6F44 /* GameSDK.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 335EB07F1C5203DA003E6F44 /* GameSDK.framework */; }; | 16 | 3396626D1C892BAC00022866 /* GameSDK.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 335EB07F1C5203DA003E6F44 /* GameSDK.framework */; }; |
17 | 3CD53D9D1B81F37900E1B01A /* VKSdkResources.bundle in Resources */ = {isa = PBXBuildFile; fileRef = 3CD53D9C1B81F37900E1B01A /* VKSdkResources.bundle */; }; | 17 | 3CD53D9D1B81F37900E1B01A /* VKSdkResources.bundle in Resources */ = {isa = PBXBuildFile; fileRef = 3CD53D9C1B81F37900E1B01A /* VKSdkResources.bundle */; }; |
18 | 9934F1B219303DC6005EF4AB /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 9934F1B119303DC6005EF4AB /* Foundation.framework */; }; | 18 | 9934F1B219303DC6005EF4AB /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 9934F1B119303DC6005EF4AB /* Foundation.framework */; }; |
19 | 9934F1B619303DC6005EF4AB /* UIKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 9934F1B519303DC6005EF4AB /* UIKit.framework */; }; | 19 | 9934F1B619303DC6005EF4AB /* UIKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 9934F1B519303DC6005EF4AB /* UIKit.framework */; }; |
20 | 9934F1BE19303DC6005EF4AB /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 9934F1BD19303DC6005EF4AB /* main.m */; }; | 20 | 9934F1BE19303DC6005EF4AB /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 9934F1BD19303DC6005EF4AB /* main.m */; }; |
21 | 9934F1C219303DC6005EF4AB /* LSGAppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = 9934F1C119303DC6005EF4AB /* LSGAppDelegate.m */; }; | 21 | 9934F1C219303DC6005EF4AB /* LSGAppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = 9934F1C119303DC6005EF4AB /* LSGAppDelegate.m */; }; |
22 | 9934F1C419303DC6005EF4AB /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 9934F1C319303DC6005EF4AB /* Images.xcassets */; }; | 22 | 9934F1C419303DC6005EF4AB /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 9934F1C319303DC6005EF4AB /* Images.xcassets */; }; |
23 | 9934F23A19307153005EF4AB /* LSGMainViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 9934F23919307153005EF4AB /* LSGMainViewController.m */; }; | 23 | 9934F23A19307153005EF4AB /* LSGMainViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 9934F23919307153005EF4AB /* LSGMainViewController.m */; }; |
24 | 997523281930A42500F50D29 /* CFNetwork.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 997523271930A42500F50D29 /* CFNetwork.framework */; }; | 24 | 997523281930A42500F50D29 /* CFNetwork.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 997523271930A42500F50D29 /* CFNetwork.framework */; }; |
25 | 997523301930A50F00F50D29 /* SystemConfiguration.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 9975232F1930A50F00F50D29 /* SystemConfiguration.framework */; }; | 25 | 997523301930A50F00F50D29 /* SystemConfiguration.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 9975232F1930A50F00F50D29 /* SystemConfiguration.framework */; }; |
26 | 997523321930A52600F50D29 /* MobileCoreServices.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 997523311930A52600F50D29 /* MobileCoreServices.framework */; }; | 26 | 997523321930A52600F50D29 /* MobileCoreServices.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 997523311930A52600F50D29 /* MobileCoreServices.framework */; }; |
27 | /* End PBXBuildFile section */ | 27 | /* End PBXBuildFile section */ |
28 | 28 | ||
29 | /* Begin PBXFileReference section */ | 29 | /* Begin PBXFileReference section */ |
30 | 27019DCA1A208B1500DA560D /* Path.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; path = Path.xcconfig; sourceTree = "<group>"; }; | 30 | 27019DCA1A208B1500DA560D /* Path.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; path = Path.xcconfig; sourceTree = "<group>"; }; |
31 | 27019DCB1A208B1500DA560D /* Project.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; path = Project.xcconfig; sourceTree = "<group>"; }; | 31 | 27019DCB1A208B1500DA560D /* Project.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; path = Project.xcconfig; sourceTree = "<group>"; }; |
32 | 3309D8521C312F5900534E33 /* StoreKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = StoreKit.framework; path = /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS9.1.sdk/System/Library/Frameworks/StoreKit.framework; sourceTree = "<absolute>"; }; | 32 | 3309D8521C312F5900534E33 /* StoreKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = StoreKit.framework; path = /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS9.1.sdk/System/Library/Frameworks/StoreKit.framework; sourceTree = "<absolute>"; }; |
33 | 3309D8541C312F6500534E33 /* QuartzCore.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = QuartzCore.framework; path = /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS9.1.sdk/System/Library/Frameworks/QuartzCore.framework; sourceTree = "<absolute>"; }; | 33 | 3309D8541C312F6500534E33 /* QuartzCore.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = QuartzCore.framework; path = /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS9.1.sdk/System/Library/Frameworks/QuartzCore.framework; sourceTree = "<absolute>"; }; |
34 | 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; }; | 34 | 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; }; |
35 | 3309D97E1C4394C800534E33 /* VKSdk.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = VKSdk.framework; path = letsgameDemo/VKSdk.framework; sourceTree = "<group>"; }; | 35 | 3309D97E1C4394C800534E33 /* VKSdk.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = VKSdk.framework; path = letsgameDemo/VKSdk.framework; sourceTree = "<group>"; }; |
36 | 331262361C50B56800B1B435 /* VKBridge.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = VKBridge.framework; path = ../VKBridge.framework; sourceTree = "<group>"; }; | 36 | 331262361C50B56800B1B435 /* VKBridge.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = VKBridge.framework; path = ../VKBridge.framework; sourceTree = "<group>"; }; |
37 | 335EB0681C51D67D003E6F44 /* GameSDKResources.bundle */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.plug-in"; path = GameSDKResources.bundle; sourceTree = "<group>"; }; | 37 | 335EB0681C51D67D003E6F44 /* GameSDKResources.bundle */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.plug-in"; path = GameSDKResources.bundle; sourceTree = "<group>"; }; |
38 | 335EB07F1C5203DA003E6F44 /* GameSDK.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = GameSDK.framework; path = ../GameSDK.framework; sourceTree = "<group>"; }; | 38 | 335EB07F1C5203DA003E6F44 /* GameSDK.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = GameSDK.framework; path = ../GameSDK.framework; sourceTree = "<group>"; }; |
39 | 3CD53D9C1B81F37900E1B01A /* VKSdkResources.bundle */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.plug-in"; path = VKSdkResources.bundle; sourceTree = "<group>"; }; | 39 | 3CD53D9C1B81F37900E1B01A /* VKSdkResources.bundle */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.plug-in"; path = VKSdkResources.bundle; sourceTree = "<group>"; }; |
40 | 9934F1AE19303DC6005EF4AB /* GameSDKDemo.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = GameSDKDemo.app; sourceTree = BUILT_PRODUCTS_DIR; }; | 40 | 9934F1AE19303DC6005EF4AB /* GameSDKDemo.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = GameSDKDemo.app; sourceTree = BUILT_PRODUCTS_DIR; }; |
41 | 9934F1B119303DC6005EF4AB /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = System/Library/Frameworks/Foundation.framework; sourceTree = SDKROOT; }; | 41 | 9934F1B119303DC6005EF4AB /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = System/Library/Frameworks/Foundation.framework; sourceTree = SDKROOT; }; |
42 | 9934F1B319303DC6005EF4AB /* CoreGraphics.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreGraphics.framework; path = System/Library/Frameworks/CoreGraphics.framework; sourceTree = SDKROOT; }; | 42 | 9934F1B319303DC6005EF4AB /* CoreGraphics.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreGraphics.framework; path = System/Library/Frameworks/CoreGraphics.framework; sourceTree = SDKROOT; }; |
43 | 9934F1B519303DC6005EF4AB /* UIKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = UIKit.framework; path = System/Library/Frameworks/UIKit.framework; sourceTree = SDKROOT; }; | 43 | 9934F1B519303DC6005EF4AB /* UIKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = UIKit.framework; path = System/Library/Frameworks/UIKit.framework; sourceTree = SDKROOT; }; |
44 | 9934F1B919303DC6005EF4AB /* letsgameDemo-Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = "letsgameDemo-Info.plist"; sourceTree = "<group>"; }; | 44 | 9934F1B919303DC6005EF4AB /* letsgameDemo-Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = "letsgameDemo-Info.plist"; sourceTree = "<group>"; }; |
45 | 9934F1BD19303DC6005EF4AB /* main.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = "<group>"; }; | 45 | 9934F1BD19303DC6005EF4AB /* main.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = "<group>"; }; |
46 | 9934F1BF19303DC6005EF4AB /* GameSDKDemo-Prefix.pch */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "GameSDKDemo-Prefix.pch"; sourceTree = "<group>"; }; | 46 | 9934F1BF19303DC6005EF4AB /* GameSDKDemo-Prefix.pch */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "GameSDKDemo-Prefix.pch"; sourceTree = "<group>"; }; |
47 | 9934F1C019303DC6005EF4AB /* LSGAppDelegate.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = LSGAppDelegate.h; sourceTree = "<group>"; }; | 47 | 9934F1C019303DC6005EF4AB /* LSGAppDelegate.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = LSGAppDelegate.h; sourceTree = "<group>"; }; |
48 | 9934F1C119303DC6005EF4AB /* LSGAppDelegate.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = LSGAppDelegate.m; sourceTree = "<group>"; }; | 48 | 9934F1C119303DC6005EF4AB /* LSGAppDelegate.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = LSGAppDelegate.m; sourceTree = "<group>"; }; |
49 | 9934F1C319303DC6005EF4AB /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Images.xcassets; sourceTree = "<group>"; }; | 49 | 9934F1C319303DC6005EF4AB /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Images.xcassets; sourceTree = "<group>"; }; |
50 | 9934F23819307153005EF4AB /* LSGMainViewController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = LSGMainViewController.h; sourceTree = "<group>"; }; | 50 | 9934F23819307153005EF4AB /* LSGMainViewController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = LSGMainViewController.h; sourceTree = "<group>"; }; |
51 | 9934F23919307153005EF4AB /* LSGMainViewController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = LSGMainViewController.m; sourceTree = "<group>"; }; | 51 | 9934F23919307153005EF4AB /* LSGMainViewController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = LSGMainViewController.m; sourceTree = "<group>"; }; |
52 | 997523271930A42500F50D29 /* CFNetwork.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CFNetwork.framework; path = System/Library/Frameworks/CFNetwork.framework; sourceTree = SDKROOT; }; | 52 | 997523271930A42500F50D29 /* CFNetwork.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CFNetwork.framework; path = System/Library/Frameworks/CFNetwork.framework; sourceTree = SDKROOT; }; |
53 | 9975232F1930A50F00F50D29 /* SystemConfiguration.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = SystemConfiguration.framework; path = System/Library/Frameworks/SystemConfiguration.framework; sourceTree = SDKROOT; }; | 53 | 9975232F1930A50F00F50D29 /* SystemConfiguration.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = SystemConfiguration.framework; path = System/Library/Frameworks/SystemConfiguration.framework; sourceTree = SDKROOT; }; |
54 | 997523311930A52600F50D29 /* MobileCoreServices.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = MobileCoreServices.framework; path = System/Library/Frameworks/MobileCoreServices.framework; sourceTree = SDKROOT; }; | 54 | 997523311930A52600F50D29 /* MobileCoreServices.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = MobileCoreServices.framework; path = System/Library/Frameworks/MobileCoreServices.framework; sourceTree = SDKROOT; }; |
55 | /* End PBXFileReference section */ | 55 | /* End PBXFileReference section */ |
56 | 56 | ||
57 | /* Begin PBXFrameworksBuildPhase section */ | 57 | /* Begin PBXFrameworksBuildPhase section */ |
58 | 9934F1AB19303DC6005EF4AB /* Frameworks */ = { | 58 | 9934F1AB19303DC6005EF4AB /* Frameworks */ = { |
59 | isa = PBXFrameworksBuildPhase; | 59 | isa = PBXFrameworksBuildPhase; |
60 | buildActionMask = 2147483647; | 60 | buildActionMask = 2147483647; |
61 | files = ( | 61 | files = ( |
62 | 3396626D1C892BAC00022866 /* GameSDK.framework in Frameworks */, | ||
62 | 331262371C50B56800B1B435 /* VKBridge.framework in Frameworks */, | 63 | 331262371C50B56800B1B435 /* VKBridge.framework in Frameworks */, |
63 | 3309D9791C438A5E00534E33 /* libz.1.2.5.tbd in Frameworks */, | 64 | 3309D9791C438A5E00534E33 /* libz.1.2.5.tbd in Frameworks */, |
64 | 3309D8551C312F6500534E33 /* QuartzCore.framework in Frameworks */, | 65 | 3309D8551C312F6500534E33 /* QuartzCore.framework in Frameworks */, |
65 | 3309D8531C312F5900534E33 /* StoreKit.framework in Frameworks */, | 66 | 3309D8531C312F5900534E33 /* StoreKit.framework in Frameworks */, |
66 | 997523321930A52600F50D29 /* MobileCoreServices.framework in Frameworks */, | 67 | 997523321930A52600F50D29 /* MobileCoreServices.framework in Frameworks */, |
67 | 997523301930A50F00F50D29 /* SystemConfiguration.framework in Frameworks */, | 68 | 997523301930A50F00F50D29 /* SystemConfiguration.framework in Frameworks */, |
68 | 3309D97F1C4394C800534E33 /* VKSdk.framework in Frameworks */, | 69 | 3309D97F1C4394C800534E33 /* VKSdk.framework in Frameworks */, |
69 | 997523281930A42500F50D29 /* CFNetwork.framework in Frameworks */, | 70 | 997523281930A42500F50D29 /* CFNetwork.framework in Frameworks */, |
70 | 335EB0801C5203DA003E6F44 /* GameSDK.framework in Frameworks */, | ||
71 | 9934F1B619303DC6005EF4AB /* UIKit.framework in Frameworks */, | 71 | 9934F1B619303DC6005EF4AB /* UIKit.framework in Frameworks */, |
72 | 9934F1B219303DC6005EF4AB /* Foundation.framework in Frameworks */, | 72 | 9934F1B219303DC6005EF4AB /* Foundation.framework in Frameworks */, |
73 | ); | 73 | ); |
74 | runOnlyForDeploymentPostprocessing = 0; | 74 | runOnlyForDeploymentPostprocessing = 0; |
75 | }; | 75 | }; |
76 | /* End PBXFrameworksBuildPhase section */ | 76 | /* End PBXFrameworksBuildPhase section */ |
77 | 77 | ||
78 | /* Begin PBXGroup section */ | 78 | /* Begin PBXGroup section */ |
79 | 27019DC91A208B1500DA560D /* Configuration */ = { | 79 | 27019DC91A208B1500DA560D /* Configuration */ = { |
80 | isa = PBXGroup; | 80 | isa = PBXGroup; |
81 | children = ( | 81 | children = ( |
82 | 27019DCA1A208B1500DA560D /* Path.xcconfig */, | 82 | 27019DCA1A208B1500DA560D /* Path.xcconfig */, |
83 | 27019DCB1A208B1500DA560D /* Project.xcconfig */, | 83 | 27019DCB1A208B1500DA560D /* Project.xcconfig */, |
84 | ); | 84 | ); |
85 | path = Configuration; | 85 | path = Configuration; |
86 | sourceTree = "<group>"; | 86 | sourceTree = "<group>"; |
87 | }; | 87 | }; |
88 | 27019DCE1A208B2300DA560D /* Dependencies */ = { | 88 | 27019DCE1A208B2300DA560D /* Dependencies */ = { |
89 | isa = PBXGroup; | 89 | isa = PBXGroup; |
90 | children = ( | 90 | children = ( |
91 | ); | 91 | ); |
92 | name = Dependencies; | 92 | name = Dependencies; |
93 | sourceTree = "<group>"; | 93 | sourceTree = "<group>"; |
94 | }; | 94 | }; |
95 | 9934F1A519303DC6005EF4AB = { | 95 | 9934F1A519303DC6005EF4AB = { |
96 | isa = PBXGroup; | 96 | isa = PBXGroup; |
97 | children = ( | 97 | children = ( |
98 | 27019DC91A208B1500DA560D /* Configuration */, | 98 | 27019DC91A208B1500DA560D /* Configuration */, |
99 | 27019DCE1A208B2300DA560D /* Dependencies */, | 99 | 27019DCE1A208B2300DA560D /* Dependencies */, |
100 | 9934F1B719303DC6005EF4AB /* letsgameDemo */, | 100 | 9934F1B719303DC6005EF4AB /* letsgameDemo */, |
101 | 9934F1B019303DC6005EF4AB /* Frameworks */, | 101 | 9934F1B019303DC6005EF4AB /* Frameworks */, |
102 | 9934F1AF19303DC6005EF4AB /* Products */, | 102 | 9934F1AF19303DC6005EF4AB /* Products */, |
103 | ); | 103 | ); |
104 | sourceTree = "<group>"; | 104 | sourceTree = "<group>"; |
105 | }; | 105 | }; |
106 | 9934F1AF19303DC6005EF4AB /* Products */ = { | 106 | 9934F1AF19303DC6005EF4AB /* Products */ = { |
107 | isa = PBXGroup; | 107 | isa = PBXGroup; |
108 | children = ( | 108 | children = ( |
109 | 9934F1AE19303DC6005EF4AB /* GameSDKDemo.app */, | 109 | 9934F1AE19303DC6005EF4AB /* GameSDKDemo.app */, |
110 | ); | 110 | ); |
111 | name = Products; | 111 | name = Products; |
112 | sourceTree = "<group>"; | 112 | sourceTree = "<group>"; |
113 | }; | 113 | }; |
114 | 9934F1B019303DC6005EF4AB /* Frameworks */ = { | 114 | 9934F1B019303DC6005EF4AB /* Frameworks */ = { |
115 | isa = PBXGroup; | 115 | isa = PBXGroup; |
116 | children = ( | 116 | children = ( |
117 | 335EB07F1C5203DA003E6F44 /* GameSDK.framework */, | 117 | 335EB07F1C5203DA003E6F44 /* GameSDK.framework */, |
118 | 331262361C50B56800B1B435 /* VKBridge.framework */, | 118 | 331262361C50B56800B1B435 /* VKBridge.framework */, |
119 | 3309D97E1C4394C800534E33 /* VKSdk.framework */, | 119 | 3309D97E1C4394C800534E33 /* VKSdk.framework */, |
120 | 3309D9781C438A5E00534E33 /* libz.1.2.5.tbd */, | 120 | 3309D9781C438A5E00534E33 /* libz.1.2.5.tbd */, |
121 | 3309D8541C312F6500534E33 /* QuartzCore.framework */, | 121 | 3309D8541C312F6500534E33 /* QuartzCore.framework */, |
122 | 3309D8521C312F5900534E33 /* StoreKit.framework */, | 122 | 3309D8521C312F5900534E33 /* StoreKit.framework */, |
123 | 997523311930A52600F50D29 /* MobileCoreServices.framework */, | 123 | 997523311930A52600F50D29 /* MobileCoreServices.framework */, |
124 | 9975232F1930A50F00F50D29 /* SystemConfiguration.framework */, | 124 | 9975232F1930A50F00F50D29 /* SystemConfiguration.framework */, |
125 | 997523271930A42500F50D29 /* CFNetwork.framework */, | 125 | 997523271930A42500F50D29 /* CFNetwork.framework */, |
126 | 9934F1B119303DC6005EF4AB /* Foundation.framework */, | 126 | 9934F1B119303DC6005EF4AB /* Foundation.framework */, |
127 | 9934F1B319303DC6005EF4AB /* CoreGraphics.framework */, | 127 | 9934F1B319303DC6005EF4AB /* CoreGraphics.framework */, |
128 | 9934F1B519303DC6005EF4AB /* UIKit.framework */, | 128 | 9934F1B519303DC6005EF4AB /* UIKit.framework */, |
129 | ); | 129 | ); |
130 | name = Frameworks; | 130 | name = Frameworks; |
131 | sourceTree = "<group>"; | 131 | sourceTree = "<group>"; |
132 | }; | 132 | }; |
133 | 9934F1B719303DC6005EF4AB /* letsgameDemo */ = { | 133 | 9934F1B719303DC6005EF4AB /* letsgameDemo */ = { |
134 | isa = PBXGroup; | 134 | isa = PBXGroup; |
135 | children = ( | 135 | children = ( |
136 | 335EB0681C51D67D003E6F44 /* GameSDKResources.bundle */, | 136 | 335EB0681C51D67D003E6F44 /* GameSDKResources.bundle */, |
137 | 9934F1C319303DC6005EF4AB /* Images.xcassets */, | 137 | 9934F1C319303DC6005EF4AB /* Images.xcassets */, |
138 | 9934F1C019303DC6005EF4AB /* LSGAppDelegate.h */, | 138 | 9934F1C019303DC6005EF4AB /* LSGAppDelegate.h */, |
139 | 9934F1C119303DC6005EF4AB /* LSGAppDelegate.m */, | 139 | 9934F1C119303DC6005EF4AB /* LSGAppDelegate.m */, |
140 | 9934F23819307153005EF4AB /* LSGMainViewController.h */, | 140 | 9934F23819307153005EF4AB /* LSGMainViewController.h */, |
141 | 9934F23919307153005EF4AB /* LSGMainViewController.m */, | 141 | 9934F23919307153005EF4AB /* LSGMainViewController.m */, |
142 | 9934F1B819303DC6005EF4AB /* Supporting Files */, | 142 | 9934F1B819303DC6005EF4AB /* Supporting Files */, |
143 | 3CD53D9C1B81F37900E1B01A /* VKSdkResources.bundle */, | 143 | 3CD53D9C1B81F37900E1B01A /* VKSdkResources.bundle */, |
144 | ); | 144 | ); |
145 | path = letsgameDemo; | 145 | path = letsgameDemo; |
146 | sourceTree = "<group>"; | 146 | sourceTree = "<group>"; |
147 | }; | 147 | }; |
148 | 9934F1B819303DC6005EF4AB /* Supporting Files */ = { | 148 | 9934F1B819303DC6005EF4AB /* Supporting Files */ = { |
149 | isa = PBXGroup; | 149 | isa = PBXGroup; |
150 | children = ( | 150 | children = ( |
151 | 9934F1B919303DC6005EF4AB /* letsgameDemo-Info.plist */, | 151 | 9934F1B919303DC6005EF4AB /* letsgameDemo-Info.plist */, |
152 | 9934F1BD19303DC6005EF4AB /* main.m */, | 152 | 9934F1BD19303DC6005EF4AB /* main.m */, |
153 | 9934F1BF19303DC6005EF4AB /* GameSDKDemo-Prefix.pch */, | 153 | 9934F1BF19303DC6005EF4AB /* GameSDKDemo-Prefix.pch */, |
154 | ); | 154 | ); |
155 | name = "Supporting Files"; | 155 | name = "Supporting Files"; |
156 | sourceTree = "<group>"; | 156 | sourceTree = "<group>"; |
157 | }; | 157 | }; |
158 | /* End PBXGroup section */ | 158 | /* End PBXGroup section */ |
159 | 159 | ||
160 | /* Begin PBXNativeTarget section */ | 160 | /* Begin PBXNativeTarget section */ |
161 | 9934F1AD19303DC6005EF4AB /* GameSDKDemo */ = { | 161 | 9934F1AD19303DC6005EF4AB /* GameSDKDemo */ = { |
162 | isa = PBXNativeTarget; | 162 | isa = PBXNativeTarget; |
163 | buildConfigurationList = 9934F1DA19303DC6005EF4AB /* Build configuration list for PBXNativeTarget "GameSDKDemo" */; | 163 | buildConfigurationList = 9934F1DA19303DC6005EF4AB /* Build configuration list for PBXNativeTarget "GameSDKDemo" */; |
164 | buildPhases = ( | 164 | buildPhases = ( |
165 | 9934F1AA19303DC6005EF4AB /* Sources */, | 165 | 9934F1AA19303DC6005EF4AB /* Sources */, |
166 | 9934F1AB19303DC6005EF4AB /* Frameworks */, | 166 | 9934F1AB19303DC6005EF4AB /* Frameworks */, |
167 | 9934F1AC19303DC6005EF4AB /* Resources */, | 167 | 9934F1AC19303DC6005EF4AB /* Resources */, |
168 | ); | 168 | ); |
169 | buildRules = ( | 169 | buildRules = ( |
170 | ); | 170 | ); |
171 | dependencies = ( | 171 | dependencies = ( |
172 | ); | 172 | ); |
173 | name = GameSDKDemo; | 173 | name = GameSDKDemo; |
174 | productName = letsgameDemo; | 174 | productName = letsgameDemo; |
175 | productReference = 9934F1AE19303DC6005EF4AB /* GameSDKDemo.app */; | 175 | productReference = 9934F1AE19303DC6005EF4AB /* GameSDKDemo.app */; |
176 | productType = "com.apple.product-type.application"; | 176 | productType = "com.apple.product-type.application"; |
177 | }; | 177 | }; |
178 | /* End PBXNativeTarget section */ | 178 | /* End PBXNativeTarget section */ |
179 | 179 | ||
180 | /* Begin PBXProject section */ | 180 | /* Begin PBXProject section */ |
181 | 9934F1A619303DC6005EF4AB /* Project object */ = { | 181 | 9934F1A619303DC6005EF4AB /* Project object */ = { |
182 | isa = PBXProject; | 182 | isa = PBXProject; |
183 | attributes = { | 183 | attributes = { |
184 | CLASSPREFIX = LSG; | 184 | CLASSPREFIX = LSG; |
185 | LastUpgradeCheck = 0710; | 185 | LastUpgradeCheck = 0710; |
186 | TargetAttributes = { | 186 | TargetAttributes = { |
187 | 9934F1AD19303DC6005EF4AB = { | 187 | 9934F1AD19303DC6005EF4AB = { |
188 | DevelopmentTeam = TU2VD6BENZ; | 188 | DevelopmentTeam = TU2VD6BENZ; |
189 | }; | 189 | }; |
190 | }; | 190 | }; |
191 | }; | 191 | }; |
192 | buildConfigurationList = 9934F1A919303DC6005EF4AB /* Build configuration list for PBXProject "GameSDKDemo" */; | 192 | buildConfigurationList = 9934F1A919303DC6005EF4AB /* Build configuration list for PBXProject "GameSDKDemo" */; |
193 | compatibilityVersion = "Xcode 3.2"; | 193 | compatibilityVersion = "Xcode 3.2"; |
194 | developmentRegion = English; | 194 | developmentRegion = English; |
195 | hasScannedForEncodings = 0; | 195 | hasScannedForEncodings = 0; |
196 | knownRegions = ( | 196 | knownRegions = ( |
197 | en, | 197 | en, |
198 | ); | 198 | ); |
199 | mainGroup = 9934F1A519303DC6005EF4AB; | 199 | mainGroup = 9934F1A519303DC6005EF4AB; |
200 | productRefGroup = 9934F1AF19303DC6005EF4AB /* Products */; | 200 | productRefGroup = 9934F1AF19303DC6005EF4AB /* Products */; |
201 | projectDirPath = ""; | 201 | projectDirPath = ""; |
202 | projectRoot = ""; | 202 | projectRoot = ""; |
203 | targets = ( | 203 | targets = ( |
204 | 9934F1AD19303DC6005EF4AB /* GameSDKDemo */, | 204 | 9934F1AD19303DC6005EF4AB /* GameSDKDemo */, |
205 | ); | 205 | ); |
206 | }; | 206 | }; |
207 | /* End PBXProject section */ | 207 | /* End PBXProject section */ |
208 | 208 | ||
209 | /* Begin PBXResourcesBuildPhase section */ | 209 | /* Begin PBXResourcesBuildPhase section */ |
210 | 9934F1AC19303DC6005EF4AB /* Resources */ = { | 210 | 9934F1AC19303DC6005EF4AB /* Resources */ = { |
211 | isa = PBXResourcesBuildPhase; | 211 | isa = PBXResourcesBuildPhase; |
212 | buildActionMask = 2147483647; | 212 | buildActionMask = 2147483647; |
213 | files = ( | 213 | files = ( |
214 | 3CD53D9D1B81F37900E1B01A /* VKSdkResources.bundle in Resources */, | 214 | 3CD53D9D1B81F37900E1B01A /* VKSdkResources.bundle in Resources */, |
215 | 335EB0691C51D67D003E6F44 /* GameSDKResources.bundle in Resources */, | 215 | 335EB0691C51D67D003E6F44 /* GameSDKResources.bundle in Resources */, |
216 | 9934F1C419303DC6005EF4AB /* Images.xcassets in Resources */, | 216 | 9934F1C419303DC6005EF4AB /* Images.xcassets in Resources */, |
217 | ); | 217 | ); |
218 | runOnlyForDeploymentPostprocessing = 0; | 218 | runOnlyForDeploymentPostprocessing = 0; |
219 | }; | 219 | }; |
220 | /* End PBXResourcesBuildPhase section */ | 220 | /* End PBXResourcesBuildPhase section */ |
221 | 221 | ||
222 | /* Begin PBXSourcesBuildPhase section */ | 222 | /* Begin PBXSourcesBuildPhase section */ |
223 | 9934F1AA19303DC6005EF4AB /* Sources */ = { | 223 | 9934F1AA19303DC6005EF4AB /* Sources */ = { |
224 | isa = PBXSourcesBuildPhase; | 224 | isa = PBXSourcesBuildPhase; |
225 | buildActionMask = 2147483647; | 225 | buildActionMask = 2147483647; |
226 | files = ( | 226 | files = ( |
227 | 9934F1BE19303DC6005EF4AB /* main.m in Sources */, | 227 | 9934F1BE19303DC6005EF4AB /* main.m in Sources */, |
228 | 9934F1C219303DC6005EF4AB /* LSGAppDelegate.m in Sources */, | 228 | 9934F1C219303DC6005EF4AB /* LSGAppDelegate.m in Sources */, |
229 | 9934F23A19307153005EF4AB /* LSGMainViewController.m in Sources */, | 229 | 9934F23A19307153005EF4AB /* LSGMainViewController.m in Sources */, |
230 | ); | 230 | ); |
231 | runOnlyForDeploymentPostprocessing = 0; | 231 | runOnlyForDeploymentPostprocessing = 0; |
232 | }; | 232 | }; |
233 | /* End PBXSourcesBuildPhase section */ | 233 | /* End PBXSourcesBuildPhase section */ |
234 | 234 | ||
235 | /* Begin XCBuildConfiguration section */ | 235 | /* Begin XCBuildConfiguration section */ |
236 | 9934F1D819303DC6005EF4AB /* Debug */ = { | 236 | 9934F1D819303DC6005EF4AB /* Debug */ = { |
237 | isa = XCBuildConfiguration; | 237 | isa = XCBuildConfiguration; |
238 | buildSettings = { | 238 | buildSettings = { |
239 | ALWAYS_SEARCH_USER_PATHS = YES; | 239 | ALWAYS_SEARCH_USER_PATHS = YES; |
240 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; | 240 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; |
241 | CLANG_CXX_LIBRARY = "libc++"; | 241 | CLANG_CXX_LIBRARY = "libc++"; |
242 | CLANG_ENABLE_MODULES = YES; | 242 | CLANG_ENABLE_MODULES = YES; |
243 | CLANG_ENABLE_OBJC_ARC = YES; | 243 | CLANG_ENABLE_OBJC_ARC = YES; |
244 | CLANG_WARN_BOOL_CONVERSION = YES; | 244 | CLANG_WARN_BOOL_CONVERSION = YES; |
245 | CLANG_WARN_CONSTANT_CONVERSION = YES; | 245 | CLANG_WARN_CONSTANT_CONVERSION = YES; |
246 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; | 246 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; |
247 | CLANG_WARN_EMPTY_BODY = YES; | 247 | CLANG_WARN_EMPTY_BODY = YES; |
248 | CLANG_WARN_ENUM_CONVERSION = YES; | 248 | CLANG_WARN_ENUM_CONVERSION = YES; |
249 | CLANG_WARN_INT_CONVERSION = YES; | 249 | CLANG_WARN_INT_CONVERSION = YES; |
250 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; | 250 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; |
251 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; | 251 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; |
252 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; | 252 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; |
253 | COPY_PHASE_STRIP = YES; | 253 | COPY_PHASE_STRIP = YES; |
254 | ENABLE_TESTABILITY = YES; | 254 | ENABLE_TESTABILITY = YES; |
255 | GCC_C_LANGUAGE_STANDARD = gnu99; | 255 | GCC_C_LANGUAGE_STANDARD = gnu99; |
256 | GCC_DYNAMIC_NO_PIC = NO; | 256 | GCC_DYNAMIC_NO_PIC = NO; |
257 | GCC_OPTIMIZATION_LEVEL = 0; | 257 | GCC_OPTIMIZATION_LEVEL = 0; |
258 | GCC_PREPROCESSOR_DEFINITIONS = ( | 258 | GCC_PREPROCESSOR_DEFINITIONS = ( |
259 | "DEBUG=1", | 259 | "DEBUG=1", |
260 | "$(inherited)", | 260 | "$(inherited)", |
261 | ); | 261 | ); |
262 | GCC_SYMBOLS_PRIVATE_EXTERN = NO; | 262 | GCC_SYMBOLS_PRIVATE_EXTERN = NO; |
263 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; | 263 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; |
264 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; | 264 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; |
265 | GCC_WARN_UNDECLARED_SELECTOR = YES; | 265 | GCC_WARN_UNDECLARED_SELECTOR = YES; |
266 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; | 266 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; |
267 | GCC_WARN_UNUSED_FUNCTION = YES; | 267 | GCC_WARN_UNUSED_FUNCTION = YES; |
268 | GCC_WARN_UNUSED_VARIABLE = YES; | 268 | GCC_WARN_UNUSED_VARIABLE = YES; |
269 | HEADER_SEARCH_PATHS = "$(PROJECT_DIR)/**"; | 269 | HEADER_SEARCH_PATHS = "$(PROJECT_DIR)/**"; |
270 | IPHONEOS_DEPLOYMENT_TARGET = 8.4; | 270 | IPHONEOS_DEPLOYMENT_TARGET = 8.4; |
271 | ONLY_ACTIVE_ARCH = YES; | 271 | ONLY_ACTIVE_ARCH = YES; |
272 | SDKROOT = iphoneos; | 272 | SDKROOT = iphoneos; |
273 | }; | 273 | }; |
274 | name = Debug; | 274 | name = Debug; |
275 | }; | 275 | }; |
276 | 9934F1D919303DC6005EF4AB /* Release */ = { | 276 | 9934F1D919303DC6005EF4AB /* Release */ = { |
277 | isa = XCBuildConfiguration; | 277 | isa = XCBuildConfiguration; |
278 | buildSettings = { | 278 | buildSettings = { |
279 | ALWAYS_SEARCH_USER_PATHS = YES; | 279 | ALWAYS_SEARCH_USER_PATHS = YES; |
280 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; | 280 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; |
281 | CLANG_CXX_LIBRARY = "libc++"; | 281 | CLANG_CXX_LIBRARY = "libc++"; |
282 | CLANG_ENABLE_MODULES = YES; | 282 | CLANG_ENABLE_MODULES = YES; |
283 | CLANG_ENABLE_OBJC_ARC = YES; | 283 | CLANG_ENABLE_OBJC_ARC = YES; |
284 | CLANG_WARN_BOOL_CONVERSION = YES; | 284 | CLANG_WARN_BOOL_CONVERSION = YES; |
285 | CLANG_WARN_CONSTANT_CONVERSION = YES; | 285 | CLANG_WARN_CONSTANT_CONVERSION = YES; |
286 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; | 286 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; |
287 | CLANG_WARN_EMPTY_BODY = YES; | 287 | CLANG_WARN_EMPTY_BODY = YES; |
288 | CLANG_WARN_ENUM_CONVERSION = YES; | 288 | CLANG_WARN_ENUM_CONVERSION = YES; |
289 | CLANG_WARN_INT_CONVERSION = YES; | 289 | CLANG_WARN_INT_CONVERSION = YES; |
290 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; | 290 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; |
291 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; | 291 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; |
292 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; | 292 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; |
293 | COPY_PHASE_STRIP = YES; | 293 | COPY_PHASE_STRIP = YES; |
294 | ENABLE_NS_ASSERTIONS = NO; | 294 | ENABLE_NS_ASSERTIONS = NO; |
295 | GCC_C_LANGUAGE_STANDARD = gnu99; | 295 | GCC_C_LANGUAGE_STANDARD = gnu99; |
296 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; | 296 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; |
297 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; | 297 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; |
298 | GCC_WARN_UNDECLARED_SELECTOR = YES; | 298 | GCC_WARN_UNDECLARED_SELECTOR = YES; |
299 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; | 299 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; |
300 | GCC_WARN_UNUSED_FUNCTION = YES; | 300 | GCC_WARN_UNUSED_FUNCTION = YES; |
301 | GCC_WARN_UNUSED_VARIABLE = YES; | 301 | GCC_WARN_UNUSED_VARIABLE = YES; |
302 | HEADER_SEARCH_PATHS = "$(PROJECT_DIR)/**"; | 302 | HEADER_SEARCH_PATHS = "$(PROJECT_DIR)/**"; |
303 | IPHONEOS_DEPLOYMENT_TARGET = 8.4; | 303 | IPHONEOS_DEPLOYMENT_TARGET = 8.4; |
304 | ONLY_ACTIVE_ARCH = YES; | 304 | ONLY_ACTIVE_ARCH = YES; |
305 | SDKROOT = iphoneos; | 305 | SDKROOT = iphoneos; |
306 | VALIDATE_PRODUCT = YES; | 306 | VALIDATE_PRODUCT = YES; |
307 | }; | 307 | }; |
308 | name = Release; | 308 | name = Release; |
309 | }; | 309 | }; |
310 | 9934F1DB19303DC6005EF4AB /* Debug */ = { | 310 | 9934F1DB19303DC6005EF4AB /* Debug */ = { |
311 | isa = XCBuildConfiguration; | 311 | isa = XCBuildConfiguration; |
312 | baseConfigurationReference = 27019DCB1A208B1500DA560D /* Project.xcconfig */; | 312 | baseConfigurationReference = 27019DCB1A208B1500DA560D /* Project.xcconfig */; |
313 | buildSettings = { | 313 | buildSettings = { |
314 | ALWAYS_SEARCH_USER_PATHS = YES; | 314 | ALWAYS_SEARCH_USER_PATHS = YES; |
315 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; | 315 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; |
316 | ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME = LaunchImage; | 316 | ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME = LaunchImage; |
317 | CODE_SIGN_IDENTITY = "iPhone Developer"; | 317 | CODE_SIGN_IDENTITY = "iPhone Developer"; |
318 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; | 318 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; |
319 | ENABLE_BITCODE = NO; | 319 | ENABLE_BITCODE = NO; |
320 | FRAMEWORK_SEARCH_PATHS = ( | 320 | FRAMEWORK_SEARCH_PATHS = ( |
321 | "$(PROJECT_DIR)/../**", | 321 | "$(PROJECT_DIR)/../**", |
322 | "$(PROJECT_DIR)/letsgameDemo", | 322 | "$(PROJECT_DIR)/letsgameDemo", |
323 | ); | 323 | ); |
324 | GCC_PRECOMPILE_PREFIX_HEADER = YES; | 324 | GCC_PRECOMPILE_PREFIX_HEADER = YES; |
325 | GCC_PREFIX_HEADER = "letsgameDemo/GameSDKDemo-Prefix.pch"; | 325 | GCC_PREFIX_HEADER = "letsgameDemo/GameSDKDemo-Prefix.pch"; |
326 | HEADER_SEARCH_PATHS = ( | 326 | HEADER_SEARCH_PATHS = ( |
327 | "$(PROJECT_DIR)/../GameSDK.framework/**", | 327 | "$(PROJECT_DIR)/../GameSDK.framework/**", |
328 | "$(inherited)", | 328 | "$(inherited)", |
329 | "$(PROJECT_DIR)/letsgameDemo/**", | 329 | "$(PROJECT_DIR)/letsgameDemo/**", |
330 | "$(PROJECT_DIR)/../VKBridge.framework/**", | 330 | "$(PROJECT_DIR)/../VKBridge.framework/**", |
331 | ); | 331 | ); |
332 | INFOPLIST_FILE = "letsgameDemo/letsgameDemo-Info.plist"; | 332 | INFOPLIST_FILE = "letsgameDemo/letsgameDemo-Info.plist"; |
333 | IPHONEOS_DEPLOYMENT_TARGET = 7.0; | 333 | IPHONEOS_DEPLOYMENT_TARGET = 7.0; |
334 | LIBRARY_SEARCH_PATHS = ""; | 334 | LIBRARY_SEARCH_PATHS = ""; |
335 | ONLY_ACTIVE_ARCH = YES; | 335 | ONLY_ACTIVE_ARCH = YES; |
336 | PRIVATE_HEADERS_FOLDER_PATH = ""; | 336 | PRIVATE_HEADERS_FOLDER_PATH = ""; |
337 | PRODUCT_BUNDLE_IDENTIFIER = test.kang.purchase; | 337 | PRODUCT_BUNDLE_IDENTIFIER = test.kang.purchase; |
338 | PRODUCT_NAME = GameSDKDemo; | 338 | PRODUCT_NAME = GameSDKDemo; |
339 | PROVISIONING_PROFILE = "eb0168b9-d076-46ca-b632-badbf62beb18"; | 339 | PROVISIONING_PROFILE = "eb0168b9-d076-46ca-b632-badbf62beb18"; |
340 | PUBLIC_HEADERS_FOLDER_PATH = ""; | 340 | PUBLIC_HEADERS_FOLDER_PATH = ""; |
341 | WRAPPER_EXTENSION = app; | 341 | WRAPPER_EXTENSION = app; |
342 | }; | 342 | }; |
343 | name = Debug; | 343 | name = Debug; |
344 | }; | 344 | }; |
345 | 9934F1DC19303DC6005EF4AB /* Release */ = { | 345 | 9934F1DC19303DC6005EF4AB /* Release */ = { |
346 | isa = XCBuildConfiguration; | 346 | isa = XCBuildConfiguration; |
347 | baseConfigurationReference = 27019DCB1A208B1500DA560D /* Project.xcconfig */; | 347 | baseConfigurationReference = 27019DCB1A208B1500DA560D /* Project.xcconfig */; |
348 | buildSettings = { | 348 | buildSettings = { |
349 | ALWAYS_SEARCH_USER_PATHS = YES; | 349 | ALWAYS_SEARCH_USER_PATHS = YES; |
350 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; | 350 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; |
351 | ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME = LaunchImage; | 351 | ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME = LaunchImage; |
352 | CODE_SIGN_IDENTITY = "iPhone Developer"; | 352 | CODE_SIGN_IDENTITY = "iPhone Developer"; |
353 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; | 353 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; |
354 | ENABLE_BITCODE = NO; | 354 | ENABLE_BITCODE = NO; |
355 | FRAMEWORK_SEARCH_PATHS = ( | 355 | FRAMEWORK_SEARCH_PATHS = ( |
356 | "$(PROJECT_DIR)/../**", | 356 | "$(PROJECT_DIR)/../**", |
357 | "$(PROJECT_DIR)/letsgameDemo", | 357 | "$(PROJECT_DIR)/letsgameDemo", |
358 | ); | 358 | ); |
359 | GCC_PRECOMPILE_PREFIX_HEADER = YES; | 359 | GCC_PRECOMPILE_PREFIX_HEADER = YES; |
360 | GCC_PREFIX_HEADER = "letsgameDemo/GameSDKDemo-Prefix.pch"; | 360 | GCC_PREFIX_HEADER = "letsgameDemo/GameSDKDemo-Prefix.pch"; |
361 | HEADER_SEARCH_PATHS = ( | 361 | HEADER_SEARCH_PATHS = ( |
362 | "$(PROJECT_DIR)/../GameSDK.framework/**", | 362 | "$(PROJECT_DIR)/../GameSDK.framework/**", |
363 | "$(inherited)", | 363 | "$(inherited)", |
364 | "$(PROJECT_DIR)/letsgameDemo/**", | 364 | "$(PROJECT_DIR)/letsgameDemo/**", |
365 | "$(PROJECT_DIR)/../VKBridge.framework/**", | 365 | "$(PROJECT_DIR)/../VKBridge.framework/**", |
366 | ); | 366 | ); |
367 | INFOPLIST_FILE = "letsgameDemo/letsgameDemo-Info.plist"; | 367 | INFOPLIST_FILE = "letsgameDemo/letsgameDemo-Info.plist"; |
368 | IPHONEOS_DEPLOYMENT_TARGET = 7.0; | 368 | IPHONEOS_DEPLOYMENT_TARGET = 7.0; |
369 | LIBRARY_SEARCH_PATHS = ""; | 369 | LIBRARY_SEARCH_PATHS = ""; |
370 | ONLY_ACTIVE_ARCH = YES; | 370 | ONLY_ACTIVE_ARCH = YES; |
371 | PRIVATE_HEADERS_FOLDER_PATH = ""; | 371 | PRIVATE_HEADERS_FOLDER_PATH = ""; |
372 | PRODUCT_BUNDLE_IDENTIFIER = test.kang.purchase; | 372 | PRODUCT_BUNDLE_IDENTIFIER = test.kang.purchase; |
373 | PRODUCT_NAME = GameSDKDemo; | 373 | PRODUCT_NAME = GameSDKDemo; |
374 | PROVISIONING_PROFILE = "eb0168b9-d076-46ca-b632-badbf62beb18"; | 374 | PROVISIONING_PROFILE = "eb0168b9-d076-46ca-b632-badbf62beb18"; |
375 | PUBLIC_HEADERS_FOLDER_PATH = ""; | 375 | PUBLIC_HEADERS_FOLDER_PATH = ""; |
376 | WRAPPER_EXTENSION = app; | 376 | WRAPPER_EXTENSION = app; |
377 | }; | 377 | }; |
378 | name = Release; | 378 | name = Release; |
379 | }; | 379 | }; |
380 | /* End XCBuildConfiguration section */ | 380 | /* End XCBuildConfiguration section */ |
381 | 381 | ||
382 | /* Begin XCConfigurationList section */ | 382 | /* Begin XCConfigurationList section */ |
383 | 9934F1A919303DC6005EF4AB /* Build configuration list for PBXProject "GameSDKDemo" */ = { | 383 | 9934F1A919303DC6005EF4AB /* Build configuration list for PBXProject "GameSDKDemo" */ = { |
384 | isa = XCConfigurationList; | 384 | isa = XCConfigurationList; |
385 | buildConfigurations = ( | 385 | buildConfigurations = ( |
386 | 9934F1D819303DC6005EF4AB /* Debug */, | 386 | 9934F1D819303DC6005EF4AB /* Debug */, |
387 | 9934F1D919303DC6005EF4AB /* Release */, | 387 | 9934F1D919303DC6005EF4AB /* Release */, |
388 | ); | 388 | ); |
389 | defaultConfigurationIsVisible = 0; | 389 | defaultConfigurationIsVisible = 0; |
390 | defaultConfigurationName = Release; | 390 | defaultConfigurationName = Release; |
391 | }; | 391 | }; |
392 | 9934F1DA19303DC6005EF4AB /* Build configuration list for PBXNativeTarget "GameSDKDemo" */ = { | 392 | 9934F1DA19303DC6005EF4AB /* Build configuration list for PBXNativeTarget "GameSDKDemo" */ = { |
393 | isa = XCConfigurationList; | 393 | isa = XCConfigurationList; |
394 | buildConfigurations = ( | 394 | buildConfigurations = ( |
395 | 9934F1DB19303DC6005EF4AB /* Debug */, | 395 | 9934F1DB19303DC6005EF4AB /* Debug */, |
396 | 9934F1DC19303DC6005EF4AB /* Release */, | 396 | 9934F1DC19303DC6005EF4AB /* Release */, |
397 | ); | 397 | ); |
398 | defaultConfigurationIsVisible = 0; | 398 | defaultConfigurationIsVisible = 0; |
399 | defaultConfigurationName = Release; | 399 | defaultConfigurationName = Release; |
400 | }; | 400 | }; |
401 | /* End XCConfigurationList section */ | 401 | /* End XCConfigurationList section */ |
402 | }; | 402 | }; |
403 | rootObject = 9934F1A619303DC6005EF4AB /* Project object */; | 403 | rootObject = 9934F1A619303DC6005EF4AB /* Project object */; |
404 | } | 404 | } |
ios/GameSDKDemo/GameSDKDemo.xcodeproj/project.xcworkspace/xcuserdata/gump.xcuserdatad/UserInterfaceState.xcuserstate
No preview for this file type
ios/GameSDKDemo/letsgameDemo/GameSDKResources.bundle/en.strings
1 | "user_name_hint" = "Email"; | 1 | "user_name_hint" = "Email"; |
2 | "password_hint" = "Password"; | 2 | "password_hint" = "Password"; |
3 | "quick_play" = "Play"; | 3 | "quick_play" = "Play"; |
4 | "login" = "Login"; | 4 | "login" = "Login"; |
5 | "gump_login" = "Gumptech Login>>"; | 5 | "gump_login" = "Login>>"; |
6 | "signup" = "Signup"; | 6 | "signup" = "Signup"; |
7 | "bind" = "Bound to email"; | 7 | "bind" = "Bound to email"; |
8 | "loading" = "Loading"; | 8 | "loading" = "Loading"; |
9 | "cancel" = "Cancel"; | 9 | "cancel" = "Cancel"; |
10 | "ok" = "OK"; | 10 | "ok" = "OK"; |
11 | "illegal_uname_tip" = "Invalid Email"; | 11 | "illegal_uname_tip" = "Invalid Email"; |
12 | "illegal_pwd_tip" = "Invalid Password (6-20 characters)"; | 12 | "illegal_pwd_tip" = "Invalid Password (6-20 characters)"; |
13 | "illegal_user_exist" = "Email has already used"; | 13 | "illegal_user_exist" = "Email has already used"; |
14 | "illegal_pwd_invalid" = "Password is incorrect, please try again"; | 14 | "illegal_pwd_invalid" = "Password is incorrect, please try again"; |
15 | "illegal_user_not_exist" = "Invalid Email"; | 15 | "illegal_user_not_exist" = "Invalid Email"; |
16 | "invalid_email" = "Please input your email"; | 16 | "invalid_email" = "Please input your email"; |
17 | "login_fail" = "Login failed"; | 17 | "login_fail" = "Login failed"; |
18 | "signup_fail" = "Signup failed"; | 18 | "signup_fail" = "Signup failed"; |
19 | "bind_fail" = "Bound failed"; | 19 | "bind_fail" = "Bound failed"; |
20 | 20 |
ios/GameSDKDemo/letsgameDemo/GameSDKResources.bundle/pt-PT.strings
1 | "user_name_hint" = "Email"; | 1 | "user_name_hint" = "Email"; |
2 | "password_hint" = "Senha"; | 2 | "password_hint" = "Senha"; |
3 | "quick_login" = "Jogar Agora"; | 3 | "quick_login" = "Jogar Agora"; |
4 | "quick_play" = "Play"; | 4 | "quick_play" = "Play"; |
5 | "login" = "Login"; | 5 | "login" = "Login"; |
6 | "gump_login" = "Gumptech Login>>"; | 6 | "gump_login" = "Login>>"; |
7 | "signup" = "Registrar"; | 7 | "signup" = "Registrar"; |
8 | "bind" = "Vincular ao email"; | 8 | "bind" = "Vincular ao email"; |
9 | "loading" = "Carregando"; | 9 | "loading" = "Carregando"; |
10 | "illegal_uname_tip" = "Email inválido"; | 10 | "illegal_uname_tip" = "Email inválido"; |
11 | "illegal_pwd_tip" = "Senha Inválida (6-20 caracteres)"; | 11 | "illegal_pwd_tip" = "Senha Inválida (6-20 caracteres)"; |
12 | "illegal_user_exist" = "Email já está em uso"; | 12 | "illegal_user_exist" = "Email já está em uso"; |
13 | "illegal_pwd_invalid" = "Senha incorreta, favor tentar novamente"; | 13 | "illegal_pwd_invalid" = "Senha incorreta, favor tentar novamente"; |
14 | "illegal_user_not_exist" = "Email Inválido"; | 14 | "illegal_user_not_exist" = "Email Inválido"; |
15 | "invalid_email" = "Favor inserir seu email"; | 15 | "invalid_email" = "Favor inserir seu email"; |
16 | "login_fail" = "Login falhou"; | 16 | "login_fail" = "Login falhou"; |
17 | "signup_fail" = "Registrar falhou"; | 17 | "signup_fail" = "Registrar falhou"; |
18 | "bind_fail" = "Vincular falhou"; | 18 | "bind_fail" = "Vincular falhou"; |
19 | 19 |
ios/GameSDKDemo/letsgameDemo/GameSDKResources.bundle/ru.strings
1 | "user_name_hint" = "Почта"; | 1 | "user_name_hint" = "Почта"; |
2 | "password_hint" = "Пароль"; | 2 | "password_hint" = "Пароль"; |
3 | "quick_play" = "Play"; | 3 | "quick_play" = "Play"; |
4 | "login" = "Войти"; | 4 | "login" = "Войти"; |
5 | "gump_login" = "Gumptech Login>>"; | 5 | "gump_login" = "Login>>"; |
6 | "signup" = "Зарегистрироваться"; | 6 | "signup" = "Зарегистрироваться"; |
7 | "bind" = "Bound to email"; | 7 | "bind" = "Bound to email"; |
8 | "loading" = "Загружаю..."; | 8 | "loading" = "Загружаю..."; |
9 | "cancel" = "отменить"; | 9 | "cancel" = "отменить"; |
10 | "ok" = "Ок"; | 10 | "ok" = "Ок"; |
11 | "illegal_uname_tip" = "Неверный электронный адрес "; | 11 | "illegal_uname_tip" = "Неверный электронный адрес "; |
12 | "illegal_pwd_tip" = "Неверный пароль (6-20 символов)"; | 12 | "illegal_pwd_tip" = "Неверный пароль (6-20 символов)"; |
13 | "illegal_user_exist" = "Почта используется"; | 13 | "illegal_user_exist" = "Почта используется"; |
14 | "illegal_pwd_invalid" = "Введите верный пароль"; | 14 | "illegal_pwd_invalid" = "Введите верный пароль"; |
15 | "illegal_user_not_exist" = "Почта не зарегистрирована"; | 15 | "illegal_user_not_exist" = "Почта не зарегистрирована"; |
16 | "invalid_email" = "Неверный электронный адрес"; | 16 | "invalid_email" = "Неверный электронный адрес"; |
17 | "login_fail" = "не удалось войти"; | 17 | "login_fail" = "не удалось войти"; |
18 | "signup_fail" = "кандидату не"; | 18 | "signup_fail" = "кандидату не"; |
19 | "bind_fail" = "Bound failed"; | 19 | "bind_fail" = "Bound failed"; |
ios/GameSDKDemo/letsgameDemo/GameSDKResources.bundle/th.strings
1 | "user_name_hint" = "อีเมลล์"; | 1 | "user_name_hint" = "อีเมลล์"; |
2 | "password_hint" = "พาสเวิร์ด"; | 2 | "password_hint" = "พาสเวิร์ด"; |
3 | "quick_play" = "Play"; | 3 | "quick_play" = "Play"; |
4 | "quick_login" = "เริ่มเล่น"; | 4 | "quick_login" = "เริ่มเล่น"; |
5 | "login" = "ล็อกอิน"; | 5 | "login" = "ล็อกอิน"; |
6 | "gump_login" = "Gumptech Login>>"; | 6 | "gump_login" = "Login>>"; |
7 | "signup" = "ลงทะเบียน"; | 7 | "signup" = "ลงทะเบียน"; |
8 | "bind" = "ผูกอีเมลล์"; | 8 | "bind" = "ผูกอีเมลล์"; |
9 | "loading" = "กำลังโหลด"; | 9 | "loading" = "กำลังโหลด"; |
10 | "illegal_uname_tip" = "อีเมลล์ไม่ถูกต้อง"; | 10 | "illegal_uname_tip" = "อีเมลล์ไม่ถูกต้อง"; |
11 | "illegal_pwd_tip" = "พาสเวิร์ดไม่ถูกต้อง(6-20 ตัวอักษร)"; | 11 | "illegal_pwd_tip" = "พาสเวิร์ดไม่ถูกต้อง(6-20 ตัวอักษร)"; |
12 | "illegal_user_exist" = "อีเมลล์นี้ได้ถูกใช้แล้ว"; | 12 | "illegal_user_exist" = "อีเมลล์นี้ได้ถูกใช้แล้ว"; |
13 | "illegal_pwd_invalid" = "พาสเวิร์ดไม่ถูกต้อง, โปรดลองใหม่อีกครั้ง"; | 13 | "illegal_pwd_invalid" = "พาสเวิร์ดไม่ถูกต้อง, โปรดลองใหม่อีกครั้ง"; |
14 | "illegal_user_not_exist" = "อีเมลล์ไม่ถูกต้อง"; | 14 | "illegal_user_not_exist" = "อีเมลล์ไม่ถูกต้อง"; |
15 | "invalid_email" = "ใส่อีเมลล์ของคุณ"; | 15 | "invalid_email" = "ใส่อีเมลล์ของคุณ"; |
16 | "login_fail" = "ล็อกอินผิดพลาด"; | 16 | "login_fail" = "ล็อกอินผิดพลาด"; |
17 | "signup_fail" = "ลงทะเบียนไม่สำเร็จ"; | 17 | "signup_fail" = "ลงทะเบียนไม่สำเร็จ"; |
18 | "bind_fail" = "ผูกอีเมลล์ไม่สำเร็จ"; | 18 | "bind_fail" = "ผูกอีเมลล์ไม่สำเร็จ"; |
19 | 19 |
ios/GameSDKDemo/letsgameDemo/GameSDKResources.bundle/zh-Hans.strings
1 | "user_name_hint" = "邮箱"; | 1 | "user_name_hint" = "邮箱"; |
2 | "password_hint" = "密码"; | 2 | "password_hint" = "密码"; |
3 | "quick_login" = "一键进入"; | 3 | "quick_login" = "一键进入"; |
4 | "quick_play" = "Play"; | 4 | "quick_play" = "Play"; |
5 | "gump_login" = "Gumptech Login>>"; | 5 | "gump_login" = "Login>>"; |
6 | "login" = "登陆"; | 6 | "login" = "登陆"; |
7 | "loginFacebook" = "登录Facebook"; | 7 | "loginFacebook" = "登录Facebook"; |
8 | "signup" = "注册"; | 8 | "signup" = "注册"; |
9 | "bind" = "绑定邮箱"; | 9 | "bind" = "绑定邮箱"; |
10 | "loading" = "加载中……"; | 10 | "loading" = "加载中……"; |
11 | "illegal_uname_tip" = "邮箱不存在"; | 11 | "illegal_uname_tip" = "邮箱不存在"; |
12 | "illegal_pwd_tip" = "密码格式不正确 (6–20字符)"; | 12 | "illegal_pwd_tip" = "密码格式不正确 (6–20字符)"; |
13 | "illegal_user_exist" = "邮箱已注册"; | 13 | "illegal_user_exist" = "邮箱已注册"; |
14 | "illegal_pwd_invalid" = "密码不正确,请重试"; | 14 | "illegal_pwd_invalid" = "密码不正确,请重试"; |
15 | "illegal_user_not_exist" = "邮箱格式不正确"; | 15 | "illegal_user_not_exist" = "邮箱格式不正确"; |
16 | "invalid_email" = "请输入正确的邮箱"; | 16 | "invalid_email" = "请输入正确的邮箱"; |
17 | "login_fail" = "登录失败"; | 17 | "login_fail" = "登录失败"; |
18 | "signup_fail" = "注册失败"; | 18 | "signup_fail" = "注册失败"; |
19 | "bind_fail" = "绑定失败"; | 19 | "bind_fail" = "绑定失败"; |
20 | "GumptechLogin" = "甘普登录"; | 20 | "GumptechLogin" = "甘普登录"; |
ios/GameSDKDemo/letsgameDemo/GameSDKResources.bundle/zh-Hant.strings
1 | "user_name_hint" = "郵箱"; | 1 | "user_name_hint" = "郵箱"; |
2 | "password_hint" = "密碼"; | 2 | "password_hint" = "密碼"; |
3 | "quick_login" = "一鍵進入"; | 3 | "quick_login" = "一鍵進入"; |
4 | "quick_play" = "Play"; | 4 | "quick_play" = "Play"; |
5 | "gump_login" = "Gumptech Login>>"; | 5 | "gump_login" = "Login>>"; |
6 | "login" = "登陸"; | 6 | "login" = "登陸"; |
7 | "signup" = "註冊"; | 7 | "signup" = "註冊"; |
8 | "bind" = "綁定郵箱"; | 8 | "bind" = "綁定郵箱"; |
9 | "loading" = "加載中……"; | 9 | "loading" = "加載中……"; |
10 | "illegal_uname_tip" = "郵箱不存在"; | 10 | "illegal_uname_tip" = "郵箱不存在"; |
11 | "illegal_pwd_tip" = "密碼格式不爭取 (6–20字符)"; | 11 | "illegal_pwd_tip" = "密碼格式不爭取 (6–20字符)"; |
12 | "illegal_user_exist" = "郵箱已註冊"; | 12 | "illegal_user_exist" = "郵箱已註冊"; |
13 | "illegal_pwd_invalid" = "密碼不正確,請重試"; | 13 | "illegal_pwd_invalid" = "密碼不正確,請重試"; |
14 | "illegal_user_not_exist" = "郵箱格式不正確"; | 14 | "illegal_user_not_exist" = "郵箱格式不正確"; |
15 | "invalid_email" = "請輸入正確的郵箱"; | 15 | "invalid_email" = "請輸入正確的郵箱"; |
16 | "login_fail" = "登陸失敗"; | 16 | "login_fail" = "登陸失敗"; |
17 | "signup_fail" = "註冊失敗"; | 17 | "signup_fail" = "註冊失敗"; |
18 | "bind_fail" = "綁定失敗"; | 18 | "bind_fail" = "綁定失敗"; |
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 "VKBridge.h" | 11 | #import "VKBridge.h" |
12 | 12 | ||
13 | 13 | ||
14 | @interface LSGMainViewController () | 14 | @interface LSGMainViewController () |
15 | 15 | ||
16 | @property (nonatomic, strong) UILabel *resultLabel; | 16 | @property (nonatomic, strong) UILabel *resultLabel; |
17 | 17 | ||
18 | @property(nonatomic,strong) UIButton *vkActivityShareBtn; | 18 | @property(nonatomic,strong) UIButton *vkActivityShareBtn; |
19 | |||
20 | @property(nonatomic,copy) NSString *sessionKey; | ||
19 | @end | 21 | @end |
20 | 22 | ||
21 | @implementation LSGMainViewController | 23 | @implementation LSGMainViewController |
22 | 24 | ||
23 | - (void)loadView { | 25 | - (void)loadView { |
24 | [super loadView]; | 26 | [super loadView]; |
25 | 27 | ||
26 | self.view.backgroundColor = [UIColor whiteColor]; | 28 | self.view.backgroundColor = [UIColor whiteColor]; |
27 | 29 | ||
28 | UIButton *btn = [[UIButton alloc] initWithFrame:CGRectMake(110, 40, 100, 30)]; | 30 | UIButton *btn = [[UIButton alloc] initWithFrame:CGRectMake(110, 40, 100, 30)]; |
29 | btn.backgroundColor = [UIColor orangeColor]; | 31 | btn.backgroundColor = [UIColor orangeColor]; |
30 | [btn setTitle:@"测试入口" forState:UIControlStateNormal]; | 32 | [btn setTitle:@"测试入口" forState:UIControlStateNormal]; |
31 | [btn setTitleColor:[UIColor whiteColor] forState:UIControlStateNormal]; | 33 | [btn setTitleColor:[UIColor whiteColor] forState:UIControlStateNormal]; |
32 | btn.titleLabel.font = [UIFont systemFontOfSize:15]; | 34 | btn.titleLabel.font = [UIFont systemFontOfSize:15]; |
33 | [btn addTarget:self action:@selector(onClickTest) forControlEvents:UIControlEventTouchUpInside]; | 35 | [btn addTarget:self action:@selector(onClickTest) forControlEvents:UIControlEventTouchUpInside]; |
34 | [self.view addSubview:btn]; | 36 | [self.view addSubview:btn]; |
35 | 37 | ||
36 | 38 | ||
37 | 39 | ||
38 | UIButton *bindtn = [[UIButton alloc] initWithFrame:CGRectMake(110, 100, 100, 30)]; | 40 | UIButton *bindtn = [[UIButton alloc] initWithFrame:CGRectMake(110, 100, 100, 30)]; |
39 | bindtn.backgroundColor = [UIColor orangeColor]; | 41 | bindtn.backgroundColor = [UIColor orangeColor]; |
40 | [bindtn setTitle:@"退出账号" forState:UIControlStateNormal]; | 42 | [bindtn setTitle:@"退出账号" forState:UIControlStateNormal]; |
41 | [bindtn setTitleColor:[UIColor whiteColor] forState:UIControlStateNormal]; | 43 | [bindtn setTitleColor:[UIColor whiteColor] forState:UIControlStateNormal]; |
42 | bindtn.titleLabel.font = [UIFont systemFontOfSize:15]; | 44 | bindtn.titleLabel.font = [UIFont systemFontOfSize:15]; |
43 | [bindtn addTarget:self action:@selector(onLogoutTest) forControlEvents:UIControlEventTouchUpInside]; | 45 | [bindtn addTarget:self action:@selector(onLogoutTest) forControlEvents:UIControlEventTouchUpInside]; |
44 | [self.view addSubview:bindtn]; | 46 | [self.view addSubview:bindtn]; |
45 | 47 | ||
46 | UIButton *payBtn = [[UIButton alloc] initWithFrame:CGRectMake(110, 160, 100, 30)]; | 48 | UIButton *payBtn = [[UIButton alloc] initWithFrame:CGRectMake(110, 160, 100, 30)]; |
47 | payBtn.backgroundColor = [UIColor orangeColor]; | 49 | payBtn.backgroundColor = [UIColor orangeColor]; |
48 | [payBtn setTitle:@"支付" forState:UIControlStateNormal]; | 50 | [payBtn setTitle:@"支付" forState:UIControlStateNormal]; |
49 | [payBtn setTitleColor:[UIColor whiteColor] forState:UIControlStateNormal]; | 51 | [payBtn setTitleColor:[UIColor whiteColor] forState:UIControlStateNormal]; |
50 | payBtn.titleLabel.font = [UIFont systemFontOfSize:15]; | 52 | payBtn.titleLabel.font = [UIFont systemFontOfSize:15]; |
51 | [payBtn addTarget:self action:@selector(onPayTest) forControlEvents:UIControlEventTouchUpInside]; | 53 | [payBtn addTarget:self action:@selector(onPayTest) forControlEvents:UIControlEventTouchUpInside]; |
52 | [self.view addSubview:payBtn]; | 54 | [self.view addSubview:payBtn]; |
53 | 55 | ||
54 | UIButton *iapBtn = [[UIButton alloc] initWithFrame:CGRectMake(110, 220, 100, 30)]; | 56 | UIButton *iapBtn = [[UIButton alloc] initWithFrame:CGRectMake(110, 220, 100, 30)]; |
55 | iapBtn.backgroundColor = [UIColor orangeColor]; | 57 | iapBtn.backgroundColor = [UIColor orangeColor]; |
56 | [iapBtn setTitle:@"IAP" forState:UIControlStateNormal]; | 58 | [iapBtn setTitle:@"IAP" forState:UIControlStateNormal]; |
57 | [iapBtn setTitleColor:[UIColor whiteColor] forState:UIControlStateNormal]; | 59 | [iapBtn setTitleColor:[UIColor whiteColor] forState:UIControlStateNormal]; |
58 | iapBtn.titleLabel.font = [UIFont systemFontOfSize:15]; | 60 | iapBtn.titleLabel.font = [UIFont systemFontOfSize:15]; |
59 | [iapBtn addTarget:self action:@selector(onIapTest) forControlEvents:UIControlEventTouchUpInside]; | 61 | [iapBtn addTarget:self action:@selector(onIapTest) forControlEvents:UIControlEventTouchUpInside]; |
60 | [self.view addSubview:iapBtn]; | 62 | [self.view addSubview:iapBtn]; |
61 | 63 | ||
62 | 64 | ||
63 | } | 65 | } |
64 | 66 | ||
65 | - (UILabel *)resultLabel { | 67 | - (UILabel *)resultLabel { |
66 | if (!_resultLabel) { | 68 | if (!_resultLabel) { |
67 | _resultLabel = [[UILabel alloc] initWithFrame:CGRectMake(0, CGRectGetMaxY(self.view.frame) - 90, self.view.frame.size.width, 60)]; | 69 | _resultLabel = [[UILabel alloc] initWithFrame:CGRectMake(0, CGRectGetMaxY(self.view.frame) - 90, self.view.frame.size.width, 60)]; |
68 | _resultLabel.backgroundColor = [UIColor clearColor]; | 70 | _resultLabel.backgroundColor = [UIColor clearColor]; |
69 | _resultLabel.textAlignment = NSTextAlignmentCenter; | 71 | _resultLabel.textAlignment = NSTextAlignmentCenter; |
70 | _resultLabel.textColor = [UIColor redColor]; | 72 | _resultLabel.textColor = [UIColor redColor]; |
71 | _resultLabel.font = [UIFont systemFontOfSize:15]; | 73 | _resultLabel.font = [UIFont systemFontOfSize:15]; |
72 | _resultLabel.numberOfLines = 4; | 74 | _resultLabel.numberOfLines = 4; |
73 | _resultLabel.lineBreakMode = NSLineBreakByWordWrapping; | 75 | _resultLabel.lineBreakMode = NSLineBreakByWordWrapping; |
74 | [self.view addSubview:_resultLabel]; | 76 | [self.view addSubview:_resultLabel]; |
75 | } | 77 | } |
76 | 78 | ||
77 | return _resultLabel; | 79 | return _resultLabel; |
78 | } | 80 | } |
79 | 81 | ||
80 | 82 | ||
81 | - (void)onClickTest { | 83 | - (void)onClickTest { |
82 | [LetsGameAPI instance].appId = @"10022"; | 84 | NSLog(@"mainBundle:%@",[[LetsGameAPI instance] version]); |
83 | [LetsGameAPI instance].appKey = @"93a27b0bd99bac3e68a440b48aa421ab"; | 85 | [LetsGameAPI instance].appId = @"10047"; |
86 | [LetsGameAPI instance].appKey = @"eccd9f7dc92858b741132fda313130cf"; | ||
87 | [LetsGameAPI hiddenLogo:YES]; | ||
84 | // [LetsGameAPI disableFB:NO]; | 88 | // [LetsGameAPI disableFB:NO]; |
85 | NSLog(@"sdk version:%@",[[LetsGameAPI instance] version]); | 89 | NSLog(@"sdk version:%@",[[LetsGameAPI instance] version]); |
86 | //启用vk登录 | 90 | //启用vk登录 |
87 | // VKBridge *vkBridge = [[VKBridge alloc] initWithVKAppId:@"5029792"]; | 91 | // VKBridge *vkBridge = [[VKBridge alloc] initWithVKAppId:@"5029792"]; |
88 | // [LetsGameAPI instance].vkBridge = vkBridge; | 92 | // [LetsGameAPI instance].vkBridge = vkBridge; |
89 | 93 | ||
90 | [LetsGameAPI instance].succBlock = ^(NSString *userId, NSString *sessionKey, LSGAccountType type) { | 94 | [LetsGameAPI instance].succBlock = ^(NSString *userId, NSString *sessionKey, LSGAccountType type) { |
95 | self.sessionKey = sessionKey; | ||
91 | self.resultLabel.text = [NSString stringWithFormat:@"login succ: userId = %@, sessionKey = %@, accountType = %ld", userId, sessionKey, type]; | 96 | self.resultLabel.text = [NSString stringWithFormat:@"login succ: userId = %@, sessionKey = %@, accountType = %ld", userId, sessionKey, type]; |
92 | }; | 97 | }; |
93 | [LetsGameAPI instance].dismissBlock = ^() { | 98 | [LetsGameAPI instance].dismissBlock = ^() { |
94 | self.resultLabel.text = @"dismiss without login"; | 99 | self.resultLabel.text = @"dismiss without login"; |
95 | }; | 100 | }; |
96 | 101 | ||
97 | [[LetsGameAPI instance] showLoginView]; | 102 | [[LetsGameAPI instance] showLoginView]; |
98 | } | 103 | } |
99 | 104 | ||
100 | 105 | ||
101 | - (void)onLogoutTest { | 106 | - (void)onLogoutTest { |
102 | [LetsGameAPI instance].appId = @"10000"; | 107 | [LetsGameAPI instance].appId = @"10000"; |
103 | [LetsGameAPI instance].appKey = @"93a27b0bd99bac3e68a440b48aa421ab"; | 108 | [LetsGameAPI instance].appKey = @"93a27b0bd99bac3e68a440b48aa421ab"; |
104 | [[LetsGameAPI instance] logout]; | 109 | [[LetsGameAPI instance] logout]; |
105 | 110 | ||
106 | } | 111 | } |
107 | 112 | ||
108 | -(void)onPayTest{ | 113 | -(void)onPayTest{ |
109 | [LetsGameAPI instance].appId = @"10022"; | 114 | [LetsGameAPI instance].appId = @"10022"; |
110 | [LetsGameAPI instance].appKey = @"93a27b0bd99bac3e68a440b48aa421ab"; | 115 | [LetsGameAPI instance].appKey = @"93a27b0bd99bac3e68a440b48aa421ab"; |
111 | NSMutableDictionary *payInfo = [NSMutableDictionary dictionary]; | 116 | NSMutableDictionary *payInfo = [NSMutableDictionary dictionary]; |
112 | [payInfo setValue:@"5001" forKey:@"serverId"]; | 117 | [payInfo setValue:@"100" forKey:@"serverId"]; |
113 | [payInfo setValue:@"10010" forKey:@"roleId"]; | 118 | [payInfo setValue:@"10010" forKey:@"roleId"]; |
114 | [payInfo setValue:@"1000" forKey:@"channelId"]; | 119 | [payInfo setValue:@"1000" forKey:@"channelId"]; |
115 | [payInfo setValue:@"10" forKey:@"amount"]; | 120 | [payInfo setValue:@"10" forKey:@"amount"]; |
116 | [payInfo setValue:@"ios demo" forKey:@"extraInfo"]; | 121 | [payInfo setValue:@"ios demo" forKey:@"extraInfo"]; |
117 | [payInfo setValue:@"元宝" forKey:@"product"]; | 122 | [payInfo setValue:@"元宝" forKey:@"product"]; |
123 | [payInfo setValue:self.sessionKey forKey:@"sessionKey"]; | ||
118 | [[LetsGameAPI instance] pay:payInfo]; | 124 | [[LetsGameAPI instance] pay:payInfo]; |
119 | } | 125 | } |
120 | 126 | ||
121 | -(void)onIapTest{ | 127 | -(void)onIapTest{ |
122 | [LetsGameAPI instance].appId = @"10022"; | 128 | [LetsGameAPI instance].appId = @"10022"; |
123 | [LetsGameAPI instance].appKey = @"93a27b0bd99bac3e68a440b48aa421ab"; | 129 | [LetsGameAPI instance].appKey = @"93a27b0bd99bac3e68a440b48aa421ab"; |
124 | NSMutableDictionary *payInfo = [NSMutableDictionary dictionary]; | 130 | NSMutableDictionary *payInfo = [NSMutableDictionary dictionary]; |
125 | [payInfo setValue:@"5001" forKey:@"serverId"]; | 131 | [payInfo setValue:@"5001" forKey:@"serverId"]; |
126 | [payInfo setValue:@"10010" forKey:@"roleId"]; | 132 | [payInfo setValue:@"10010" forKey:@"roleId"]; |
127 | [payInfo setValue:@"1000" forKey:@"channelId"]; | 133 | [payInfo setValue:@"1000" forKey:@"channelId"]; |
128 | [payInfo setValue:@"10" forKey:@"amount"]; | 134 | [payInfo setValue:@"10" forKey:@"amount"]; |
129 | [payInfo setValue:@"ios demo" forKey:@"extraInfo"]; | 135 | [payInfo setValue:@"ios demo" forKey:@"extraInfo"]; |
130 | [payInfo setValue:@"test.product.1" forKey:@"product"]; | 136 | [payInfo setValue:@"test.product.1" forKey:@"product"]; |
131 | [[LetsGameAPI instance] iap:payInfo forUser:@"" handleCallback:^(NSString* orderId){ | 137 | [[LetsGameAPI instance] iap:payInfo forUser:@"" handleCallback:^(NSString* orderId){ |
132 | NSLog(@"IAP completed orderId of Gumptech:%@",orderId); | 138 | NSLog(@"IAP completed orderId of Gumptech:%@",orderId); |
133 | }]; | 139 | }]; |
134 | } | 140 | } |
135 | 141 | ||
136 | 142 | ||
137 | - (BOOL)shouldAutorotate { | 143 | - (BOOL)shouldAutorotate { |
138 | return YES; | 144 | return YES; |
139 | } | 145 | } |
140 | 146 | ||
141 | -(UIInterfaceOrientationMask)supportedInterfaceOrientations{ | 147 | -(UIInterfaceOrientationMask)supportedInterfaceOrientations{ |
142 | return UIInterfaceOrientationMaskAll; | 148 | return UIInterfaceOrientationMaskAll; |
143 | } | 149 | } |
144 | 150 | ||
145 | - (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation { | 151 | - (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation { |
146 | return YES; | 152 | return YES; |
147 | } | 153 | } |
148 | 154 | ||
149 | @end | 155 | @end |
150 | 156 |
ios/GameSDKResources.bundle/en.strings
1 | "user_name_hint" = "Email"; | 1 | "user_name_hint" = "Email"; |
2 | "password_hint" = "Password"; | 2 | "password_hint" = "Password"; |
3 | "quick_play" = "Play"; | 3 | "quick_play" = "Play"; |
4 | "login" = "Login"; | 4 | "login" = "Login"; |
5 | "gump_login" = "Gumptech Login>>"; | 5 | "gump_login" = "Login>>"; |
6 | "signup" = "Signup"; | 6 | "signup" = "Signup"; |
7 | "bind" = "Bound to email"; | 7 | "bind" = "Bound to email"; |
8 | "loading" = "Loading"; | 8 | "loading" = "Loading"; |
9 | "cancel" = "Cancel"; | 9 | "cancel" = "Cancel"; |
10 | "ok" = "OK"; | 10 | "ok" = "OK"; |
11 | "illegal_uname_tip" = "Invalid Email"; | 11 | "illegal_uname_tip" = "Invalid Email"; |
12 | "illegal_pwd_tip" = "Invalid Password (6-20 characters)"; | 12 | "illegal_pwd_tip" = "Invalid Password (6-20 characters)"; |
13 | "illegal_user_exist" = "Email has already used"; | 13 | "illegal_user_exist" = "Email has already used"; |
14 | "illegal_pwd_invalid" = "Password is incorrect, please try again"; | 14 | "illegal_pwd_invalid" = "Password is incorrect, please try again"; |
15 | "illegal_user_not_exist" = "Invalid Email"; | 15 | "illegal_user_not_exist" = "Invalid Email"; |
16 | "invalid_email" = "Please input your email"; | 16 | "invalid_email" = "Please input your email"; |
17 | "login_fail" = "Login failed"; | 17 | "login_fail" = "Login failed"; |
18 | "signup_fail" = "Signup failed"; | 18 | "signup_fail" = "Signup failed"; |
19 | "bind_fail" = "Bound failed"; | 19 | "bind_fail" = "Bound failed"; |
20 | 20 |
ios/GameSDKResources.bundle/pt-PT.strings
1 | "user_name_hint" = "Email"; | 1 | "user_name_hint" = "Email"; |
2 | "password_hint" = "Senha"; | 2 | "password_hint" = "Senha"; |
3 | "quick_login" = "Jogar Agora"; | 3 | "quick_login" = "Jogar Agora"; |
4 | "quick_play" = "Play"; | 4 | "quick_play" = "Play"; |
5 | "login" = "Login"; | 5 | "login" = "Login"; |
6 | "gump_login" = "Gumptech Login>>"; | 6 | "gump_login" = "Login>>"; |
7 | "signup" = "Registrar"; | 7 | "signup" = "Registrar"; |
8 | "bind" = "Vincular ao email"; | 8 | "bind" = "Vincular ao email"; |
9 | "loading" = "Carregando"; | 9 | "loading" = "Carregando"; |
10 | "illegal_uname_tip" = "Email inválido"; | 10 | "illegal_uname_tip" = "Email inválido"; |
11 | "illegal_pwd_tip" = "Senha Inválida (6-20 caracteres)"; | 11 | "illegal_pwd_tip" = "Senha Inválida (6-20 caracteres)"; |
12 | "illegal_user_exist" = "Email já está em uso"; | 12 | "illegal_user_exist" = "Email já está em uso"; |
13 | "illegal_pwd_invalid" = "Senha incorreta, favor tentar novamente"; | 13 | "illegal_pwd_invalid" = "Senha incorreta, favor tentar novamente"; |
14 | "illegal_user_not_exist" = "Email Inválido"; | 14 | "illegal_user_not_exist" = "Email Inválido"; |
15 | "invalid_email" = "Favor inserir seu email"; | 15 | "invalid_email" = "Favor inserir seu email"; |
16 | "login_fail" = "Login falhou"; | 16 | "login_fail" = "Login falhou"; |
17 | "signup_fail" = "Registrar falhou"; | 17 | "signup_fail" = "Registrar falhou"; |
18 | "bind_fail" = "Vincular falhou"; | 18 | "bind_fail" = "Vincular falhou"; |
19 | 19 |
ios/GameSDKResources.bundle/ru.strings
1 | "user_name_hint" = "Почта"; | 1 | "user_name_hint" = "Почта"; |
2 | "password_hint" = "Пароль"; | 2 | "password_hint" = "Пароль"; |
3 | "quick_play" = "Play"; | 3 | "quick_play" = "Play"; |
4 | "login" = "Войти"; | 4 | "login" = "Войти"; |
5 | "gump_login" = "Gumptech Login>>"; | 5 | "gump_login" = "Login>>"; |
6 | "signup" = "Зарегистрироваться"; | 6 | "signup" = "Зарегистрироваться"; |
7 | "bind" = "Bound to email"; | 7 | "bind" = "Bound to email"; |
8 | "loading" = "Загружаю..."; | 8 | "loading" = "Загружаю..."; |
9 | "cancel" = "отменить"; | 9 | "cancel" = "отменить"; |
10 | "ok" = "Ок"; | 10 | "ok" = "Ок"; |
11 | "illegal_uname_tip" = "Неверный электронный адрес "; | 11 | "illegal_uname_tip" = "Неверный электронный адрес "; |
12 | "illegal_pwd_tip" = "Неверный пароль (6-20 символов)"; | 12 | "illegal_pwd_tip" = "Неверный пароль (6-20 символов)"; |
13 | "illegal_user_exist" = "Почта используется"; | 13 | "illegal_user_exist" = "Почта используется"; |
14 | "illegal_pwd_invalid" = "Введите верный пароль"; | 14 | "illegal_pwd_invalid" = "Введите верный пароль"; |
15 | "illegal_user_not_exist" = "Почта не зарегистрирована"; | 15 | "illegal_user_not_exist" = "Почта не зарегистрирована"; |
16 | "invalid_email" = "Неверный электронный адрес"; | 16 | "invalid_email" = "Неверный электронный адрес"; |
17 | "login_fail" = "не удалось войти"; | 17 | "login_fail" = "не удалось войти"; |
18 | "signup_fail" = "кандидату не"; | 18 | "signup_fail" = "кандидату не"; |
19 | "bind_fail" = "Bound failed"; | 19 | "bind_fail" = "Bound failed"; |
ios/GameSDKResources.bundle/th.strings
1 | "user_name_hint" = "อีเมลล์"; | 1 | "user_name_hint" = "อีเมลล์"; |
2 | "password_hint" = "พาสเวิร์ด"; | 2 | "password_hint" = "พาสเวิร์ด"; |
3 | "quick_play" = "Play"; | 3 | "quick_play" = "Play"; |
4 | "quick_login" = "เริ่มเล่น"; | 4 | "quick_login" = "เริ่มเล่น"; |
5 | "login" = "ล็อกอิน"; | 5 | "login" = "ล็อกอิน"; |
6 | "gump_login" = "Gumptech Login>>"; | 6 | "gump_login" = "Login>>"; |
7 | "signup" = "ลงทะเบียน"; | 7 | "signup" = "ลงทะเบียน"; |
8 | "bind" = "ผูกอีเมลล์"; | 8 | "bind" = "ผูกอีเมลล์"; |
9 | "loading" = "กำลังโหลด"; | 9 | "loading" = "กำลังโหลด"; |
10 | "illegal_uname_tip" = "อีเมลล์ไม่ถูกต้อง"; | 10 | "illegal_uname_tip" = "อีเมลล์ไม่ถูกต้อง"; |
11 | "illegal_pwd_tip" = "พาสเวิร์ดไม่ถูกต้อง(6-20 ตัวอักษร)"; | 11 | "illegal_pwd_tip" = "พาสเวิร์ดไม่ถูกต้อง(6-20 ตัวอักษร)"; |
12 | "illegal_user_exist" = "อีเมลล์นี้ได้ถูกใช้แล้ว"; | 12 | "illegal_user_exist" = "อีเมลล์นี้ได้ถูกใช้แล้ว"; |
13 | "illegal_pwd_invalid" = "พาสเวิร์ดไม่ถูกต้อง, โปรดลองใหม่อีกครั้ง"; | 13 | "illegal_pwd_invalid" = "พาสเวิร์ดไม่ถูกต้อง, โปรดลองใหม่อีกครั้ง"; |
14 | "illegal_user_not_exist" = "อีเมลล์ไม่ถูกต้อง"; | 14 | "illegal_user_not_exist" = "อีเมลล์ไม่ถูกต้อง"; |
15 | "invalid_email" = "ใส่อีเมลล์ของคุณ"; | 15 | "invalid_email" = "ใส่อีเมลล์ของคุณ"; |
16 | "login_fail" = "ล็อกอินผิดพลาด"; | 16 | "login_fail" = "ล็อกอินผิดพลาด"; |
17 | "signup_fail" = "ลงทะเบียนไม่สำเร็จ"; | 17 | "signup_fail" = "ลงทะเบียนไม่สำเร็จ"; |
18 | "bind_fail" = "ผูกอีเมลล์ไม่สำเร็จ"; | 18 | "bind_fail" = "ผูกอีเมลล์ไม่สำเร็จ"; |
19 | 19 |
ios/GameSDKResources.bundle/zh-Hans.strings
1 | "user_name_hint" = "邮箱"; | 1 | "user_name_hint" = "邮箱"; |
2 | "password_hint" = "密码"; | 2 | "password_hint" = "密码"; |
3 | "quick_login" = "一键进入"; | 3 | "quick_login" = "一键进入"; |
4 | "quick_play" = "Play"; | 4 | "quick_play" = "Play"; |
5 | "gump_login" = "Gumptech Login>>"; | 5 | "gump_login" = "Login>>"; |
6 | "login" = "登陆"; | 6 | "login" = "登陆"; |
7 | "loginFacebook" = "登录Facebook"; | 7 | "loginFacebook" = "登录Facebook"; |
8 | "signup" = "注册"; | 8 | "signup" = "注册"; |
9 | "bind" = "绑定邮箱"; | 9 | "bind" = "绑定邮箱"; |
10 | "loading" = "加载中……"; | 10 | "loading" = "加载中……"; |
11 | "illegal_uname_tip" = "邮箱不存在"; | 11 | "illegal_uname_tip" = "邮箱不存在"; |
12 | "illegal_pwd_tip" = "密码格式不正确 (6–20字符)"; | 12 | "illegal_pwd_tip" = "密码格式不正确 (6–20字符)"; |
13 | "illegal_user_exist" = "邮箱已注册"; | 13 | "illegal_user_exist" = "邮箱已注册"; |
14 | "illegal_pwd_invalid" = "密码不正确,请重试"; | 14 | "illegal_pwd_invalid" = "密码不正确,请重试"; |
15 | "illegal_user_not_exist" = "邮箱格式不正确"; | 15 | "illegal_user_not_exist" = "邮箱格式不正确"; |
16 | "invalid_email" = "请输入正确的邮箱"; | 16 | "invalid_email" = "请输入正确的邮箱"; |
17 | "login_fail" = "登录失败"; | 17 | "login_fail" = "登录失败"; |
18 | "signup_fail" = "注册失败"; | 18 | "signup_fail" = "注册失败"; |
19 | "bind_fail" = "绑定失败"; | 19 | "bind_fail" = "绑定失败"; |
20 | "GumptechLogin" = "甘普登录"; | 20 | "GumptechLogin" = "甘普登录"; |
ios/GameSDKResources.bundle/zh-Hant.strings
1 | "user_name_hint" = "郵箱"; | 1 | "user_name_hint" = "郵箱"; |
2 | "password_hint" = "密碼"; | 2 | "password_hint" = "密碼"; |
3 | "quick_login" = "一鍵進入"; | 3 | "quick_login" = "一鍵進入"; |
4 | "quick_play" = "Play"; | 4 | "quick_play" = "Play"; |
5 | "gump_login" = "Gumptech Login>>"; | 5 | "gump_login" = "Login>>"; |
6 | "login" = "登陸"; | 6 | "login" = "登陸"; |
7 | "signup" = "註冊"; | 7 | "signup" = "註冊"; |
8 | "bind" = "綁定郵箱"; | 8 | "bind" = "綁定郵箱"; |
9 | "loading" = "加載中……"; | 9 | "loading" = "加載中……"; |
10 | "illegal_uname_tip" = "郵箱不存在"; | 10 | "illegal_uname_tip" = "郵箱不存在"; |
11 | "illegal_pwd_tip" = "密碼格式不爭取 (6–20字符)"; | 11 | "illegal_pwd_tip" = "密碼格式不爭取 (6–20字符)"; |
12 | "illegal_user_exist" = "郵箱已註冊"; | 12 | "illegal_user_exist" = "郵箱已註冊"; |
13 | "illegal_pwd_invalid" = "密碼不正確,請重試"; | 13 | "illegal_pwd_invalid" = "密碼不正確,請重試"; |
14 | "illegal_user_not_exist" = "郵箱格式不正確"; | 14 | "illegal_user_not_exist" = "郵箱格式不正確"; |
15 | "invalid_email" = "請輸入正確的郵箱"; | 15 | "invalid_email" = "請輸入正確的郵箱"; |
16 | "login_fail" = "登陸失敗"; | 16 | "login_fail" = "登陸失敗"; |
17 | "signup_fail" = "註冊失敗"; | 17 | "signup_fail" = "註冊失敗"; |
18 | "bind_fail" = "綁定失敗"; | 18 | "bind_fail" = "綁定失敗"; |