Commit 635b66127c704d4f874fcf4dcba107efea1c8c6f

Authored by alexYang
1 parent 01b0b33124
Exists in master

1、自动登录部分修改,将自动登录部分的登录框取消,点击登录之后登陆过之后直接登录,在gump登陆过程中的对最短3秒登录时间取消,尽快登陆,取消延时,不再出现切换…

…账号和修改密码的选项 2、修改第三方回调的名称 3、运营对侵权内容和非侵权内容显示要求的借口

Showing 11 changed files with 59 additions and 24 deletions Inline Diff

1 # Gump IOS SDK使用文档 1 # Gump IOS SDK使用文档
2 2
3 3
4 接入手册 4 接入手册
5 V 3.3.25 5 V 3.4.2
6 2017年3月9日 6 2017年3月22日
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 + 以下为可选,若接入bluePay第三方支付方式需要添加一下的framework和bundle,其中CoreBuePay.framework直接引入工程,之后再依次引入CoreTelephony.framework、MessageUI.framework、SystemConfiguration.framework,最后将BlueMobile.bundle拖入项目中 17 + 以下为可选,若接入bluePay第三方支付方式需要添加一下的framework和bundle,其中CoreBuePay.framework直接引入工程,之后再依次引入CoreTelephony.framework、MessageUI.framework、SystemConfiguration.framework,最后将BlueMobile.bundle拖入项目中
18 18
19 19
20 ### 2、引入头文件,设置build setting 20 ### 2、引入头文件,设置build setting
21 需要使用头文件有LetsGameAPI.h和VKBridge.h,其中VKBridge.h为接入vk时使用,不接入vk可忽略。 21 需要使用头文件有LetsGameAPI.h和VKBridge.h,其中VKBridge.h为接入vk时使用,不接入vk可忽略。
22 因sdk内使用了category,需要设置other linker flag为 -ObjC 22 因sdk内使用了category,需要设置other linker flag为 -ObjC
23 23
24 24
25 ### 3、增加必要配置 25 ### 3、增加必要配置
26 1)在application delegate中, 在application:openURL:sourceApplication:annotation:添加返回: 26 1)在application delegate中, 在application:openURL:sourceApplication:annotation:添加返回:
27 27
28 return [[LetsGameAPI instance] handleOpenURL:url sourceApplication:sourceApplication]; 28 return [[LetsGameAPI instance] handleOpenURL:url sourceApplication:sourceApplication];
29 29
30 30
31 2)配置URL-schema(vk专用,不接入vk可忽略) 31 2)配置URL-schema(vk专用,不接入vk可忽略)
32 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 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.
33 ![](images/vk1.jpg) 33 ![](images/vk1.jpg)
34 Xcode 4: Open your Info.plist then add a new row URL Types. Set the URL identifier to vk+APP_ID 34 Xcode 4: Open your Info.plist then add a new row URL Types. Set the URL identifier to vk+APP_ID
35 ![](images/vk2.jpg) 35 ![](images/vk2.jpg)
36 36
37 3)配置plist和scheme(BluePay的linePay使用,不接入BluePay的LinePay可忽略) 37 3)配置plist和scheme(BluePay的linePay使用,不接入BluePay的LinePay可忽略)
38 38
39 plist部分: 39 plist部分:
40 <key>LSApplicationQueriesSchemes</key> 40 <key>LSApplicationQueriesSchemes</key>
41 <array> 41 <array>
42 <string>line</string> 42 <string>line</string>
43 </array> 43 </array>
44 scheme部分: 44 scheme部分:
45 <key>CFBundleURLTypes</key> 45 <key>CFBundleURLTypes</key>
46 <array> 46 <array>
47 <dict> 47 <dict>
48 <key>CFBundleTypeRole</key> 48 <key>CFBundleTypeRole</key>
49 <string>None</string> 49 <string>None</string>
50 <key>CFBundleURLName</key> 50 <key>CFBundleURLName</key>
51 <string>com.gump.sdk</string> 51 <string>com.gump.sdk</string>
52 <key>CFBundleURLSchemes</key> 52 <key>CFBundleURLSchemes</key>
53 <array> 53 <array>
54 <string> gump+游戏的appId </string> 54 <string> gump+游戏的appId </string>
55 </array> 55 </array>
56 </dict> 56 </dict>
57 </array> 57 </array>
58 ### 4、在工程里添加SDK登录代码 58 ### 4、在工程里添加SDK登录代码
59 59
60 [LetsGameAPI instance].appId = @"100"; // 设置appId 60 [LetsGameAPI instance].appId = @"100"; // 设置appId
61 [LetsGameAPI instance].appKey = @"100"; // 设置appKey 61 [LetsGameAPI instance].appKey = @"100"; // 设置appKey
62 62
63 //启用vk的代码,需要填入vk appId,若不接入vk,可以忽略 63 //启用vk的代码,需要填入vk appId,若不接入vk,可以忽略
64 //VKBridge *vkBridge = [[VKBridge alloc] initWithVKAppId:@"5029792"]; 64 //VKBridge *vkBridge = [[VKBridge alloc] initWithVKAppId:@"5029792"];
65 //[LetsGameAPI instance].vkBridge = vkBridge; 65 //[LetsGameAPI instance].vkBridge = vkBridge;
66 66
67 //隐藏fb登录 67 //隐藏fb登录
68 [LetsGameAPI disableFB:YES]; 68 [LetsGameAPI disableFB:YES];
69 69
70 //隐藏gumptech的logo 70 //隐藏gumptech的logo
71 [LetsGameAPI hiddenLogo:YES]; 71 [LetsGameAPI hiddenLogo:YES];
72 72
73 [[LetsGameAPI instance] showLoginView]; // 弹出登录页面 73 [[LetsGameAPI instance] showLoginView]; // 弹出登录页面
74 74
75 // 登录成功回调 75 // 登录成功回调
76 [LetsGameAPI instance].succBlock = ^(NSString *userId, NSString *sessionKey, LSGAccountType type) { 76 [LetsGameAPI instance].succBlock = ^(NSString *userId, NSString *sessionKey, LSGAccountType type) {
77 NSLog(@"%@", [NSString stringWithFormat:@"login succ: userId = %@, sessionKey = %@, accountType = %d", userId, sessionKey, type]); 77 NSLog(@"%@", [NSString stringWithFormat:@"login succ: userId = %@, sessionKey = %@, accountType = %d", userId, sessionKey, type]);
78 }; 78 };
79 79
80 // 登录失败回调 80 // 登录失败回调
81 [LetsGameAPI instance].dismissBlock = ^() { 81 [LetsGameAPI instance].dismissBlock = ^() {
82 NSLog(@"dismiss without login"); 82 NSLog(@"dismiss without login");
83 }; 83 };
84 84
85 ### 5、登录注销 85 ### 5、登录注销
86 注销接口只要设置过appId和appKey之后就不需要设置了,注销完成之后会回到登录界面。FB登录回到登录页面,Gump登录或者游客登录回到登录框。 86 注销接口只要设置过appId和appKey之后就不需要设置了,注销完成之后会回到登录界面。FB登录回到登录页面,Gump登录或者游客登录回到登录框。
87 87
88 [LetsGameAPI instance].appId = @"100";//设置appId 88 [LetsGameAPI instance].appId = @"100";//设置appId
89 [LetsGameAPI instance].appKey = @"100";//设置appkey 89 [LetsGameAPI instance].appKey = @"100";//设置appkey
90 [[LetsGameAPI instance] logout]; //注销 90 [[LetsGameAPI instance] logout]; //注销
91 91
92 92
93 ### 6、第三方支付 93 ### 6、第三方支付
94 [LetsGameAPI instance].appId = @"10022"; 94 [LetsGameAPI instance].appId = @"10022";
95 [LetsGameAPI instance].appKey = @"f899139df5e1059396431415e770c6dd"; 95 [LetsGameAPI instance].appKey = @"f899139df5e1059396431415e770c6dd";
96 NSMutableDictionary *payInfo = [NSMutableDictionary dictionary]; 96 NSMutableDictionary *payInfo = [NSMutableDictionary dictionary];
97 [payInfo setValue:@"5001" forKey:@"serverId"];//服务器id,必传参数 97 [payInfo setValue:@"5001" forKey:@"serverId"];//服务器id,必传参数
98 [payInfo setValue:@"10010" forKey:@"roleId"];//用户角色id 98 [payInfo setValue:@"10010" forKey:@"roleId"];//用户角色id
99 [payInfo setValue:@"1000" forKey:@"channelId"];//渠道id 99 [payInfo setValue:@"1000" forKey:@"channelId"];//渠道id
100 [payInfo setValue:@"10" forKey:@"amount"];//金额 100 [payInfo setValue:@"10" forKey:@"amount"];//金额
101 [payInfo setValue:@"ios demo" forKey:@"extraInfo"];//外部订单信息 101 [payInfo setValue:@"ios demo" forKey:@"extraInfo"];//外部订单信息
102 [payInfo setValue:@"元宝" forKey:@"product"];//物品信息 102 [payInfo setValue:@"元宝" forKey:@"product"];//物品信息
103 [payInfo setValue:self.sessionKey forKey:@"sessionKey"];//登录成功的sessionKey 103 [payInfo setValue:self.sessionKey forKey:@"sessionKey"];//登录成功的sessionKey
104 [[LetsGameAPI instance] pay:payInfo handleCallBack:^{ 104 [[LetsGameAPI instance] pay:payInfo handleCallBack:^{
105 //第三方支付完成时的回调(包括支付成功和支付失败,除了支付过程中取消的),取消的不会有回调 105 //第三方支付完成时的回调(包括支付成功和支付失败,除了支付过程中取消的),取消的不会有回调
106 NSLog(@"第三方支付完成"); 106 NSLog(@"第三方支付完成");
107 }]]; 107 }]];
108 108
109 ### 7、IAP支付 109 ### 7、IAP支付
110 若要使用apple IAP支付,需要在AppDelegate的application: didFinishLaunchingWithOptions:方法内注册iap observer,使用如下方法 110 若要使用apple IAP支付,需要在AppDelegate的application: didFinishLaunchingWithOptions:方法内注册iap observer,使用如下方法
111 111
112 [[LetsGameAPI instance] registeIapObserver]; 112 [[LetsGameAPI instance] registeIapObserver];
113 具体调用iap支付的方法如下: 113 具体调用iap支付的方法如下:
114 114
115 [LetsGameAPI instance].appId = @"10022"; 115 [LetsGameAPI instance].appId = @"10022";
116 [LetsGameAPI instance].appKey = @"93a27b0bd99bac3e68a440b48aa421ab"; 116 [LetsGameAPI instance].appKey = @"93a27b0bd99bac3e68a440b48aa421ab";
117 NSMutableDictionary *payInfo = [NSMutableDictionary dictionary]; 117 NSMutableDictionary *payInfo = [NSMutableDictionary dictionary];
118 [payInfo setValue:@"5001" forKey:@"serverId"];//当前用户所在的服务器Id 118 [payInfo setValue:@"5001" forKey:@"serverId"];//当前用户所在的服务器Id
119 [payInfo setValue:@"10010" forKey:@"roleId"];//当前用户的角色id 119 [payInfo setValue:@"10010" forKey:@"roleId"];//当前用户的角色id
120 [payInfo setValue:@"1000" forKey:@"channelId"];//渠道id,用于统计 120 [payInfo setValue:@"1000" forKey:@"channelId"];//渠道id,用于统计
121 [payInfo setValue:@"10" forKey:@"amount"];//对应支付项的支付金额,实际支付金额以itunes配置为准 121 [payInfo setValue:@"10" forKey:@"amount"];//对应支付项的支付金额,实际支付金额以itunes配置为准
122 [payInfo setValue:@"ios demo" forKey:@"extraInfo"];//扩展信息,可以游戏自定义,建议传自有订单号 122 [payInfo setValue:@"ios demo" forKey:@"extraInfo"];//扩展信息,可以游戏自定义,建议传自有订单号
123 [payInfo setValue:@"test.product.1" forKey:@"product"];//itunes 后台配置的对应支付项的productId 123 [payInfo setValue:@"test.product.1" forKey:@"product"];//itunes 后台配置的对应支付项的productId
124 [[LetsGameAPI instance] iap:payInfo forUser:@"" handleCallback:^(NSString* orderId){ 124 [[LetsGameAPI instance] iap:payInfo forUser:@"" handleCallback:^(NSString* orderId){
125 //此处的回调表明支付已经完成,但此时支付不一定成功,需要服务端验证支付结果 125 //此处的回调表明支付已经完成,但此时支付不一定成功,需要服务端验证支付结果
126 //orderId为gump生成的订单号,此订单号可以在gump server查询此笔支付是否成功 126 //orderId为gump生成的订单号,此订单号可以在gump server查询此笔支付是否成功
127 NSLog(@"iap completed orderId of gumptech:%@",orderId); 127 NSLog(@"iap completed orderId of gumptech:%@",orderId);
128 }]; 128 }];
129 ### 8、token的获取 129 ### 8、token的获取
130 FB登录之后会产生token并自动登录,需要如果需要token的话,需要自己调用接口获取。 130 FB登录之后会产生token并自动登录,需要如果需要token的话,需要自己调用接口获取。
131 131
132 //tokenString:token字符串 132 //tokenString:token字符串
133 //refreshTime:refreshTime token最后刷新的时间,即获取的token的时间 133 //refreshTime:refreshTime token最后刷新的时间,即获取的token的时间
134 //expirationTime:expirationTime token最后的有效时间 134 //expirationTime:expirationTime token最后的有效时间
135 [[LetsGameAPI instance] obtainAccessTokenSuccess:^(NSString *tokenString, NSString *refreshTime, NSString *expirationTime) { 135 [[LetsGameAPI instance] obtainAccessTokenSuccess:^(NSString *tokenString, NSString *refreshTime, NSString *expirationTime) {
136 NSLog(@"tokenString %@, refreshTime %@, expirationTime %@", tokenString, refreshTime, expirationTime); 136 NSLog(@"tokenString %@, refreshTime %@, expirationTime %@", tokenString, refreshTime, expirationTime);
137 } failure:^(NSString *errorString) { 137 } failure:^(NSString *errorString) {
138 NSLog(@"get token faile"); 138 NSLog(@"get token faile");
139 }]; 139 }];
140 140
141 141
142 ### 9、第三方支付版本 142 ### 9、第三方支付版本
143 第三方支付,分成两个版本:没有gump币和有gump币,不设置时默认为带gump币版本,如果使用不带gump币的版本如下设置: 143 第三方支付,分成两个版本:没有gump币和有gump币,不设置时默认为带gump币版本,如果使用不带gump币的版本如下设置:
144 144
145 需要在 application:didFinishLaunchingWithOptions方法中添加: 145 需要在 application:didFinishLaunchingWithOptions方法中添加:
146 146
147 [[LetsGameAPI instance] decideWebPayVersion:1] 147 [[LetsGameAPI instance] decideWebPayVersion:1]
148
149
150 ### 10、关于侵权还是侵权的接口显示
151 运营在后台配置此包名和版本在什么时候显示侵权内容还是不侵权内容,此接口调用需要在游戏才开始加载的时候调用,返回值是YES的时候显示侵权内容,在NO的时候显示不侵权内容。
152
153 注意:关于运营配置的游戏的版本号,我们默认取的是Bulid版本号的值,请注意。
154
155 [[LetsGameAPI instance] gameObtainSafeSetInfoWithAppId:@"10056" ChannelId:@"1000" handleCallBack:^(BOOL resultStatus) {
156 if (resultStatus) {
157 NSLog(@"YES 侵权");
158 }else{
159 NSLog(@"NO 不侵权");
160 }
161 }];
162
163
148 164
ios/GameSDK.framework/Versions/A/GameSDK
No preview for this file type
ios/GameSDK.framework/Versions/A/Headers/LSGAccount.h
1 #import <Foundation/Foundation.h> 1 #import <Foundation/Foundation.h>
2 2
3 typedef NS_ENUM(NSInteger, LSGAccountType) { 3 typedef NS_ENUM(NSInteger, LSGAccountType) {
4 LSGAccountTypeRegist = 1, 4 LSGAccountTypeRegist = 1,
5 LSGAccountTypeFBRegist = 5, 5 LSGAccountTypeFBRegist = 2,
6 LSGAccountTypeQuickRegist = 4, 6 LSGAccountTypeQuickRegist = 4,
7 LSGAccountTypeVKRegist = 6, 7 LSGAccountTypeVKRegist = 8,
8 }; 8 };
9 9
10 //判断是不是自动登录情况
11 #define LSGAccountTypeBaseLogin 16
12
10 @interface LSGAccount : NSObject 13 @interface LSGAccount : NSObject
11 14
12 @property(nonatomic, assign) LSGAccountType type; 15 @property(nonatomic, assign) LSGAccountType type;
13 @property(nonatomic, strong) NSString *username; 16 @property(nonatomic, strong) NSString *username;
14 @property(nonatomic, strong) NSString *nickName; 17 @property(nonatomic, strong) NSString *nickName;
15 @property(nonatomic, strong) NSString *password; 18 @property(nonatomic, strong) NSString *password;
16 @property(nonatomic, strong) NSString *userId; 19 @property(nonatomic, strong) NSString *userId;
17 @property(nonatomic, strong) NSString *sessionKey; 20 @property(nonatomic, strong) NSString *sessionKey;
18 @property(nonatomic, strong) NSString *deviceId; 21 @property(nonatomic, strong) NSString *deviceId;
19 22
20 + (void)saveAccount:(NSString *)service account:(LSGAccount *)account; 23 + (void)saveAccount:(NSString *)service account:(LSGAccount *)account;
21 24
22 + (LSGAccount *)loadAccount:(NSString *)service; 25 + (LSGAccount *)loadAccount:(NSString *)service;
23 26
24 + (void)deleteAccount:(NSString *)service; 27 + (void)deleteAccount:(NSString *)service;
25 28
26 @end
29 @end
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 typedef void (^LSGDismissBlock)(void); 8 typedef void (^LSGDismissBlock)(void);
9 9
10 static BOOL isDisableFB = NO; 10 static BOOL isDisableFB = NO;
11 11
12 static BOOL isEnableVK = NO; 12 static BOOL isEnableVK = NO;
13 13
14 static BOOL hiddenLogo = NO; 14 static BOOL hiddenLogo = NO;
15 15
16 static NSString *version = @"3.3.25"; 16 static NSString *version = @"3.4.2";
17 17
18 @interface LetsGameAPI : NSObject<UIApplicationDelegate> 18 @interface LetsGameAPI : NSObject<UIApplicationDelegate>
19 19
20 @property (nonatomic, strong) NSString *appId; 20 @property (nonatomic, strong) NSString *appId;
21 @property (nonatomic, strong) NSString *appKey; 21 @property (nonatomic, strong) NSString *appKey;
22 @property (nonatomic, copy) LSGLoginSuccBlock succBlock; 22 @property (nonatomic, copy) LSGLoginSuccBlock succBlock;
23 @property (nonatomic, copy) LSGDismissBlock dismissBlock; 23 @property (nonatomic, copy) LSGDismissBlock dismissBlock;
24 @property (nonatomic, assign) int isDebug; 24 @property (nonatomic, assign) int isDebug;
25 @property (nonatomic, assign) int decideWebPay; 25 @property (nonatomic, assign) int decideWebPay;
26 @property (nonatomic,retain) id<VKBridgeProtocol> vkBridge; 26 @property (nonatomic,retain) id<VKBridgeProtocol> vkBridge;
27 //@property(nonatomic,strong) NSString *version; 27 //@property(nonatomic,strong) NSString *version;
28 28
29 + (instancetype)instance; 29 + (instancetype)instance;
30 30
31 -(NSString*)version; 31 -(NSString*)version;
32 32
33 - (void)showLoginView; 33 - (void)showLoginView;
34 - (void)showLoginViewInView:(UIView *)view; 34 - (void)showLoginViewInView:(UIView *)view;
35 35
36 +(void)disableFB:(BOOL)isDisable; 36 +(void)disableFB:(BOOL)isDisable;
37 +(BOOL)isFBDisable; 37 +(BOOL)isFBDisable;
38 +(BOOL)isVKEnable; 38 +(BOOL)isVKEnable;
39 +(void)hiddenLogo:(BOOL)isHidden; 39 +(void)hiddenLogo:(BOOL)isHidden;
40 +(BOOL)isHiddenLogo; 40 +(BOOL)isHiddenLogo;
41 41
42 - (void)logout; 42 - (void)logout;
43 43
44 - (void)hide; 44 - (void)hide;
45 45
46 - (BOOL)handleOpenURL:(NSURL *)url 46 - (BOOL)handleOpenURL:(NSURL *)url
47 sourceApplication:(NSString *)sourceApplication; 47 sourceApplication:(NSString *)sourceApplication;
48 48
49 -(void)pay:(NSDictionary*) payInfo handleCallBack:(void (^)()) paySuccessCallback; 49 -(void)pay:(NSDictionary*) payInfo handleCallBack:(void (^)()) payAccomplistCallback;
50 50
51 -(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;
52 52
53 -(void)registeIapObserver; 53 -(void)registeIapObserver;
54 54
55 -(void)decideIsDebug:(int)isDebug; 55 -(void)decideIsDebug:(int)isDebug;
56 56
57 -(void)decideWebPayVersion:(int)decideWebPay; 57 -(void)decideWebPayVersion:(int)decideWebPay;
58 58
59 -(void)obtainAccessTokenSuccess:(void (^)(NSString *tokenString, NSString *refreshTime, NSString *expirationTime))success 59 -(void)obtainAccessTokenSuccess:(void (^)(NSString *tokenString, NSString *refreshTime, NSString *expirationTime))success
60 failure:(void (^)(NSString *errorString))failure; 60 failure:(void (^)(NSString *errorString))failure;
61
62 //获取是否展示安全页面,YES展示侵权页面,NO展示非侵权页面
63 -(void)gameObtainSafeSetInfoWithAppId:(NSString *)appId
64 ChannelId:(NSString *)channelId
65 handleCallBack:(void (^)(BOOL resultStatus))callBack;
61 @end 66 @end
62 67
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 3CD53D9D1B81F37900E1B01A /* VKSdkResources.bundle in Resources */ = {isa = PBXBuildFile; fileRef = 3CD53D9C1B81F37900E1B01A /* VKSdkResources.bundle */; }; 15 3CD53D9D1B81F37900E1B01A /* VKSdkResources.bundle in Resources */ = {isa = PBXBuildFile; fileRef = 3CD53D9C1B81F37900E1B01A /* VKSdkResources.bundle */; };
16 752A5F421CDC826A00C36131 /* GameSDKResources.bundle in Resources */ = {isa = PBXBuildFile; fileRef = 752A5F411CDC826A00C36131 /* GameSDKResources.bundle */; }; 16 752A5F421CDC826A00C36131 /* GameSDKResources.bundle in Resources */ = {isa = PBXBuildFile; fileRef = 752A5F411CDC826A00C36131 /* GameSDKResources.bundle */; };
17 752A5F4A1CDC8B3200C36131 /* GameSDK.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 752A5F491CDC8B3200C36131 /* GameSDK.framework */; }; 17 752A5F4A1CDC8B3200C36131 /* GameSDK.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 752A5F491CDC8B3200C36131 /* GameSDK.framework */; };
18 75B72C8F1DAA422000CFACFF /* CoreBlue.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 75B72C8E1DAA422000CFACFF /* CoreBlue.framework */; }; 18 75B72C8F1DAA422000CFACFF /* CoreBlue.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 75B72C8E1DAA422000CFACFF /* CoreBlue.framework */; };
19 75B72C911DAA422C00CFACFF /* MessageUI.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 75B72C901DAA422C00CFACFF /* MessageUI.framework */; }; 19 75B72C911DAA422C00CFACFF /* MessageUI.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 75B72C901DAA422C00CFACFF /* MessageUI.framework */; };
20 75B72C931DAA423500CFACFF /* CoreTelephony.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 75B72C921DAA423500CFACFF /* CoreTelephony.framework */; }; 20 75B72C931DAA423500CFACFF /* CoreTelephony.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 75B72C921DAA423500CFACFF /* CoreTelephony.framework */; };
21 9934F1B219303DC6005EF4AB /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 9934F1B119303DC6005EF4AB /* Foundation.framework */; }; 21 9934F1B219303DC6005EF4AB /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 9934F1B119303DC6005EF4AB /* Foundation.framework */; };
22 9934F1B619303DC6005EF4AB /* UIKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 9934F1B519303DC6005EF4AB /* UIKit.framework */; }; 22 9934F1B619303DC6005EF4AB /* UIKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 9934F1B519303DC6005EF4AB /* UIKit.framework */; };
23 9934F1BE19303DC6005EF4AB /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 9934F1BD19303DC6005EF4AB /* main.m */; }; 23 9934F1BE19303DC6005EF4AB /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 9934F1BD19303DC6005EF4AB /* main.m */; };
24 9934F1C219303DC6005EF4AB /* LSGAppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = 9934F1C119303DC6005EF4AB /* LSGAppDelegate.m */; }; 24 9934F1C219303DC6005EF4AB /* LSGAppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = 9934F1C119303DC6005EF4AB /* LSGAppDelegate.m */; };
25 9934F1C419303DC6005EF4AB /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 9934F1C319303DC6005EF4AB /* Images.xcassets */; }; 25 9934F1C419303DC6005EF4AB /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 9934F1C319303DC6005EF4AB /* Images.xcassets */; };
26 9934F23A19307153005EF4AB /* LSGMainViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 9934F23919307153005EF4AB /* LSGMainViewController.m */; }; 26 9934F23A19307153005EF4AB /* LSGMainViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 9934F23919307153005EF4AB /* LSGMainViewController.m */; };
27 997523281930A42500F50D29 /* CFNetwork.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 997523271930A42500F50D29 /* CFNetwork.framework */; }; 27 997523281930A42500F50D29 /* CFNetwork.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 997523271930A42500F50D29 /* CFNetwork.framework */; };
28 997523301930A50F00F50D29 /* SystemConfiguration.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 9975232F1930A50F00F50D29 /* SystemConfiguration.framework */; }; 28 997523301930A50F00F50D29 /* SystemConfiguration.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 9975232F1930A50F00F50D29 /* SystemConfiguration.framework */; };
29 997523321930A52600F50D29 /* MobileCoreServices.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 997523311930A52600F50D29 /* MobileCoreServices.framework */; }; 29 997523321930A52600F50D29 /* MobileCoreServices.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 997523311930A52600F50D29 /* MobileCoreServices.framework */; };
30 /* End PBXBuildFile section */ 30 /* End PBXBuildFile section */
31 31
32 /* Begin PBXContainerItemProxy section */ 32 /* Begin PBXContainerItemProxy section */
33 75D3C90D1E71461E003AD81B /* PBXContainerItemProxy */ = { 33 75843E401E779780002EC23F /* PBXContainerItemProxy */ = {
34 isa = PBXContainerItemProxy; 34 isa = PBXContainerItemProxy;
35 containerPortal = 75D3C9081E71461E003AD81B /* GameSDK.xcodeproj */; 35 containerPortal = 75843E3B1E779780002EC23F /* GameSDK.xcodeproj */;
36 proxyType = 2; 36 proxyType = 2;
37 remoteGlobalIDString = 99626194192D9649004FF2E3; 37 remoteGlobalIDString = 99626194192D9649004FF2E3;
38 remoteInfo = GameSDK; 38 remoteInfo = GameSDK;
39 }; 39 };
40 /* End PBXContainerItemProxy section */ 40 /* End PBXContainerItemProxy section */
41 41
42 /* Begin PBXFileReference section */ 42 /* Begin PBXFileReference section */
43 27019DCA1A208B1500DA560D /* Path.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; path = Path.xcconfig; sourceTree = "<group>"; }; 43 27019DCA1A208B1500DA560D /* Path.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; path = Path.xcconfig; sourceTree = "<group>"; };
44 27019DCB1A208B1500DA560D /* Project.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; path = Project.xcconfig; sourceTree = "<group>"; }; 44 27019DCB1A208B1500DA560D /* Project.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; path = Project.xcconfig; sourceTree = "<group>"; };
45 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>"; }; 45 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>"; };
46 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>"; }; 46 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>"; };
47 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; }; 47 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; };
48 3309D97E1C4394C800534E33 /* VKSdk.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = VKSdk.framework; path = letsgameDemo/VKSdk.framework; sourceTree = "<group>"; }; 48 3309D97E1C4394C800534E33 /* VKSdk.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = VKSdk.framework; path = letsgameDemo/VKSdk.framework; sourceTree = "<group>"; };
49 331262361C50B56800B1B435 /* VKBridge.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = VKBridge.framework; path = ../VKBridge.framework; sourceTree = "<group>"; }; 49 331262361C50B56800B1B435 /* VKBridge.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = VKBridge.framework; path = ../VKBridge.framework; sourceTree = "<group>"; };
50 3CD53D9C1B81F37900E1B01A /* VKSdkResources.bundle */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.plug-in"; path = VKSdkResources.bundle; sourceTree = "<group>"; }; 50 3CD53D9C1B81F37900E1B01A /* VKSdkResources.bundle */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.plug-in"; path = VKSdkResources.bundle; sourceTree = "<group>"; };
51 752A5F411CDC826A00C36131 /* GameSDKResources.bundle */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.plug-in"; name = GameSDKResources.bundle; path = ../../GameSDKResources.bundle; sourceTree = "<group>"; }; 51 752A5F411CDC826A00C36131 /* GameSDKResources.bundle */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.plug-in"; name = GameSDKResources.bundle; path = ../../GameSDKResources.bundle; sourceTree = "<group>"; };
52 752A5F491CDC8B3200C36131 /* GameSDK.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = GameSDK.framework; path = ../GameSDK.framework; sourceTree = "<group>"; }; 52 752A5F491CDC8B3200C36131 /* GameSDK.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = GameSDK.framework; path = ../GameSDK.framework; sourceTree = "<group>"; };
53 75843E3B1E779780002EC23F /* GameSDK.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = GameSDK.xcodeproj; path = ../../../GameSDKRelease/GameSDK/GameSDK.xcodeproj; sourceTree = "<group>"; };
53 75B72C8E1DAA422000CFACFF /* CoreBlue.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreBlue.framework; path = ../CoreBlue.framework; sourceTree = "<group>"; }; 54 75B72C8E1DAA422000CFACFF /* CoreBlue.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreBlue.framework; path = ../CoreBlue.framework; sourceTree = "<group>"; };
54 75B72C901DAA422C00CFACFF /* MessageUI.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = MessageUI.framework; path = System/Library/Frameworks/MessageUI.framework; sourceTree = SDKROOT; }; 55 75B72C901DAA422C00CFACFF /* MessageUI.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = MessageUI.framework; path = System/Library/Frameworks/MessageUI.framework; sourceTree = SDKROOT; };
55 75B72C921DAA423500CFACFF /* CoreTelephony.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreTelephony.framework; path = System/Library/Frameworks/CoreTelephony.framework; sourceTree = SDKROOT; }; 56 75B72C921DAA423500CFACFF /* CoreTelephony.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreTelephony.framework; path = System/Library/Frameworks/CoreTelephony.framework; sourceTree = SDKROOT; };
56 75D3C9081E71461E003AD81B /* GameSDK.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = GameSDK.xcodeproj; path = ../../../GameSDKRelease/GameSDK/GameSDK.xcodeproj; sourceTree = "<group>"; };
57 9934F1AE19303DC6005EF4AB /* GameSDKDemo.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = GameSDKDemo.app; sourceTree = BUILT_PRODUCTS_DIR; }; 57 9934F1AE19303DC6005EF4AB /* GameSDKDemo.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = GameSDKDemo.app; sourceTree = BUILT_PRODUCTS_DIR; };
58 9934F1B119303DC6005EF4AB /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = System/Library/Frameworks/Foundation.framework; sourceTree = SDKROOT; }; 58 9934F1B119303DC6005EF4AB /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = System/Library/Frameworks/Foundation.framework; sourceTree = SDKROOT; };
59 9934F1B319303DC6005EF4AB /* CoreGraphics.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreGraphics.framework; path = System/Library/Frameworks/CoreGraphics.framework; sourceTree = SDKROOT; }; 59 9934F1B319303DC6005EF4AB /* CoreGraphics.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreGraphics.framework; path = System/Library/Frameworks/CoreGraphics.framework; sourceTree = SDKROOT; };
60 9934F1B519303DC6005EF4AB /* UIKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = UIKit.framework; path = System/Library/Frameworks/UIKit.framework; sourceTree = SDKROOT; }; 60 9934F1B519303DC6005EF4AB /* UIKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = UIKit.framework; path = System/Library/Frameworks/UIKit.framework; sourceTree = SDKROOT; };
61 9934F1B919303DC6005EF4AB /* letsgameDemo-Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = "letsgameDemo-Info.plist"; sourceTree = "<group>"; }; 61 9934F1B919303DC6005EF4AB /* letsgameDemo-Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = "letsgameDemo-Info.plist"; sourceTree = "<group>"; };
62 9934F1BD19303DC6005EF4AB /* main.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = "<group>"; }; 62 9934F1BD19303DC6005EF4AB /* main.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = "<group>"; };
63 9934F1BF19303DC6005EF4AB /* GameSDKDemo-Prefix.pch */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "GameSDKDemo-Prefix.pch"; sourceTree = "<group>"; }; 63 9934F1BF19303DC6005EF4AB /* GameSDKDemo-Prefix.pch */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "GameSDKDemo-Prefix.pch"; sourceTree = "<group>"; };
64 9934F1C019303DC6005EF4AB /* LSGAppDelegate.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = LSGAppDelegate.h; sourceTree = "<group>"; }; 64 9934F1C019303DC6005EF4AB /* LSGAppDelegate.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = LSGAppDelegate.h; sourceTree = "<group>"; };
65 9934F1C119303DC6005EF4AB /* LSGAppDelegate.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = LSGAppDelegate.m; sourceTree = "<group>"; }; 65 9934F1C119303DC6005EF4AB /* LSGAppDelegate.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = LSGAppDelegate.m; sourceTree = "<group>"; };
66 9934F1C319303DC6005EF4AB /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Images.xcassets; sourceTree = "<group>"; }; 66 9934F1C319303DC6005EF4AB /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Images.xcassets; sourceTree = "<group>"; };
67 9934F23819307153005EF4AB /* LSGMainViewController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = LSGMainViewController.h; sourceTree = "<group>"; }; 67 9934F23819307153005EF4AB /* LSGMainViewController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = LSGMainViewController.h; sourceTree = "<group>"; };
68 9934F23919307153005EF4AB /* LSGMainViewController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = LSGMainViewController.m; sourceTree = "<group>"; }; 68 9934F23919307153005EF4AB /* LSGMainViewController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = LSGMainViewController.m; sourceTree = "<group>"; };
69 997523271930A42500F50D29 /* CFNetwork.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CFNetwork.framework; path = System/Library/Frameworks/CFNetwork.framework; sourceTree = SDKROOT; }; 69 997523271930A42500F50D29 /* CFNetwork.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CFNetwork.framework; path = System/Library/Frameworks/CFNetwork.framework; sourceTree = SDKROOT; };
70 9975232F1930A50F00F50D29 /* SystemConfiguration.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = SystemConfiguration.framework; path = System/Library/Frameworks/SystemConfiguration.framework; sourceTree = SDKROOT; }; 70 9975232F1930A50F00F50D29 /* SystemConfiguration.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = SystemConfiguration.framework; path = System/Library/Frameworks/SystemConfiguration.framework; sourceTree = SDKROOT; };
71 997523311930A52600F50D29 /* MobileCoreServices.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = MobileCoreServices.framework; path = System/Library/Frameworks/MobileCoreServices.framework; sourceTree = SDKROOT; }; 71 997523311930A52600F50D29 /* MobileCoreServices.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = MobileCoreServices.framework; path = System/Library/Frameworks/MobileCoreServices.framework; sourceTree = SDKROOT; };
72 /* End PBXFileReference section */ 72 /* End PBXFileReference section */
73 73
74 /* Begin PBXFrameworksBuildPhase section */ 74 /* Begin PBXFrameworksBuildPhase section */
75 9934F1AB19303DC6005EF4AB /* Frameworks */ = { 75 9934F1AB19303DC6005EF4AB /* Frameworks */ = {
76 isa = PBXFrameworksBuildPhase; 76 isa = PBXFrameworksBuildPhase;
77 buildActionMask = 2147483647; 77 buildActionMask = 2147483647;
78 files = ( 78 files = (
79 997523301930A50F00F50D29 /* SystemConfiguration.framework in Frameworks */, 79 997523301930A50F00F50D29 /* SystemConfiguration.framework in Frameworks */,
80 75B72C931DAA423500CFACFF /* CoreTelephony.framework in Frameworks */, 80 75B72C931DAA423500CFACFF /* CoreTelephony.framework in Frameworks */,
81 75B72C911DAA422C00CFACFF /* MessageUI.framework in Frameworks */, 81 75B72C911DAA422C00CFACFF /* MessageUI.framework in Frameworks */,
82 75B72C8F1DAA422000CFACFF /* CoreBlue.framework in Frameworks */, 82 75B72C8F1DAA422000CFACFF /* CoreBlue.framework in Frameworks */,
83 331262371C50B56800B1B435 /* VKBridge.framework in Frameworks */, 83 331262371C50B56800B1B435 /* VKBridge.framework in Frameworks */,
84 3309D9791C438A5E00534E33 /* libz.1.2.5.tbd in Frameworks */, 84 3309D9791C438A5E00534E33 /* libz.1.2.5.tbd in Frameworks */,
85 3309D8551C312F6500534E33 /* QuartzCore.framework in Frameworks */, 85 3309D8551C312F6500534E33 /* QuartzCore.framework in Frameworks */,
86 3309D8531C312F5900534E33 /* StoreKit.framework in Frameworks */, 86 3309D8531C312F5900534E33 /* StoreKit.framework in Frameworks */,
87 752A5F4A1CDC8B3200C36131 /* GameSDK.framework in Frameworks */, 87 752A5F4A1CDC8B3200C36131 /* GameSDK.framework in Frameworks */,
88 997523321930A52600F50D29 /* MobileCoreServices.framework in Frameworks */, 88 997523321930A52600F50D29 /* MobileCoreServices.framework in Frameworks */,
89 3309D97F1C4394C800534E33 /* VKSdk.framework in Frameworks */, 89 3309D97F1C4394C800534E33 /* VKSdk.framework in Frameworks */,
90 997523281930A42500F50D29 /* CFNetwork.framework in Frameworks */, 90 997523281930A42500F50D29 /* CFNetwork.framework in Frameworks */,
91 9934F1B619303DC6005EF4AB /* UIKit.framework in Frameworks */, 91 9934F1B619303DC6005EF4AB /* UIKit.framework in Frameworks */,
92 9934F1B219303DC6005EF4AB /* Foundation.framework in Frameworks */, 92 9934F1B219303DC6005EF4AB /* Foundation.framework in Frameworks */,
93 ); 93 );
94 runOnlyForDeploymentPostprocessing = 0; 94 runOnlyForDeploymentPostprocessing = 0;
95 }; 95 };
96 /* End PBXFrameworksBuildPhase section */ 96 /* End PBXFrameworksBuildPhase section */
97 97
98 /* Begin PBXGroup section */ 98 /* Begin PBXGroup section */
99 27019DC91A208B1500DA560D /* Configuration */ = { 99 27019DC91A208B1500DA560D /* Configuration */ = {
100 isa = PBXGroup; 100 isa = PBXGroup;
101 children = ( 101 children = (
102 27019DCA1A208B1500DA560D /* Path.xcconfig */, 102 27019DCA1A208B1500DA560D /* Path.xcconfig */,
103 27019DCB1A208B1500DA560D /* Project.xcconfig */, 103 27019DCB1A208B1500DA560D /* Project.xcconfig */,
104 ); 104 );
105 path = Configuration; 105 path = Configuration;
106 sourceTree = "<group>"; 106 sourceTree = "<group>";
107 }; 107 };
108 27019DCE1A208B2300DA560D /* Dependencies */ = { 108 27019DCE1A208B2300DA560D /* Dependencies */ = {
109 isa = PBXGroup; 109 isa = PBXGroup;
110 children = ( 110 children = (
111 75D3C9081E71461E003AD81B /* GameSDK.xcodeproj */, 111 75843E3B1E779780002EC23F /* GameSDK.xcodeproj */,
112 ); 112 );
113 name = Dependencies; 113 name = Dependencies;
114 sourceTree = "<group>"; 114 sourceTree = "<group>";
115 }; 115 };
116 75D3C9091E71461E003AD81B /* Products */ = { 116 75843E3C1E779780002EC23F /* Products */ = {
117 isa = PBXGroup; 117 isa = PBXGroup;
118 children = ( 118 children = (
119 75D3C90E1E71461E003AD81B /* libGameSDK.a */, 119 75843E411E779780002EC23F /* libGameSDK.a */,
120 ); 120 );
121 name = Products; 121 name = Products;
122 sourceTree = "<group>"; 122 sourceTree = "<group>";
123 }; 123 };
124 9934F1A519303DC6005EF4AB = { 124 9934F1A519303DC6005EF4AB = {
125 isa = PBXGroup; 125 isa = PBXGroup;
126 children = ( 126 children = (
127 27019DC91A208B1500DA560D /* Configuration */, 127 27019DC91A208B1500DA560D /* Configuration */,
128 27019DCE1A208B2300DA560D /* Dependencies */, 128 27019DCE1A208B2300DA560D /* Dependencies */,
129 9934F1B719303DC6005EF4AB /* letsgameDemo */, 129 9934F1B719303DC6005EF4AB /* letsgameDemo */,
130 9934F1B019303DC6005EF4AB /* Frameworks */, 130 9934F1B019303DC6005EF4AB /* Frameworks */,
131 9934F1AF19303DC6005EF4AB /* Products */, 131 9934F1AF19303DC6005EF4AB /* Products */,
132 ); 132 );
133 sourceTree = "<group>"; 133 sourceTree = "<group>";
134 }; 134 };
135 9934F1AF19303DC6005EF4AB /* Products */ = { 135 9934F1AF19303DC6005EF4AB /* Products */ = {
136 isa = PBXGroup; 136 isa = PBXGroup;
137 children = ( 137 children = (
138 9934F1AE19303DC6005EF4AB /* GameSDKDemo.app */, 138 9934F1AE19303DC6005EF4AB /* GameSDKDemo.app */,
139 ); 139 );
140 name = Products; 140 name = Products;
141 sourceTree = "<group>"; 141 sourceTree = "<group>";
142 }; 142 };
143 9934F1B019303DC6005EF4AB /* Frameworks */ = { 143 9934F1B019303DC6005EF4AB /* Frameworks */ = {
144 isa = PBXGroup; 144 isa = PBXGroup;
145 children = ( 145 children = (
146 75B72C921DAA423500CFACFF /* CoreTelephony.framework */, 146 75B72C921DAA423500CFACFF /* CoreTelephony.framework */,
147 75B72C901DAA422C00CFACFF /* MessageUI.framework */, 147 75B72C901DAA422C00CFACFF /* MessageUI.framework */,
148 75B72C8E1DAA422000CFACFF /* CoreBlue.framework */, 148 75B72C8E1DAA422000CFACFF /* CoreBlue.framework */,
149 752A5F491CDC8B3200C36131 /* GameSDK.framework */, 149 752A5F491CDC8B3200C36131 /* GameSDK.framework */,
150 331262361C50B56800B1B435 /* VKBridge.framework */, 150 331262361C50B56800B1B435 /* VKBridge.framework */,
151 3309D97E1C4394C800534E33 /* VKSdk.framework */, 151 3309D97E1C4394C800534E33 /* VKSdk.framework */,
152 3309D9781C438A5E00534E33 /* libz.1.2.5.tbd */, 152 3309D9781C438A5E00534E33 /* libz.1.2.5.tbd */,
153 3309D8541C312F6500534E33 /* QuartzCore.framework */, 153 3309D8541C312F6500534E33 /* QuartzCore.framework */,
154 3309D8521C312F5900534E33 /* StoreKit.framework */, 154 3309D8521C312F5900534E33 /* StoreKit.framework */,
155 997523311930A52600F50D29 /* MobileCoreServices.framework */, 155 997523311930A52600F50D29 /* MobileCoreServices.framework */,
156 9975232F1930A50F00F50D29 /* SystemConfiguration.framework */, 156 9975232F1930A50F00F50D29 /* SystemConfiguration.framework */,
157 997523271930A42500F50D29 /* CFNetwork.framework */, 157 997523271930A42500F50D29 /* CFNetwork.framework */,
158 9934F1B119303DC6005EF4AB /* Foundation.framework */, 158 9934F1B119303DC6005EF4AB /* Foundation.framework */,
159 9934F1B319303DC6005EF4AB /* CoreGraphics.framework */, 159 9934F1B319303DC6005EF4AB /* CoreGraphics.framework */,
160 9934F1B519303DC6005EF4AB /* UIKit.framework */, 160 9934F1B519303DC6005EF4AB /* UIKit.framework */,
161 ); 161 );
162 name = Frameworks; 162 name = Frameworks;
163 sourceTree = "<group>"; 163 sourceTree = "<group>";
164 }; 164 };
165 9934F1B719303DC6005EF4AB /* letsgameDemo */ = { 165 9934F1B719303DC6005EF4AB /* letsgameDemo */ = {
166 isa = PBXGroup; 166 isa = PBXGroup;
167 children = ( 167 children = (
168 752A5F411CDC826A00C36131 /* GameSDKResources.bundle */, 168 752A5F411CDC826A00C36131 /* GameSDKResources.bundle */,
169 9934F1C319303DC6005EF4AB /* Images.xcassets */, 169 9934F1C319303DC6005EF4AB /* Images.xcassets */,
170 9934F1C019303DC6005EF4AB /* LSGAppDelegate.h */, 170 9934F1C019303DC6005EF4AB /* LSGAppDelegate.h */,
171 9934F1C119303DC6005EF4AB /* LSGAppDelegate.m */, 171 9934F1C119303DC6005EF4AB /* LSGAppDelegate.m */,
172 9934F23819307153005EF4AB /* LSGMainViewController.h */, 172 9934F23819307153005EF4AB /* LSGMainViewController.h */,
173 9934F23919307153005EF4AB /* LSGMainViewController.m */, 173 9934F23919307153005EF4AB /* LSGMainViewController.m */,
174 9934F1B819303DC6005EF4AB /* Supporting Files */, 174 9934F1B819303DC6005EF4AB /* Supporting Files */,
175 3CD53D9C1B81F37900E1B01A /* VKSdkResources.bundle */, 175 3CD53D9C1B81F37900E1B01A /* VKSdkResources.bundle */,
176 ); 176 );
177 path = letsgameDemo; 177 path = letsgameDemo;
178 sourceTree = "<group>"; 178 sourceTree = "<group>";
179 }; 179 };
180 9934F1B819303DC6005EF4AB /* Supporting Files */ = { 180 9934F1B819303DC6005EF4AB /* Supporting Files */ = {
181 isa = PBXGroup; 181 isa = PBXGroup;
182 children = ( 182 children = (
183 9934F1B919303DC6005EF4AB /* letsgameDemo-Info.plist */, 183 9934F1B919303DC6005EF4AB /* letsgameDemo-Info.plist */,
184 9934F1BD19303DC6005EF4AB /* main.m */, 184 9934F1BD19303DC6005EF4AB /* main.m */,
185 9934F1BF19303DC6005EF4AB /* GameSDKDemo-Prefix.pch */, 185 9934F1BF19303DC6005EF4AB /* GameSDKDemo-Prefix.pch */,
186 ); 186 );
187 name = "Supporting Files"; 187 name = "Supporting Files";
188 sourceTree = "<group>"; 188 sourceTree = "<group>";
189 }; 189 };
190 /* End PBXGroup section */ 190 /* End PBXGroup section */
191 191
192 /* Begin PBXNativeTarget section */ 192 /* Begin PBXNativeTarget section */
193 9934F1AD19303DC6005EF4AB /* GameSDKDemo */ = { 193 9934F1AD19303DC6005EF4AB /* GameSDKDemo */ = {
194 isa = PBXNativeTarget; 194 isa = PBXNativeTarget;
195 buildConfigurationList = 9934F1DA19303DC6005EF4AB /* Build configuration list for PBXNativeTarget "GameSDKDemo" */; 195 buildConfigurationList = 9934F1DA19303DC6005EF4AB /* Build configuration list for PBXNativeTarget "GameSDKDemo" */;
196 buildPhases = ( 196 buildPhases = (
197 9934F1AA19303DC6005EF4AB /* Sources */, 197 9934F1AA19303DC6005EF4AB /* Sources */,
198 9934F1AB19303DC6005EF4AB /* Frameworks */, 198 9934F1AB19303DC6005EF4AB /* Frameworks */,
199 9934F1AC19303DC6005EF4AB /* Resources */, 199 9934F1AC19303DC6005EF4AB /* Resources */,
200 ); 200 );
201 buildRules = ( 201 buildRules = (
202 ); 202 );
203 dependencies = ( 203 dependencies = (
204 ); 204 );
205 name = GameSDKDemo; 205 name = GameSDKDemo;
206 productName = letsgameDemo; 206 productName = letsgameDemo;
207 productReference = 9934F1AE19303DC6005EF4AB /* GameSDKDemo.app */; 207 productReference = 9934F1AE19303DC6005EF4AB /* GameSDKDemo.app */;
208 productType = "com.apple.product-type.application"; 208 productType = "com.apple.product-type.application";
209 }; 209 };
210 /* End PBXNativeTarget section */ 210 /* End PBXNativeTarget section */
211 211
212 /* Begin PBXProject section */ 212 /* Begin PBXProject section */
213 9934F1A619303DC6005EF4AB /* Project object */ = { 213 9934F1A619303DC6005EF4AB /* Project object */ = {
214 isa = PBXProject; 214 isa = PBXProject;
215 attributes = { 215 attributes = {
216 CLASSPREFIX = LSG; 216 CLASSPREFIX = LSG;
217 LastUpgradeCheck = 0710; 217 LastUpgradeCheck = 0710;
218 TargetAttributes = { 218 TargetAttributes = {
219 9934F1AD19303DC6005EF4AB = { 219 9934F1AD19303DC6005EF4AB = {
220 DevelopmentTeam = TU2VD6BENZ; 220 DevelopmentTeam = TU2VD6BENZ;
221 }; 221 };
222 }; 222 };
223 }; 223 };
224 buildConfigurationList = 9934F1A919303DC6005EF4AB /* Build configuration list for PBXProject "GameSDKDemo" */; 224 buildConfigurationList = 9934F1A919303DC6005EF4AB /* Build configuration list for PBXProject "GameSDKDemo" */;
225 compatibilityVersion = "Xcode 3.2"; 225 compatibilityVersion = "Xcode 3.2";
226 developmentRegion = English; 226 developmentRegion = English;
227 hasScannedForEncodings = 0; 227 hasScannedForEncodings = 0;
228 knownRegions = ( 228 knownRegions = (
229 en, 229 en,
230 ); 230 );
231 mainGroup = 9934F1A519303DC6005EF4AB; 231 mainGroup = 9934F1A519303DC6005EF4AB;
232 productRefGroup = 9934F1AF19303DC6005EF4AB /* Products */; 232 productRefGroup = 9934F1AF19303DC6005EF4AB /* Products */;
233 projectDirPath = ""; 233 projectDirPath = "";
234 projectReferences = ( 234 projectReferences = (
235 { 235 {
236 ProductGroup = 75D3C9091E71461E003AD81B /* Products */; 236 ProductGroup = 75843E3C1E779780002EC23F /* Products */;
237 ProjectRef = 75D3C9081E71461E003AD81B /* GameSDK.xcodeproj */; 237 ProjectRef = 75843E3B1E779780002EC23F /* GameSDK.xcodeproj */;
238 }, 238 },
239 ); 239 );
240 projectRoot = ""; 240 projectRoot = "";
241 targets = ( 241 targets = (
242 9934F1AD19303DC6005EF4AB /* GameSDKDemo */, 242 9934F1AD19303DC6005EF4AB /* GameSDKDemo */,
243 ); 243 );
244 }; 244 };
245 /* End PBXProject section */ 245 /* End PBXProject section */
246 246
247 /* Begin PBXReferenceProxy section */ 247 /* Begin PBXReferenceProxy section */
248 75D3C90E1E71461E003AD81B /* libGameSDK.a */ = { 248 75843E411E779780002EC23F /* libGameSDK.a */ = {
249 isa = PBXReferenceProxy; 249 isa = PBXReferenceProxy;
250 fileType = archive.ar; 250 fileType = archive.ar;
251 path = libGameSDK.a; 251 path = libGameSDK.a;
252 remoteRef = 75D3C90D1E71461E003AD81B /* PBXContainerItemProxy */; 252 remoteRef = 75843E401E779780002EC23F /* PBXContainerItemProxy */;
253 sourceTree = BUILT_PRODUCTS_DIR; 253 sourceTree = BUILT_PRODUCTS_DIR;
254 }; 254 };
255 /* End PBXReferenceProxy section */ 255 /* End PBXReferenceProxy section */
256 256
257 /* Begin PBXResourcesBuildPhase section */ 257 /* Begin PBXResourcesBuildPhase section */
258 9934F1AC19303DC6005EF4AB /* Resources */ = { 258 9934F1AC19303DC6005EF4AB /* Resources */ = {
259 isa = PBXResourcesBuildPhase; 259 isa = PBXResourcesBuildPhase;
260 buildActionMask = 2147483647; 260 buildActionMask = 2147483647;
261 files = ( 261 files = (
262 3CD53D9D1B81F37900E1B01A /* VKSdkResources.bundle in Resources */, 262 3CD53D9D1B81F37900E1B01A /* VKSdkResources.bundle in Resources */,
263 752A5F421CDC826A00C36131 /* GameSDKResources.bundle in Resources */, 263 752A5F421CDC826A00C36131 /* GameSDKResources.bundle in Resources */,
264 9934F1C419303DC6005EF4AB /* Images.xcassets in Resources */, 264 9934F1C419303DC6005EF4AB /* Images.xcassets in Resources */,
265 ); 265 );
266 runOnlyForDeploymentPostprocessing = 0; 266 runOnlyForDeploymentPostprocessing = 0;
267 }; 267 };
268 /* End PBXResourcesBuildPhase section */ 268 /* End PBXResourcesBuildPhase section */
269 269
270 /* Begin PBXSourcesBuildPhase section */ 270 /* Begin PBXSourcesBuildPhase section */
271 9934F1AA19303DC6005EF4AB /* Sources */ = { 271 9934F1AA19303DC6005EF4AB /* Sources */ = {
272 isa = PBXSourcesBuildPhase; 272 isa = PBXSourcesBuildPhase;
273 buildActionMask = 2147483647; 273 buildActionMask = 2147483647;
274 files = ( 274 files = (
275 9934F1BE19303DC6005EF4AB /* main.m in Sources */, 275 9934F1BE19303DC6005EF4AB /* main.m in Sources */,
276 9934F1C219303DC6005EF4AB /* LSGAppDelegate.m in Sources */, 276 9934F1C219303DC6005EF4AB /* LSGAppDelegate.m in Sources */,
277 9934F23A19307153005EF4AB /* LSGMainViewController.m in Sources */, 277 9934F23A19307153005EF4AB /* LSGMainViewController.m in Sources */,
278 ); 278 );
279 runOnlyForDeploymentPostprocessing = 0; 279 runOnlyForDeploymentPostprocessing = 0;
280 }; 280 };
281 /* End PBXSourcesBuildPhase section */ 281 /* End PBXSourcesBuildPhase section */
282 282
283 /* Begin XCBuildConfiguration section */ 283 /* Begin XCBuildConfiguration section */
284 9934F1D819303DC6005EF4AB /* Debug */ = { 284 9934F1D819303DC6005EF4AB /* Debug */ = {
285 isa = XCBuildConfiguration; 285 isa = XCBuildConfiguration;
286 buildSettings = { 286 buildSettings = {
287 ALWAYS_SEARCH_USER_PATHS = YES; 287 ALWAYS_SEARCH_USER_PATHS = YES;
288 CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 288 CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
289 CLANG_CXX_LIBRARY = "libc++"; 289 CLANG_CXX_LIBRARY = "libc++";
290 CLANG_ENABLE_MODULES = YES; 290 CLANG_ENABLE_MODULES = YES;
291 CLANG_ENABLE_OBJC_ARC = YES; 291 CLANG_ENABLE_OBJC_ARC = YES;
292 CLANG_WARN_BOOL_CONVERSION = YES; 292 CLANG_WARN_BOOL_CONVERSION = YES;
293 CLANG_WARN_CONSTANT_CONVERSION = YES; 293 CLANG_WARN_CONSTANT_CONVERSION = YES;
294 CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 294 CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
295 CLANG_WARN_EMPTY_BODY = YES; 295 CLANG_WARN_EMPTY_BODY = YES;
296 CLANG_WARN_ENUM_CONVERSION = YES; 296 CLANG_WARN_ENUM_CONVERSION = YES;
297 CLANG_WARN_INT_CONVERSION = YES; 297 CLANG_WARN_INT_CONVERSION = YES;
298 CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 298 CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
299 CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 299 CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
300 "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 300 "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
301 COPY_PHASE_STRIP = YES; 301 COPY_PHASE_STRIP = YES;
302 ENABLE_TESTABILITY = YES; 302 ENABLE_TESTABILITY = YES;
303 GCC_C_LANGUAGE_STANDARD = gnu99; 303 GCC_C_LANGUAGE_STANDARD = gnu99;
304 GCC_DYNAMIC_NO_PIC = NO; 304 GCC_DYNAMIC_NO_PIC = NO;
305 GCC_OPTIMIZATION_LEVEL = 0; 305 GCC_OPTIMIZATION_LEVEL = 0;
306 GCC_PREPROCESSOR_DEFINITIONS = ( 306 GCC_PREPROCESSOR_DEFINITIONS = (
307 "DEBUG=1", 307 "DEBUG=1",
308 "$(inherited)", 308 "$(inherited)",
309 ); 309 );
310 GCC_SYMBOLS_PRIVATE_EXTERN = NO; 310 GCC_SYMBOLS_PRIVATE_EXTERN = NO;
311 GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 311 GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
312 GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 312 GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
313 GCC_WARN_UNDECLARED_SELECTOR = YES; 313 GCC_WARN_UNDECLARED_SELECTOR = YES;
314 GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 314 GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
315 GCC_WARN_UNUSED_FUNCTION = YES; 315 GCC_WARN_UNUSED_FUNCTION = YES;
316 GCC_WARN_UNUSED_VARIABLE = YES; 316 GCC_WARN_UNUSED_VARIABLE = YES;
317 HEADER_SEARCH_PATHS = "$(PROJECT_DIR)/**"; 317 HEADER_SEARCH_PATHS = "$(PROJECT_DIR)/**";
318 IPHONEOS_DEPLOYMENT_TARGET = 8.4; 318 IPHONEOS_DEPLOYMENT_TARGET = 8.4;
319 ONLY_ACTIVE_ARCH = YES; 319 ONLY_ACTIVE_ARCH = YES;
320 SDKROOT = iphoneos; 320 SDKROOT = iphoneos;
321 }; 321 };
322 name = Debug; 322 name = Debug;
323 }; 323 };
324 9934F1D919303DC6005EF4AB /* Release */ = { 324 9934F1D919303DC6005EF4AB /* Release */ = {
325 isa = XCBuildConfiguration; 325 isa = XCBuildConfiguration;
326 buildSettings = { 326 buildSettings = {
327 ALWAYS_SEARCH_USER_PATHS = YES; 327 ALWAYS_SEARCH_USER_PATHS = YES;
328 CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 328 CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
329 CLANG_CXX_LIBRARY = "libc++"; 329 CLANG_CXX_LIBRARY = "libc++";
330 CLANG_ENABLE_MODULES = YES; 330 CLANG_ENABLE_MODULES = YES;
331 CLANG_ENABLE_OBJC_ARC = YES; 331 CLANG_ENABLE_OBJC_ARC = YES;
332 CLANG_WARN_BOOL_CONVERSION = YES; 332 CLANG_WARN_BOOL_CONVERSION = YES;
333 CLANG_WARN_CONSTANT_CONVERSION = YES; 333 CLANG_WARN_CONSTANT_CONVERSION = YES;
334 CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 334 CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
335 CLANG_WARN_EMPTY_BODY = YES; 335 CLANG_WARN_EMPTY_BODY = YES;
336 CLANG_WARN_ENUM_CONVERSION = YES; 336 CLANG_WARN_ENUM_CONVERSION = YES;
337 CLANG_WARN_INT_CONVERSION = YES; 337 CLANG_WARN_INT_CONVERSION = YES;
338 CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 338 CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
339 CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 339 CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
340 "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 340 "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
341 COPY_PHASE_STRIP = YES; 341 COPY_PHASE_STRIP = YES;
342 ENABLE_NS_ASSERTIONS = NO; 342 ENABLE_NS_ASSERTIONS = NO;
343 GCC_C_LANGUAGE_STANDARD = gnu99; 343 GCC_C_LANGUAGE_STANDARD = gnu99;
344 GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 344 GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
345 GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 345 GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
346 GCC_WARN_UNDECLARED_SELECTOR = YES; 346 GCC_WARN_UNDECLARED_SELECTOR = YES;
347 GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 347 GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
348 GCC_WARN_UNUSED_FUNCTION = YES; 348 GCC_WARN_UNUSED_FUNCTION = YES;
349 GCC_WARN_UNUSED_VARIABLE = YES; 349 GCC_WARN_UNUSED_VARIABLE = YES;
350 HEADER_SEARCH_PATHS = "$(PROJECT_DIR)/**"; 350 HEADER_SEARCH_PATHS = "$(PROJECT_DIR)/**";
351 IPHONEOS_DEPLOYMENT_TARGET = 8.4; 351 IPHONEOS_DEPLOYMENT_TARGET = 8.4;
352 ONLY_ACTIVE_ARCH = YES; 352 ONLY_ACTIVE_ARCH = YES;
353 SDKROOT = iphoneos; 353 SDKROOT = iphoneos;
354 VALIDATE_PRODUCT = YES; 354 VALIDATE_PRODUCT = YES;
355 }; 355 };
356 name = Release; 356 name = Release;
357 }; 357 };
358 9934F1DB19303DC6005EF4AB /* Debug */ = { 358 9934F1DB19303DC6005EF4AB /* Debug */ = {
359 isa = XCBuildConfiguration; 359 isa = XCBuildConfiguration;
360 baseConfigurationReference = 27019DCB1A208B1500DA560D /* Project.xcconfig */; 360 baseConfigurationReference = 27019DCB1A208B1500DA560D /* Project.xcconfig */;
361 buildSettings = { 361 buildSettings = {
362 ALWAYS_SEARCH_USER_PATHS = YES; 362 ALWAYS_SEARCH_USER_PATHS = YES;
363 ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 363 ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
364 ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME = LaunchImage; 364 ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME = LaunchImage;
365 CODE_SIGN_IDENTITY = "iPhone Developer"; 365 CODE_SIGN_IDENTITY = "iPhone Developer";
366 "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 366 "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
367 DEVELOPMENT_TEAM = TU2VD6BENZ; 367 DEVELOPMENT_TEAM = TU2VD6BENZ;
368 ENABLE_BITCODE = NO; 368 ENABLE_BITCODE = NO;
369 FRAMEWORK_SEARCH_PATHS = ( 369 FRAMEWORK_SEARCH_PATHS = (
370 "$(PROJECT_DIR)/../**", 370 "$(PROJECT_DIR)/../**",
371 "$(PROJECT_DIR)/letsgameDemo", 371 "$(PROJECT_DIR)/letsgameDemo",
372 ); 372 );
373 GCC_PRECOMPILE_PREFIX_HEADER = YES; 373 GCC_PRECOMPILE_PREFIX_HEADER = YES;
374 GCC_PREFIX_HEADER = "letsgameDemo/GameSDKDemo-Prefix.pch"; 374 GCC_PREFIX_HEADER = "letsgameDemo/GameSDKDemo-Prefix.pch";
375 HEADER_SEARCH_PATHS = ( 375 HEADER_SEARCH_PATHS = (
376 "$(PROJECT_DIR)/../GameSDK.framework/**", 376 "$(PROJECT_DIR)/../GameSDK.framework/**",
377 "$(inherited)", 377 "$(inherited)",
378 "$(PROJECT_DIR)/letsgameDemo/**", 378 "$(PROJECT_DIR)/letsgameDemo/**",
379 "$(PROJECT_DIR)/../VKBridge.framework/**", 379 "$(PROJECT_DIR)/../VKBridge.framework/**",
380 ); 380 );
381 INFOPLIST_FILE = "letsgameDemo/letsgameDemo-Info.plist"; 381 INFOPLIST_FILE = "letsgameDemo/letsgameDemo-Info.plist";
382 IPHONEOS_DEPLOYMENT_TARGET = 7.0; 382 IPHONEOS_DEPLOYMENT_TARGET = 7.0;
383 LIBRARY_SEARCH_PATHS = ""; 383 LIBRARY_SEARCH_PATHS = "";
384 ONLY_ACTIVE_ARCH = YES; 384 ONLY_ACTIVE_ARCH = YES;
385 PRIVATE_HEADERS_FOLDER_PATH = ""; 385 PRIVATE_HEADERS_FOLDER_PATH = "";
386 PRODUCT_BUNDLE_IDENTIFIER = test.kang.purchase; 386 PRODUCT_BUNDLE_IDENTIFIER = test.kang.purchase;
387 PRODUCT_NAME = GameSDKDemo; 387 PRODUCT_NAME = GameSDKDemo;
388 PROVISIONING_PROFILE = "9a16d1a8-62c4-4ddd-a173-5ea852773122"; 388 PROVISIONING_PROFILE = "9a16d1a8-62c4-4ddd-a173-5ea852773122";
389 PROVISIONING_PROFILE_SPECIFIER = testpurchaseDev; 389 PROVISIONING_PROFILE_SPECIFIER = testpurchaseDev;
390 PUBLIC_HEADERS_FOLDER_PATH = ""; 390 PUBLIC_HEADERS_FOLDER_PATH = "";
391 WRAPPER_EXTENSION = app; 391 WRAPPER_EXTENSION = app;
392 }; 392 };
393 name = Debug; 393 name = Debug;
394 }; 394 };
395 9934F1DC19303DC6005EF4AB /* Release */ = { 395 9934F1DC19303DC6005EF4AB /* Release */ = {
396 isa = XCBuildConfiguration; 396 isa = XCBuildConfiguration;
397 baseConfigurationReference = 27019DCB1A208B1500DA560D /* Project.xcconfig */; 397 baseConfigurationReference = 27019DCB1A208B1500DA560D /* Project.xcconfig */;
398 buildSettings = { 398 buildSettings = {
399 ALWAYS_SEARCH_USER_PATHS = YES; 399 ALWAYS_SEARCH_USER_PATHS = YES;
400 ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 400 ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
401 ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME = LaunchImage; 401 ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME = LaunchImage;
402 CODE_SIGN_IDENTITY = "iPhone Developer"; 402 CODE_SIGN_IDENTITY = "iPhone Developer";
403 "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Distribution"; 403 "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Distribution";
404 DEVELOPMENT_TEAM = TU2VD6BENZ; 404 DEVELOPMENT_TEAM = TU2VD6BENZ;
405 ENABLE_BITCODE = NO; 405 ENABLE_BITCODE = NO;
406 FRAMEWORK_SEARCH_PATHS = ( 406 FRAMEWORK_SEARCH_PATHS = (
407 "$(PROJECT_DIR)/../**", 407 "$(PROJECT_DIR)/../**",
408 "$(PROJECT_DIR)/letsgameDemo", 408 "$(PROJECT_DIR)/letsgameDemo",
409 ); 409 );
410 GCC_PRECOMPILE_PREFIX_HEADER = YES; 410 GCC_PRECOMPILE_PREFIX_HEADER = YES;
411 GCC_PREFIX_HEADER = "letsgameDemo/GameSDKDemo-Prefix.pch"; 411 GCC_PREFIX_HEADER = "letsgameDemo/GameSDKDemo-Prefix.pch";
412 HEADER_SEARCH_PATHS = ( 412 HEADER_SEARCH_PATHS = (
413 "$(PROJECT_DIR)/../GameSDK.framework/**", 413 "$(PROJECT_DIR)/../GameSDK.framework/**",
414 "$(inherited)", 414 "$(inherited)",
415 "$(PROJECT_DIR)/letsgameDemo/**", 415 "$(PROJECT_DIR)/letsgameDemo/**",
416 "$(PROJECT_DIR)/../VKBridge.framework/**", 416 "$(PROJECT_DIR)/../VKBridge.framework/**",
417 ); 417 );
418 INFOPLIST_FILE = "letsgameDemo/letsgameDemo-Info.plist"; 418 INFOPLIST_FILE = "letsgameDemo/letsgameDemo-Info.plist";
419 IPHONEOS_DEPLOYMENT_TARGET = 7.0; 419 IPHONEOS_DEPLOYMENT_TARGET = 7.0;
420 LIBRARY_SEARCH_PATHS = ""; 420 LIBRARY_SEARCH_PATHS = "";
421 ONLY_ACTIVE_ARCH = YES; 421 ONLY_ACTIVE_ARCH = YES;
422 PRIVATE_HEADERS_FOLDER_PATH = ""; 422 PRIVATE_HEADERS_FOLDER_PATH = "";
423 PRODUCT_BUNDLE_IDENTIFIER = test.kang.purchase; 423 PRODUCT_BUNDLE_IDENTIFIER = test.kang.purchase;
424 PRODUCT_NAME = GameSDKDemo; 424 PRODUCT_NAME = GameSDKDemo;
425 PROVISIONING_PROFILE = "7b28fefe-7c60-41a6-ac6c-b21726228700"; 425 PROVISIONING_PROFILE = "7b28fefe-7c60-41a6-ac6c-b21726228700";
426 PROVISIONING_PROFILE_SPECIFIER = testpurchasekang; 426 PROVISIONING_PROFILE_SPECIFIER = testpurchasekang;
427 PUBLIC_HEADERS_FOLDER_PATH = ""; 427 PUBLIC_HEADERS_FOLDER_PATH = "";
428 WRAPPER_EXTENSION = app; 428 WRAPPER_EXTENSION = app;
429 }; 429 };
430 name = Release; 430 name = Release;
431 }; 431 };
432 /* End XCBuildConfiguration section */ 432 /* End XCBuildConfiguration section */
433 433
434 /* Begin XCConfigurationList section */ 434 /* Begin XCConfigurationList section */
435 9934F1A919303DC6005EF4AB /* Build configuration list for PBXProject "GameSDKDemo" */ = { 435 9934F1A919303DC6005EF4AB /* Build configuration list for PBXProject "GameSDKDemo" */ = {
436 isa = XCConfigurationList; 436 isa = XCConfigurationList;
437 buildConfigurations = ( 437 buildConfigurations = (
438 9934F1D819303DC6005EF4AB /* Debug */, 438 9934F1D819303DC6005EF4AB /* Debug */,
439 9934F1D919303DC6005EF4AB /* Release */, 439 9934F1D919303DC6005EF4AB /* Release */,
440 ); 440 );
441 defaultConfigurationIsVisible = 0; 441 defaultConfigurationIsVisible = 0;
442 defaultConfigurationName = Release; 442 defaultConfigurationName = Release;
443 }; 443 };
444 9934F1DA19303DC6005EF4AB /* Build configuration list for PBXNativeTarget "GameSDKDemo" */ = { 444 9934F1DA19303DC6005EF4AB /* Build configuration list for PBXNativeTarget "GameSDKDemo" */ = {
445 isa = XCConfigurationList; 445 isa = XCConfigurationList;
446 buildConfigurations = ( 446 buildConfigurations = (
447 9934F1DB19303DC6005EF4AB /* Debug */, 447 9934F1DB19303DC6005EF4AB /* Debug */,
448 9934F1DC19303DC6005EF4AB /* Release */, 448 9934F1DC19303DC6005EF4AB /* Release */,
449 ); 449 );
450 defaultConfigurationIsVisible = 0; 450 defaultConfigurationIsVisible = 0;
451 defaultConfigurationName = Release; 451 defaultConfigurationName = Release;
452 }; 452 };
453 /* End XCConfigurationList section */ 453 /* End XCConfigurationList section */
454 }; 454 };
455 rootObject = 9934F1A619303DC6005EF4AB /* Project object */; 455 rootObject = 9934F1A619303DC6005EF4AB /* Project object */;
456 } 456 }
ios/GameSDKDemo/GameSDKDemo.xcodeproj/project.xcworkspace/xcshareddata/GameSDKDemo.xcscmblueprint
1 { 1 {
2 "DVTSourceControlWorkspaceBlueprintPrimaryRemoteRepositoryKey" : "D5E238D0ED0F802759CC8DDF3F39B0D0BFF728D8", 2 "DVTSourceControlWorkspaceBlueprintPrimaryRemoteRepositoryKey" : "D5E238D0ED0F802759CC8DDF3F39B0D0BFF728D8",
3 "DVTSourceControlWorkspaceBlueprintWorkingCopyRepositoryLocationsKey" : { 3 "DVTSourceControlWorkspaceBlueprintWorkingCopyRepositoryLocationsKey" : {
4 4
5 }, 5 },
6 "DVTSourceControlWorkspaceBlueprintWorkingCopyStatesKey" : { 6 "DVTSourceControlWorkspaceBlueprintWorkingCopyStatesKey" : {
7 "07E954432ED0A61BEECC8FB6AAE1417682E93D30" : 0, 7 "07E954432ED0A61BEECC8FB6AAE1417682E93D30" : 0,
8 "8A7E653E5A6F45691CAAAE0CEF6C9451763A2597" : 0, 8 "8A7E653E5A6F45691CAAAE0CEF6C9451763A2597" : 0,
9 "D5E238D0ED0F802759CC8DDF3F39B0D0BFF728D8" : 0, 9 "D5E238D0ED0F802759CC8DDF3F39B0D0BFF728D8" : 0,
10 "077D999F6C967446D3AED3B840BC4A4A39445F65" : 0 10 "077D999F6C967446D3AED3B840BC4A4A39445F65" : 0
11 }, 11 },
12 "DVTSourceControlWorkspaceBlueprintIdentifierKey" : "78D6FFA8-F006-44FC-8C5D-0202F1346AE0", 12 "DVTSourceControlWorkspaceBlueprintIdentifierKey" : "78D6FFA8-F006-44FC-8C5D-0202F1346AE0",
13 "DVTSourceControlWorkspaceBlueprintWorkingCopyPathsKey" : { 13 "DVTSourceControlWorkspaceBlueprintWorkingCopyPathsKey" : {
14 "07E954432ED0A61BEECC8FB6AAE1417682E93D30" : "vkbridge\/", 14 "07E954432ED0A61BEECC8FB6AAE1417682E93D30" : "vkbridge\/",
15 "8A7E653E5A6F45691CAAAE0CEF6C9451763A2597" : "gumptech-document\/", 15 "8A7E653E5A6F45691CAAAE0CEF6C9451763A2597" : "gumptech-document\/",
16 "D5E238D0ED0F802759CC8DDF3F39B0D0BFF728D8" : "gumpGameDemo\/", 16 "D5E238D0ED0F802759CC8DDF3F39B0D0BFF728D8" : "gamesdk-iosrelease\/",
17 "077D999F6C967446D3AED3B840BC4A4A39445F65" : "GameSDKRelease\/" 17 "077D999F6C967446D3AED3B840BC4A4A39445F65" : "GameSDKRelease\/"
18 }, 18 },
19 "DVTSourceControlWorkspaceBlueprintNameKey" : "GameSDKDemo", 19 "DVTSourceControlWorkspaceBlueprintNameKey" : "GameSDKDemo",
20 "DVTSourceControlWorkspaceBlueprintVersion" : 204, 20 "DVTSourceControlWorkspaceBlueprintVersion" : 204,
21 "DVTSourceControlWorkspaceBlueprintRelativePathToProjectKey" : "ios\/GameSDKDemo\/GameSDKDemo.xcodeproj", 21 "DVTSourceControlWorkspaceBlueprintRelativePathToProjectKey" : "ios\/GameSDKDemo\/GameSDKDemo.xcodeproj",
22 "DVTSourceControlWorkspaceBlueprintRemoteRepositoriesKey" : [ 22 "DVTSourceControlWorkspaceBlueprintRemoteRepositoriesKey" : [
23 { 23 {
24 "DVTSourceControlWorkspaceBlueprintRemoteRepositoryURLKey" : "http:\/\/123.59.74.8:81\/ios\/iosgamesdk.git", 24 "DVTSourceControlWorkspaceBlueprintRemoteRepositoryURLKey" : "http:\/\/123.59.74.8:81\/ios\/iosgamesdk.git",
25 "DVTSourceControlWorkspaceBlueprintRemoteRepositorySystemKey" : "com.apple.dt.Xcode.sourcecontrol.Git", 25 "DVTSourceControlWorkspaceBlueprintRemoteRepositorySystemKey" : "com.apple.dt.Xcode.sourcecontrol.Git",
26 "DVTSourceControlWorkspaceBlueprintRemoteRepositoryIdentifierKey" : "077D999F6C967446D3AED3B840BC4A4A39445F65" 26 "DVTSourceControlWorkspaceBlueprintRemoteRepositoryIdentifierKey" : "077D999F6C967446D3AED3B840BC4A4A39445F65"
27 }, 27 },
28 { 28 {
29 "DVTSourceControlWorkspaceBlueprintRemoteRepositoryURLKey" : "http:\/\/123.59.74.8:81\/ios\/vkbridge.git", 29 "DVTSourceControlWorkspaceBlueprintRemoteRepositoryURLKey" : "http:\/\/123.59.74.8:81\/ios\/vkbridge.git",
30 "DVTSourceControlWorkspaceBlueprintRemoteRepositorySystemKey" : "com.apple.dt.Xcode.sourcecontrol.Git", 30 "DVTSourceControlWorkspaceBlueprintRemoteRepositorySystemKey" : "com.apple.dt.Xcode.sourcecontrol.Git",
31 "DVTSourceControlWorkspaceBlueprintRemoteRepositoryIdentifierKey" : "07E954432ED0A61BEECC8FB6AAE1417682E93D30" 31 "DVTSourceControlWorkspaceBlueprintRemoteRepositoryIdentifierKey" : "07E954432ED0A61BEECC8FB6AAE1417682E93D30"
32 }, 32 },
33 { 33 {
34 "DVTSourceControlWorkspaceBlueprintRemoteRepositoryURLKey" : "http:\/\/123.59.74.8\/document\/gumptech-document.git", 34 "DVTSourceControlWorkspaceBlueprintRemoteRepositoryURLKey" : "http:\/\/123.59.74.8\/document\/gumptech-document.git",
35 "DVTSourceControlWorkspaceBlueprintRemoteRepositorySystemKey" : "com.apple.dt.Xcode.sourcecontrol.Git", 35 "DVTSourceControlWorkspaceBlueprintRemoteRepositorySystemKey" : "com.apple.dt.Xcode.sourcecontrol.Git",
36 "DVTSourceControlWorkspaceBlueprintRemoteRepositoryIdentifierKey" : "8A7E653E5A6F45691CAAAE0CEF6C9451763A2597" 36 "DVTSourceControlWorkspaceBlueprintRemoteRepositoryIdentifierKey" : "8A7E653E5A6F45691CAAAE0CEF6C9451763A2597"
37 }, 37 },
38 { 38 {
39 "DVTSourceControlWorkspaceBlueprintRemoteRepositoryURLKey" : "123.59.74.8:document\/gamesdk-ios.git", 39 "DVTSourceControlWorkspaceBlueprintRemoteRepositoryURLKey" : "123.59.74.8:document\/gamesdk-ios.git",
40 "DVTSourceControlWorkspaceBlueprintRemoteRepositorySystemKey" : "com.apple.dt.Xcode.sourcecontrol.Git", 40 "DVTSourceControlWorkspaceBlueprintRemoteRepositorySystemKey" : "com.apple.dt.Xcode.sourcecontrol.Git",
41 "DVTSourceControlWorkspaceBlueprintRemoteRepositoryIdentifierKey" : "D5E238D0ED0F802759CC8DDF3F39B0D0BFF728D8" 41 "DVTSourceControlWorkspaceBlueprintRemoteRepositoryIdentifierKey" : "D5E238D0ED0F802759CC8DDF3F39B0D0BFF728D8"
42 } 42 }
43 ] 43 ]
44 } 44 }
ios/GameSDKDemo/GameSDKDemo.xcodeproj/project.xcworkspace/xcuserdata/yanglele.xcuserdatad/UserInterfaceState.xcuserstate
No preview for this file type
ios/GameSDKDemo/letsgameDemo/LSGAppDelegate.m
1 // 1 //
2 // LSGAppDelegate.m 2 // LSGAppDelegate.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 "LSGAppDelegate.h" 9 #import "LSGAppDelegate.h"
10 #import "LSGMainViewController.h" 10 #import "LSGMainViewController.h"
11 #import "LetsGameAPI.h" 11 #import "LetsGameAPI.h"
12 12
13 @implementation LSGAppDelegate 13 @implementation LSGAppDelegate
14 14
15 - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions 15 - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
16 { 16 {
17 self.window = [[UIWindow alloc] initWithFrame:[[UIScreen mainScreen] bounds]]; 17 self.window = [[UIWindow alloc] initWithFrame:[[UIScreen mainScreen] bounds]];
18 18
19 LSGMainViewController *viewController = [[LSGMainViewController alloc] init]; 19 LSGMainViewController *viewController = [[LSGMainViewController alloc] init];
20 self.window.rootViewController = viewController; 20 self.window.rootViewController = viewController;
21 [self.window addSubview:viewController.view]; 21 [self.window addSubview:viewController.view];
22 22
23 self.window.backgroundColor = [UIColor whiteColor]; 23 self.window.backgroundColor = [UIColor whiteColor];
24 [self.window makeKeyAndVisible]; 24 [self.window makeKeyAndVisible];
25
26 //显示是否侵权的接口
27 [[LetsGameAPI instance] decideIsDebug:1];
28 [[LetsGameAPI instance] gameObtainSafeSetInfoWithAppId:@"10056" ChannelId:@"1000" handleCallBack:^(BOOL resultStatus) {
29 if (resultStatus) {
30 NSLog(@"YES 侵权");
31 }else{
32 NSLog(@"NO 不侵权");
33 }
34 }];
35
25 [[UIApplication sharedApplication] setStatusBarHidden:YES]; 36 [[UIApplication sharedApplication] setStatusBarHidden:YES];
26 [[LetsGameAPI instance] registeIapObserver]; 37 [[LetsGameAPI instance] registeIapObserver];
27 38
39
28 return YES; 40 return YES;
29 } 41 }
30 42
31 - (void)applicationWillResignActive:(UIApplication *)application 43 - (void)applicationWillResignActive:(UIApplication *)application
32 { 44 {
33 // Sent when the application is about to move from active to inactive state. This can occur for certain types of temporary interruptions (such as an incoming phone call or SMS message) or when the user quits the application and it begins the transition to the background state. 45 // Sent when the application is about to move from active to inactive state. This can occur for certain types of temporary interruptions (such as an incoming phone call or SMS message) or when the user quits the application and it begins the transition to the background state.
34 // Use this method to pause ongoing tasks, disable timers, and throttle down OpenGL ES frame rates. Games should use this method to pause the game. 46 // Use this method to pause ongoing tasks, disable timers, and throttle down OpenGL ES frame rates. Games should use this method to pause the game.
35 } 47 }
36 48
37 - (void)applicationDidEnterBackground:(UIApplication *)application 49 - (void)applicationDidEnterBackground:(UIApplication *)application
38 { 50 {
39 // Use this method to release shared resources, save user data, invalidate timers, and store enough application state information to restore your application to its current state in case it is terminated later. 51 // Use this method to release shared resources, save user data, invalidate timers, and store enough application state information to restore your application to its current state in case it is terminated later.
40 // If your application supports background execution, this method is called instead of applicationWillTerminate: when the user quits. 52 // If your application supports background execution, this method is called instead of applicationWillTerminate: when the user quits.
41 } 53 }
42 54
43 - (void)applicationWillEnterForeground:(UIApplication *)application 55 - (void)applicationWillEnterForeground:(UIApplication *)application
44 { 56 {
45 // Called as part of the transition from the background to the inactive state; here you can undo many of the changes made on entering the background. 57 // Called as part of the transition from the background to the inactive state; here you can undo many of the changes made on entering the background.
46 } 58 }
47 59
48 -(BOOL)application:(UIApplication *)application openURL:(NSURL *)url sourceApplication:(NSString *)sourceApplication annotation:(id)annotation{ 60 -(BOOL)application:(UIApplication *)application openURL:(NSURL *)url sourceApplication:(NSString *)sourceApplication annotation:(id)annotation{
49 return [[LetsGameAPI instance] handleOpenURL:url sourceApplication:sourceApplication]; 61 return [[LetsGameAPI instance] handleOpenURL:url sourceApplication:sourceApplication];
50 //return [[LetsGameAPI instance].vkBridge processOpenURL:url fromApplication:sourceApplication]; 62 //return [[LetsGameAPI instance].vkBridge processOpenURL:url fromApplication:sourceApplication];
51 } 63 }
52 64
53 65
54 @end 66 @end
55 67
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 19
20 @property(nonatomic,copy) NSString *sessionKey; 20 @property(nonatomic,copy) NSString *sessionKey;
21 @end 21 @end
22 22
23 @implementation LSGMainViewController 23 @implementation LSGMainViewController
24 24
25 - (void)loadView { 25 - (void)loadView {
26 [super loadView]; 26 [super loadView];
27 NSLog(@"i come in"); 27 NSLog(@"i come in");
28 self.view.backgroundColor = [UIColor whiteColor]; 28 self.view.backgroundColor = [UIColor whiteColor];
29 // self.view.backgroundColor = [UIColor blackColor]; 29 // self.view.backgroundColor = [UIColor blackColor];
30 30
31 UIButton *btn = [[UIButton alloc] initWithFrame:CGRectMake(110, 40, 100, 30)]; 31 UIButton *btn = [[UIButton alloc] initWithFrame:CGRectMake(110, 40, 100, 30)];
32 btn.backgroundColor = [UIColor orangeColor]; 32 btn.backgroundColor = [UIColor orangeColor];
33 [btn setTitle:@"测试入口" forState:UIControlStateNormal]; 33 [btn setTitle:@"测试入口" forState:UIControlStateNormal];
34 [btn setTitleColor:[UIColor whiteColor] forState:UIControlStateNormal]; 34 [btn setTitleColor:[UIColor whiteColor] forState:UIControlStateNormal];
35 btn.titleLabel.font = [UIFont systemFontOfSize:15]; 35 btn.titleLabel.font = [UIFont systemFontOfSize:15];
36 [btn addTarget:self action:@selector(onClickTest) forControlEvents:UIControlEventTouchUpInside]; 36 [btn addTarget:self action:@selector(onClickTest) forControlEvents:UIControlEventTouchUpInside];
37 [self.view addSubview:btn]; 37 [self.view addSubview:btn];
38 38
39 39
40 40
41 UIButton *bindtn = [[UIButton alloc] initWithFrame:CGRectMake(110, 100, 100, 30)]; 41 UIButton *bindtn = [[UIButton alloc] initWithFrame:CGRectMake(110, 100, 100, 30)];
42 bindtn.backgroundColor = [UIColor orangeColor]; 42 bindtn.backgroundColor = [UIColor orangeColor];
43 [bindtn setTitle:@"退出账号" forState:UIControlStateNormal]; 43 [bindtn setTitle:@"退出账号" forState:UIControlStateNormal];
44 [bindtn setTitleColor:[UIColor whiteColor] forState:UIControlStateNormal]; 44 [bindtn setTitleColor:[UIColor whiteColor] forState:UIControlStateNormal];
45 bindtn.titleLabel.font = [UIFont systemFontOfSize:15]; 45 bindtn.titleLabel.font = [UIFont systemFontOfSize:15];
46 [bindtn addTarget:self action:@selector(onLogoutTest) forControlEvents:UIControlEventTouchUpInside]; 46 [bindtn addTarget:self action:@selector(onLogoutTest) forControlEvents:UIControlEventTouchUpInside];
47 [self.view addSubview:bindtn]; 47 [self.view addSubview:bindtn];
48 48
49 UIButton *payBtn = [[UIButton alloc] initWithFrame:CGRectMake(110, 160, 100, 30)]; 49 UIButton *payBtn = [[UIButton alloc] initWithFrame:CGRectMake(110, 160, 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 UIButton *iapBtn = [[UIButton alloc] initWithFrame:CGRectMake(110, 220, 100, 30)]; 57 UIButton *iapBtn = [[UIButton alloc] initWithFrame:CGRectMake(110, 220, 100, 30)];
58 iapBtn.backgroundColor = [UIColor orangeColor]; 58 iapBtn.backgroundColor = [UIColor orangeColor];
59 [iapBtn setTitle:@"IAP" forState:UIControlStateNormal]; 59 [iapBtn setTitle:@"IAP" forState:UIControlStateNormal];
60 [iapBtn setTitleColor:[UIColor whiteColor] forState:UIControlStateNormal]; 60 [iapBtn setTitleColor:[UIColor whiteColor] forState:UIControlStateNormal];
61 iapBtn.titleLabel.font = [UIFont systemFontOfSize:15]; 61 iapBtn.titleLabel.font = [UIFont systemFontOfSize:15];
62 [iapBtn addTarget:self action:@selector(onIapTest) forControlEvents:UIControlEventTouchUpInside]; 62 [iapBtn addTarget:self action:@selector(onIapTest) forControlEvents:UIControlEventTouchUpInside];
63 [self.view addSubview:iapBtn]; 63 [self.view addSubview:iapBtn];
64 64
65
66 } 65 }
67 66
68 - (UILabel *)resultLabel { 67 - (UILabel *)resultLabel {
69 if (!_resultLabel) { 68 if (!_resultLabel) {
70 _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)];
71 _resultLabel.backgroundColor = [UIColor clearColor]; 70 _resultLabel.backgroundColor = [UIColor clearColor];
72 _resultLabel.textAlignment = NSTextAlignmentCenter; 71 _resultLabel.textAlignment = NSTextAlignmentCenter;
73 _resultLabel.textColor = [UIColor redColor]; 72 _resultLabel.textColor = [UIColor redColor];
74 _resultLabel.font = [UIFont systemFontOfSize:15]; 73 _resultLabel.font = [UIFont systemFontOfSize:15];
75 _resultLabel.numberOfLines = 4; 74 _resultLabel.numberOfLines = 4;
76 _resultLabel.lineBreakMode = NSLineBreakByWordWrapping; 75 _resultLabel.lineBreakMode = NSLineBreakByWordWrapping;
77 [self.view addSubview:_resultLabel]; 76 [self.view addSubview:_resultLabel];
78 } 77 }
79 78
80 return _resultLabel; 79 return _resultLabel;
81 } 80 }
82 81
83 82
84 - (void)onClickTest { 83 - (void)onClickTest {
85 84
86 [LetsGameAPI instance].appId = @"10056";//10047 85 [LetsGameAPI instance].appId = @"10056";//10047
87 [LetsGameAPI instance].appKey = @"b59c21a078fde074a6750e91ed19fb21";//eccd9f7dc92858b741132fda313130cf 86 [LetsGameAPI instance].appKey = @"b59c21a078fde074a6750e91ed19fb21";//eccd9f7dc92858b741132fda313130cf
88 [LetsGameAPI hiddenLogo:YES]; 87 [LetsGameAPI hiddenLogo:YES];
89 // [LetsGameAPI disableFB:NO]; 88 // [LetsGameAPI disableFB:NO];
90 NSLog(@"sdk version:%@",[[LetsGameAPI instance] version]); 89 NSLog(@"sdk version:%@",[[LetsGameAPI instance] version]);
91 //启用vk登录 90 //启用vk登录
92 VKBridge *vkBridge = [[VKBridge alloc] initWithVKAppId:@"5029792"]; 91 VKBridge *vkBridge = [[VKBridge alloc] initWithVKAppId:@"5029792"];
93 [LetsGameAPI instance].vkBridge = vkBridge; 92 [LetsGameAPI instance].vkBridge = vkBridge;
94 93
95 [LetsGameAPI instance].succBlock = ^(NSString *userId, NSString *sessionKey, LSGAccountType type) { 94 [LetsGameAPI instance].succBlock = ^(NSString *userId, NSString *sessionKey, LSGAccountType type) {
96 self.sessionKey = sessionKey; 95 self.sessionKey = sessionKey;
97 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];
98 }; 97 };
99 [LetsGameAPI instance].dismissBlock = ^() { 98 [LetsGameAPI instance].dismissBlock = ^() {
100 self.resultLabel.text = @"dismiss without login"; 99 self.resultLabel.text = @"dismiss without login";
101 }; 100 };
102 101
103 [[LetsGameAPI instance] showLoginView]; 102 [[LetsGameAPI instance] showLoginView];
104 } 103 }
105 104
106 105
107 - (void)onLogoutTest { 106 - (void)onLogoutTest {
108 [LetsGameAPI instance].appId = @"10056"; 107 [LetsGameAPI instance].appId = @"10056";
109 [LetsGameAPI instance].appKey = @"b59c21a078fde074a6750e91ed19fb21"; 108 [LetsGameAPI instance].appKey = @"b59c21a078fde074a6750e91ed19fb21";
110 [[LetsGameAPI instance] logout]; 109 [[LetsGameAPI instance] logout];
111 110
112 } 111 }
113 112
114 -(void)onPayTest{ 113 -(void)onPayTest{
115 [LetsGameAPI instance].appId = @"10056";//10022 114 [LetsGameAPI instance].appId = @"10056";//10022
116 [LetsGameAPI instance].appKey = @"b59c21a078fde074a6750e91ed19fb21";//93a27b0bd99bac3e68a440b48aa421ab 115 [LetsGameAPI instance].appKey = @"b59c21a078fde074a6750e91ed19fb21";//93a27b0bd99bac3e68a440b48aa421ab
117 NSMutableDictionary *payInfo = [NSMutableDictionary dictionary]; 116 NSMutableDictionary *payInfo = [NSMutableDictionary dictionary];
118 [payInfo setValue:@"100" forKey:@"serverId"]; 117 [payInfo setValue:@"100" forKey:@"serverId"];
119 [payInfo setValue:@"10010" forKey:@"roleId"]; 118 [payInfo setValue:@"10010" forKey:@"roleId"];
120 [payInfo setValue:@"1000" forKey:@"channelId"]; 119 [payInfo setValue:@"1000" forKey:@"channelId"];
121 [payInfo setValue:@"10" forKey:@"amount"]; 120 [payInfo setValue:@"10" forKey:@"amount"];
122 [payInfo setValue:@"ios demo" forKey:@"extraInfo"]; 121 [payInfo setValue:@"ios demo" forKey:@"extraInfo"];
123 [payInfo setValue:@"test" forKey:@"product"]; 122 [payInfo setValue:@"test" forKey:@"product"];
124 [payInfo setValue:@"76c17cc68ff9f7f40bd3d096ccc5600a" forKey:@"sessionKey"]; //self.sessionKey 123 [payInfo setValue:@"76c17cc68ff9f7f40bd3d096ccc5600a" forKey:@"sessionKey"]; //self.sessionKey
125 [[LetsGameAPI instance] pay:payInfo handleCallBack:^{ 124 [[LetsGameAPI instance] pay:payInfo handleCallBack:^{
126 NSLog(@"第三方支付完成"); 125 NSLog(@"第三方支付完成");
127 }]; 126 }];
128 } 127 }
129 128
130 -(void)onIapTest{ 129 -(void)onIapTest{
131 [LetsGameAPI instance].appId = @"10022"; 130 [LetsGameAPI instance].appId = @"10056";
132 [LetsGameAPI instance].appKey = @"93a27b0bd99bac3e68a440b48aa421ab"; 131 [LetsGameAPI instance].appKey = @"b59c21a078fde074a6750e91ed19fb21";
133 NSMutableDictionary *payInfo = [NSMutableDictionary dictionary]; 132 NSMutableDictionary *payInfo = [NSMutableDictionary dictionary];
134 [payInfo setValue:@"5001" forKey:@"serverId"]; 133 [payInfo setValue:@"5001" forKey:@"serverId"];
135 [payInfo setValue:@"10010" forKey:@"roleId"]; 134 [payInfo setValue:@"10010" forKey:@"roleId"];
136 [payInfo setValue:@"1000" forKey:@"channelId"]; 135 [payInfo setValue:@"1000" forKey:@"channelId"];
137 [payInfo setValue:@"10" forKey:@"amount"]; 136 [payInfo setValue:@"10" forKey:@"amount"];
138 [payInfo setValue:@"ios demo" forKey:@"extraInfo"]; 137 [payInfo setValue:@"ios demo" forKey:@"extraInfo"];
139 [payInfo setValue:@"test.product.1" forKey:@"product"]; 138 [payInfo setValue:@"test.product.1" forKey:@"product"];
140 [[LetsGameAPI instance] iap:payInfo forUser:@"" handleCallback:^(NSString* orderId){ 139 [[LetsGameAPI instance] iap:payInfo forUser:@"" handleCallback:^(NSString* orderId){
141 NSLog(@"IAP completed orderId of Gumptech:%@",orderId); 140 NSLog(@"IAP completed orderId of Gumptech:%@",orderId);
142 }]; 141 }];
143 } 142 }
144 143
145 144
146 - (BOOL)shouldAutorotate { 145 - (BOOL)shouldAutorotate {
147 return YES; 146 return YES;
148 } 147 }
149 148
150 -(UIInterfaceOrientationMask)supportedInterfaceOrientations{ 149 -(UIInterfaceOrientationMask)supportedInterfaceOrientations{
151 return UIInterfaceOrientationMaskAll; 150 return UIInterfaceOrientationMaskAll;
152 } 151 }
153 152
154 - (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation { 153 - (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation {
155 return YES; 154 return YES;
156 } 155 }
157 156
158 @end 157 @end
159 158
ios/GameSDKDemo/letsgameDemo/letsgameDemo-Info.plist
1 <?xml version="1.0" encoding="UTF-8"?> 1 <?xml version="1.0" encoding="UTF-8"?>
2 <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> 2 <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3 <plist version="1.0"> 3 <plist version="1.0">
4 <dict> 4 <dict>
5 <key>CFBundleDevelopmentRegion</key> 5 <key>CFBundleDevelopmentRegion</key>
6 <string>en</string> 6 <string>en</string>
7 <key>CFBundleDisplayName</key> 7 <key>CFBundleDisplayName</key>
8 <string>${PRODUCT_NAME}</string> 8 <string>${PRODUCT_NAME}</string>
9 <key>CFBundleExecutable</key> 9 <key>CFBundleExecutable</key>
10 <string>${EXECUTABLE_NAME}</string> 10 <string>${EXECUTABLE_NAME}</string>
11 <key>CFBundleIdentifier</key> 11 <key>CFBundleIdentifier</key>
12 <string>$(PRODUCT_BUNDLE_IDENTIFIER)</string> 12 <string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>
13 <key>CFBundleInfoDictionaryVersion</key> 13 <key>CFBundleInfoDictionaryVersion</key>
14 <string>6.0</string> 14 <string>6.0</string>
15 <key>CFBundleName</key> 15 <key>CFBundleName</key>
16 <string>${PRODUCT_NAME}</string> 16 <string>${PRODUCT_NAME}</string>
17 <key>CFBundlePackageType</key> 17 <key>CFBundlePackageType</key>
18 <string>APPL</string> 18 <string>APPL</string>
19 <key>CFBundleShortVersionString</key> 19 <key>CFBundleShortVersionString</key>
20 <string>1.0</string> 20 <string>1.0.1</string>
21 <key>CFBundleSignature</key> 21 <key>CFBundleSignature</key>
22 <string>????</string> 22 <string>????</string>
23 <key>CFBundleURLTypes</key> 23 <key>CFBundleURLTypes</key>
24 <array> 24 <array>
25 <dict> 25 <dict>
26 <key>CFBundleURLSchemes</key> 26 <key>CFBundleURLSchemes</key>
27 <array> 27 <array>
28 <string>fb1401636950118536</string> 28 <string>fb1401636950118536</string>
29 </array> 29 </array>
30 </dict> 30 </dict>
31 <dict> 31 <dict>
32 <key>CFBundleURLName</key> 32 <key>CFBundleURLName</key>
33 <string>vk5029792</string> 33 <string>vk5029792</string>
34 <key>CFBundleURLSchemes</key> 34 <key>CFBundleURLSchemes</key>
35 <array> 35 <array>
36 <string>vk5029792</string> 36 <string>vk5029792</string>
37 </array> 37 </array>
38 </dict> 38 </dict>
39 </array> 39 </array>
40 <key>CFBundleVersion</key> 40 <key>CFBundleVersion</key>
41 <string>1</string> 41 <string>1.1.1</string>
42 <key>FacebookAppID</key> 42 <key>FacebookAppID</key>
43 <string>1401636950118536</string> 43 <string>1401636950118536</string>
44 <key>FacebookDisplayName</key> 44 <key>FacebookDisplayName</key>
45 <string>letsgameDemo</string> 45 <string>letsgameDemo</string>
46 <key>LSRequiresIPhoneOS</key> 46 <key>LSRequiresIPhoneOS</key>
47 <true/> 47 <true/>
48 <key>NSAppTransportSecurity</key> 48 <key>NSAppTransportSecurity</key>
49 <dict> 49 <dict>
50 <key>NSAllowsArbitraryLoads</key> 50 <key>NSAllowsArbitraryLoads</key>
51 <false/> 51 <false/>
52 </dict> 52 </dict>
53 <key>UIRequiredDeviceCapabilities</key> 53 <key>UIRequiredDeviceCapabilities</key>
54 <array> 54 <array>
55 <string>armv7</string> 55 <string>armv7</string>
56 </array> 56 </array>
57 <key>UIStatusBarHidden</key> 57 <key>UIStatusBarHidden</key>
58 <true/> 58 <true/>
59 <key>UISupportedInterfaceOrientations</key> 59 <key>UISupportedInterfaceOrientations</key>
60 <array> 60 <array>
61 <string>UIInterfaceOrientationLandscapeLeft</string> 61 <string>UIInterfaceOrientationLandscapeLeft</string>
62 <string>UIInterfaceOrientationLandscapeRight</string> 62 <string>UIInterfaceOrientationLandscapeRight</string>
63 </array> 63 </array>
64 </dict> 64 </dict>
65 </plist> 65 </plist>
66 66