Commit 87097d53dbcd3910eb017e5a90a37a773a8c48ac
1 parent
b7b5e05c
no message
Showing
28 changed files
with
1760 additions
and
0 deletions
CNLiveEnvironment.podspec
0 → 100644
| 1 | +# | ||
| 2 | +# Be sure to run `pod lib lint CNLiveEnvironment.podspec' to ensure this is a | ||
| 3 | +# valid spec before submitting. | ||
| 4 | +# | ||
| 5 | +# Any lines starting with a # are optional, but their use is encouraged | ||
| 6 | +# To learn more about a Podspec see https://guides.cocoapods.org/syntax/podspec.html | ||
| 7 | +# | ||
| 8 | + | ||
| 9 | +Pod::Spec.new do |s| | ||
| 10 | + s.name = 'CNLiveEnvironment' | ||
| 11 | + s.version = '0.0.1' | ||
| 12 | + s.summary = '网家家环境' | ||
| 13 | + | ||
| 14 | +# This description is used to generate tags and improve search results. | ||
| 15 | +# * Think: What does it do? Why did you write it? What is the focus? | ||
| 16 | +# * Try to keep it short, snappy and to the point. | ||
| 17 | +# * Write the description between the DESC delimiters below. | ||
| 18 | +# * Finally, don't worry about the indent, CocoaPods strips it! | ||
| 19 | + | ||
| 20 | + s.description = <<-DESC | ||
| 21 | +TODO: Add long description of the pod here. | ||
| 22 | + DESC | ||
| 23 | + | ||
| 24 | + s.homepage = 'http://bj.gitlab.cnlive.com/ios-team/CNLiveEnvironment' | ||
| 25 | + # s.screenshots = 'www.example.com/screenshots_1', 'www.example.com/screenshots_2' | ||
| 26 | + s.license = { :type => 'MIT', :file => 'LICENSE' } | ||
| 27 | + s.author = { '153993236@qq.com' => 'zhangxiaowen@cnlive.com' } | ||
| 28 | + s.source = { :git => 'http://bj.gitlab.cnlive.com/ios-team/CNLiveEnvironment.git', :tag => s.version.to_s } | ||
| 29 | + # s.social_media_url = 'https://twitter.com/<TWITTER_USERNAME>' | ||
| 30 | + | ||
| 31 | + s.ios.deployment_target = '9.0' | ||
| 32 | + | ||
| 33 | + s.source_files = 'CNLiveEnvironment/Classes/**/*' | ||
| 34 | + | ||
| 35 | + # s.resource_bundles = { | ||
| 36 | + # 'CNLiveEnvironment' => ['CNLiveEnvironment/Assets/*.png'] | ||
| 37 | + # } | ||
| 38 | + | ||
| 39 | + # s.public_header_files = 'Pod/Classes/**/*.h' | ||
| 40 | + # s.frameworks = 'UIKit', 'MapKit' | ||
| 41 | + # s.dependency 'AFNetworking', '~> 2.3' | ||
| 42 | +end |
CNLiveEnvironment/Assets/.gitkeep
0 → 100644
CNLiveEnvironment/Classes/.gitkeep
0 → 100644
CNLiveEnvironment/Classes/CNLiveEnvironment.h
0 → 100644
| 1 | +// | ||
| 2 | +// CNLiveEnvironment.h | ||
| 3 | +// XWTest | ||
| 4 | +// | ||
| 5 | +// Created by CNLive-zxw on 2019/7/13. | ||
| 6 | +// Copyright © 2019 CNLive. All rights reserved. | ||
| 7 | +// | ||
| 8 | + | ||
| 9 | +#ifndef CNLiveEnvironment_h | ||
| 10 | +#define CNLiveEnvironment_h | ||
| 11 | + | ||
| 12 | +#import "CNLiveEnvironmentManager.h" | ||
| 13 | +#import "CNLiveEnvironmentInterface.h" | ||
| 14 | + | ||
| 15 | +// 详细环境 | ||
| 16 | +#define EnvironmentType [CNLiveEnvironmentManager manager].isEnvironment | ||
| 17 | +// 是否是正式环境 | ||
| 18 | +#define FormalEnvironment [CNLiveEnvironmentManager manager].isFormalEnvironment | ||
| 19 | +// 是否是测试环境 | ||
| 20 | +#define TestEnvironment [CNLiveEnvironmentManager manager].isTestEnvironment | ||
| 21 | + | ||
| 22 | +// Url域名 | ||
| 23 | +#define AppDownloadUrl [CNLiveEnvironmentManager manager].AppDownloadUrl | ||
| 24 | +#define ShareDarenHomeUrl [CNLiveEnvironmentManager manager].ShareDarenHomeUrl | ||
| 25 | + | ||
| 26 | +#define WjjH5_Host(url) [NSString stringWithFormat:@"%@/%@",[CNLiveEnvironmentManager manager].WjjH5_Host,url] | ||
| 27 | +#define API_Host(url) [NSString stringWithFormat:@"%@/%@",[CNLiveEnvironmentManager manager].API_Host,url] | ||
| 28 | +#define API_Contact(url) [NSString stringWithFormat:@"%@/%@",[CNLiveEnvironmentManager manager].API_Contact,url] | ||
| 29 | +#define API_Refund(url) [NSString stringWithFormat:@"%@/%@",[CNLiveEnvironmentManager manager].API_Refund,url] | ||
| 30 | +#define API_Report(url) [NSString stringWithFormat:@"%@/%@",[CNLiveEnvironmentManager manager].API_Report,url] | ||
| 31 | +#define API_OpenApi2(url) [NSString stringWithFormat:@"%@/%@",[CNLiveEnvironmentManager manager].API_OpenApi2,url] | ||
| 32 | +#define API_Classify(url) [NSString stringWithFormat:@"%@/%@",[CNLiveEnvironmentManager manager].API_Classify,url] | ||
| 33 | + | ||
| 34 | +// BundleId | ||
| 35 | +#define BundleId [CNLiveEnvironmentManager manager].bundleId | ||
| 36 | + | ||
| 37 | +#define AppId [CNLiveEnvironmentManager manager].appId | ||
| 38 | +#define AppKey [CNLiveEnvironmentManager manager].appKey | ||
| 39 | +#define AppSecret [CNLiveEnvironmentManager manager].appSecret | ||
| 40 | + | ||
| 41 | +// 环境描述 | ||
| 42 | +#define EnvironmentDesc [CNLiveEnvironmentManager manager].environmentDesc | ||
| 43 | + | ||
| 44 | +// App展示名字 | ||
| 45 | +#define DisplayName [CNLiveEnvironmentManager manager].displayName | ||
| 46 | + | ||
| 47 | +// 高德地图Key | ||
| 48 | +#define GDApiKey [CNLiveEnvironmentManager manager].GDApiKey | ||
| 49 | + | ||
| 50 | +// 百度身份证识别 | ||
| 51 | +#define BDAppId [CNLiveEnvironmentManager manager].BDAppId | ||
| 52 | +#define BDAppKey [CNLiveEnvironmentManager manager].BDAppKey | ||
| 53 | +#define BDSecret [CNLiveEnvironmentManager manager].BDSecret | ||
| 54 | + | ||
| 55 | +// tingyun | ||
| 56 | +#define TingYunAppKey [CNLiveEnvironmentManager manager].TingYunAppKey | ||
| 57 | + | ||
| 58 | +/*微信相关参数*/ | ||
| 59 | +#define WeiChatAppId_Share [CNLiveEnvironmentManager manager].WeiChatAppId_Share | ||
| 60 | +#define WeiChatAppSecret_Share [CNLiveEnvironmentManager manager].WeiChatAppSecret_Share | ||
| 61 | + | ||
| 62 | +/*腾讯相关参数*/ | ||
| 63 | +#define QQShareAppId_Share [CNLiveEnvironmentManager manager].QQShareAppId_Share | ||
| 64 | +#define QQShareAppSecret_Share [CNLiveEnvironmentManager manager].QQShareAppSecret_Share | ||
| 65 | + | ||
| 66 | +/*shareSDK相关参数*/ | ||
| 67 | +#define ShareSDKAppId_Share [CNLiveEnvironmentManager manager].ShareSDKAppId_Share | ||
| 68 | +#define ShareSDKAppSecret_Share [CNLiveEnvironmentManager manager].ShareSDKAppSecret_Share | ||
| 69 | + | ||
| 70 | +#define WjjShare_Iden [CNLiveEnvironmentManager manager].WjjShare_Iden | ||
| 71 | + | ||
| 72 | +// 正式环境平台配置 | ||
| 73 | +// IMSDK相关的配置 | ||
| 74 | +#define kWXAccount [CNLiveEnvironmentManager manager].kWXAccount | ||
| 75 | +#define kSdkAppId [CNLiveEnvironmentManager manager].kSdkAppId | ||
| 76 | +#define kSdkAccountType [CNLiveEnvironmentManager manager].kSdkAccountType | ||
| 77 | + | ||
| 78 | +// 支付宝支付Schems | ||
| 79 | +#define NetAddTestUrlSchems [CNLiveEnvironmentManager manager].NetAddTestUrlSchems | ||
| 80 | + | ||
| 81 | +// 银联支付Schems | ||
| 82 | +#define NetAddTestUnionPaySchems [CNLiveEnvironmentManager manager].NetAddTestUnionPaySchems | ||
| 83 | + | ||
| 84 | + | ||
| 85 | +#endif /* CNLiveEnvironment_h */ |
CNLiveEnvironment/Classes/CNLiveEnvironmentInterface.h
0 → 100644
CNLiveEnvironment/Classes/CNLiveEnvironmentManager.h
0 → 100644
| 1 | +// | ||
| 2 | +// CNLiveEnvironmentManager.h | ||
| 3 | +// XWTest | ||
| 4 | +// | ||
| 5 | +// Created by CNLive-zxw on 2019/7/13. | ||
| 6 | +// Copyright © 2019 CNLive. All rights reserved. | ||
| 7 | +// | ||
| 8 | + | ||
| 9 | +#import <Foundation/Foundation.h> | ||
| 10 | + | ||
| 11 | +NS_ASSUME_NONNULL_BEGIN | ||
| 12 | + | ||
| 13 | +typedef NS_ENUM(NSInteger, CNLiveEnvironmentType) { | ||
| 14 | + CNLiveEnvironmentDebugInHouse = 0,//测试企业环境 | ||
| 15 | + CNLiveEnvironmentProductionInHouse = 1,//正式企业环境 | ||
| 16 | + CNLiveEnvironmentDebugAppStore = 2,//测试个人(上线)环境 | ||
| 17 | + CNLiveEnvironmentProductionAppStore = 3 //正式个人(上线)环境 | ||
| 18 | + | ||
| 19 | +}; | ||
| 20 | + | ||
| 21 | +@interface CNLiveEnvironmentManager : NSObject | ||
| 22 | + | ||
| 23 | +@property (nonatomic, assign, readonly) CNLiveEnvironmentType isEnvironment; // 详细环境 | ||
| 24 | +@property (nonatomic, assign, readonly) BOOL isFormalEnvironment; // 是否是正式环境 | ||
| 25 | +@property (nonatomic, assign, readonly) BOOL isTestEnvironment; // 是否是测试环境 | ||
| 26 | + | ||
| 27 | +@property (nonatomic, copy, readonly) NSString *AppDownloadUrl; | ||
| 28 | +@property (nonatomic, copy, readonly) NSString *ShareDarenHomeUrl; | ||
| 29 | +@property (nonatomic, copy, readonly) NSString *WjjH5_Host; | ||
| 30 | + | ||
| 31 | +@property (nonatomic, copy, readonly) NSString *API_Host; | ||
| 32 | +@property (nonatomic, copy, readonly) NSString *API_Contact; | ||
| 33 | +@property (nonatomic, copy, readonly) NSString *API_Refund; | ||
| 34 | +@property (nonatomic, copy, readonly) NSString *API_Report; | ||
| 35 | +@property (nonatomic, copy, readonly) NSString *API_OpenApi2; | ||
| 36 | +@property (nonatomic, copy, readonly) NSString *API_Classify; | ||
| 37 | + | ||
| 38 | +@property (nonatomic, copy, readonly) NSString *environmentDesc; // 环境描述 | ||
| 39 | +@property (nonatomic, copy, readonly) NSString *bundleId; // BundleId | ||
| 40 | + | ||
| 41 | +@property (nonatomic, copy, readonly) NSString *appId; // App ID | ||
| 42 | +@property (nonatomic, copy, readonly) NSString *appKey; // App Key | ||
| 43 | +@property (nonatomic, copy, readonly) NSString *appSecret; // App Secret | ||
| 44 | + | ||
| 45 | +@property (nonatomic, copy, readonly) NSString *displayName; // 展示名字 | ||
| 46 | + | ||
| 47 | +@property (nonatomic, copy, readonly) NSString *GDApiKey; // 高德地图Key | ||
| 48 | + | ||
| 49 | +@property (nonatomic, copy, readonly) NSString *BDAppId; // 百度身份证识别 | ||
| 50 | +@property (nonatomic, copy, readonly) NSString *BDAppKey; // 展示名字 | ||
| 51 | +@property (nonatomic, copy, readonly) NSString *BDSecret; // 展示名字 | ||
| 52 | + | ||
| 53 | +@property (nonatomic, copy, readonly) NSString *TingYunAppKey; //tingyun | ||
| 54 | + | ||
| 55 | +/*微信相关参数*/ | ||
| 56 | +@property (nonatomic, copy, readonly) NSString *WeiChatAppId_Share; | ||
| 57 | +@property (nonatomic, copy, readonly) NSString *WeiChatAppSecret_Share; | ||
| 58 | + | ||
| 59 | +/*腾讯相关参数*/ | ||
| 60 | +@property (nonatomic, copy, readonly) NSString *QQShareAppId_Share; | ||
| 61 | +@property (nonatomic, copy, readonly) NSString *QQShareAppSecret_Share; | ||
| 62 | + | ||
| 63 | +/*shareSDK相关参数*/ | ||
| 64 | +@property (nonatomic, copy, readonly) NSString *ShareSDKAppId_Share; | ||
| 65 | +@property (nonatomic, copy, readonly) NSString *ShareSDKAppSecret_Share; | ||
| 66 | + | ||
| 67 | +//Share | ||
| 68 | +@property (nonatomic, copy, readonly) NSString *WjjShare_Iden; | ||
| 69 | + | ||
| 70 | +// 正式环境平台配置 | ||
| 71 | +// IMSDK相关的配置 | ||
| 72 | +@property (nonatomic, copy, readonly) NSString *kWXAccount; | ||
| 73 | +@property (nonatomic, copy, readonly) NSString *kSdkAppId; | ||
| 74 | +@property (nonatomic, copy, readonly) NSString *kSdkAccountType; | ||
| 75 | + | ||
| 76 | +// 支付宝支付Schems | ||
| 77 | +@property (nonatomic, copy, readonly) NSString *NetAddTestUrlSchems; | ||
| 78 | + | ||
| 79 | +// 银联支付Schems | ||
| 80 | +@property (nonatomic, copy, readonly) NSString *NetAddTestUnionPaySchems; | ||
| 81 | + | ||
| 82 | +/** | ||
| 83 | + * @abstract 单例初始化 | ||
| 84 | + */ | ||
| 85 | ++ (instancetype)manager; | ||
| 86 | + | ||
| 87 | +/** | ||
| 88 | + * @abstract 初始化配置 | ||
| 89 | + * @param isEnvironment 环境 | ||
| 90 | + * @warning 必传参数 | ||
| 91 | + * 此方法环境默认为测试商店版,建议使用如下方法初始化. | ||
| 92 | + 必须在 - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions; 方法中调用 | ||
| 93 | + */ | ||
| 94 | ++ (void)setEnvironment:(CNLiveEnvironmentType)isEnvironment; | ||
| 95 | + | ||
| 96 | + | ||
| 97 | +@end | ||
| 98 | + | ||
| 99 | +NS_ASSUME_NONNULL_END |
CNLiveEnvironment/Classes/CNLiveEnvironmentManager.m
0 → 100644
| 1 | +// | ||
| 2 | +// CNLiveEnvironmentManager.m | ||
| 3 | +// XWTest | ||
| 4 | +// | ||
| 5 | +// Created by CNLive-zxw on 2019/7/13. | ||
| 6 | +// Copyright © 2019 CNLive. All rights reserved. | ||
| 7 | +// | ||
| 8 | + | ||
| 9 | +#import "CNLiveEnvironmentManager.h" | ||
| 10 | +@interface CNLiveEnvironmentManager() | ||
| 11 | +@property (nonatomic, assign, readwrite) CNLiveEnvironmentType isEnvironment; //详细环境 | ||
| 12 | +@property (nonatomic, assign, readwrite) BOOL isFormalEnvironment; // 是否是正式环境 | ||
| 13 | +@property (nonatomic, assign, readwrite) BOOL isTestEnvironment; // 是否是测试环境 | ||
| 14 | + | ||
| 15 | +@property (nonatomic, copy, readwrite) NSString *AppDownloadUrl; | ||
| 16 | +@property (nonatomic, copy, readwrite) NSString *ShareDarenHomeUrl; | ||
| 17 | +@property (nonatomic, copy, readwrite) NSString *WjjH5_Host; | ||
| 18 | + | ||
| 19 | +@property (nonatomic, copy, readwrite) NSString *API_Host; | ||
| 20 | +@property (nonatomic, copy, readwrite) NSString *API_Contact; | ||
| 21 | +@property (nonatomic, copy, readwrite) NSString *API_Refund; | ||
| 22 | +@property (nonatomic, copy, readwrite) NSString *API_Report; | ||
| 23 | +@property (nonatomic, copy, readwrite) NSString *API_OpenApi2; | ||
| 24 | +@property (nonatomic, copy, readwrite) NSString *API_Classify; | ||
| 25 | + | ||
| 26 | +@property (nonatomic, copy, readwrite) NSString *environmentDesc; //环境描述 | ||
| 27 | +@property (nonatomic, copy, readwrite) NSString *bundleId; //BundleId | ||
| 28 | + | ||
| 29 | +@property (nonatomic, copy, readwrite) NSString *appId; //App ID | ||
| 30 | +@property (nonatomic, copy, readwrite) NSString *appKey; //App Key | ||
| 31 | +@property (nonatomic, copy, readwrite) NSString *appSecret; //App Secret | ||
| 32 | + | ||
| 33 | +@property (nonatomic, copy, readwrite) NSString *displayName; //App展示名字 | ||
| 34 | + | ||
| 35 | +@property (nonatomic, copy, readwrite) NSString *GDApiKey; // 高德地图Key | ||
| 36 | + | ||
| 37 | +@property (nonatomic, copy, readwrite) NSString *BDAppId; //百度身份证识别 | ||
| 38 | +@property (nonatomic, copy, readwrite) NSString *BDAppKey; //展示名字 | ||
| 39 | +@property (nonatomic, copy, readwrite) NSString *BDSecret; //展示名字 | ||
| 40 | + | ||
| 41 | +@property (nonatomic, copy, readwrite) NSString *TingYunAppKey; //tingyun | ||
| 42 | + | ||
| 43 | +/*微信相关参数*/ | ||
| 44 | +@property (nonatomic, copy, readwrite) NSString *WeiChatAppId_Share; | ||
| 45 | +@property (nonatomic, copy, readwrite) NSString *WeiChatAppSecret_Share; | ||
| 46 | + | ||
| 47 | +/*腾讯相关参数*/ | ||
| 48 | +@property (nonatomic, copy, readwrite) NSString *QQShareAppId_Share; | ||
| 49 | +@property (nonatomic, copy, readwrite) NSString *QQShareAppSecret_Share; | ||
| 50 | + | ||
| 51 | +/*ShareSDK相关参数*/ | ||
| 52 | +@property (nonatomic, copy, readwrite) NSString *ShareSDKAppId_Share; | ||
| 53 | +@property (nonatomic, copy, readwrite) NSString *ShareSDKAppSecret_Share; | ||
| 54 | + | ||
| 55 | +@property (nonatomic, copy, readwrite) NSString *WjjShare_Iden; | ||
| 56 | + | ||
| 57 | +@property (nonatomic, copy, readwrite) NSString *kWXAccount; | ||
| 58 | +@property (nonatomic, copy, readwrite) NSString *kSdkAppId; | ||
| 59 | +@property (nonatomic, copy, readwrite) NSString *kSdkAccountType; | ||
| 60 | + | ||
| 61 | +// 支付宝支付Schems | ||
| 62 | +@property (nonatomic, copy, readwrite) NSString *NetAddTestUrlSchems; | ||
| 63 | + | ||
| 64 | +// 银联支付Schems | ||
| 65 | +@property (nonatomic, copy, readwrite) NSString *NetAddTestUnionPaySchems; | ||
| 66 | + | ||
| 67 | +@end | ||
| 68 | + | ||
| 69 | +@implementation CNLiveEnvironmentManager | ||
| 70 | + | ||
| 71 | +/** | ||
| 72 | + * 默认是测试商店版 | ||
| 73 | + */ | ||
| 74 | ++ (void)load{ | ||
| 75 | + [CNLiveEnvironmentManager setEnvironment:CNLiveEnvironmentDebugAppStore]; | ||
| 76 | +} | ||
| 77 | + | ||
| 78 | +/** | ||
| 79 | + * @abstract 单例初始化 | ||
| 80 | + */ | ||
| 81 | ++ (instancetype)manager{ | ||
| 82 | + static CNLiveEnvironmentManager *manager = nil; | ||
| 83 | + static dispatch_once_t once; | ||
| 84 | + dispatch_once(&once, ^{ | ||
| 85 | + manager = [[CNLiveEnvironmentManager alloc]init]; | ||
| 86 | + }); | ||
| 87 | + return manager; | ||
| 88 | +} | ||
| 89 | + | ||
| 90 | +/** | ||
| 91 | + * @abstract 初始化配置 | ||
| 92 | + * @param isEnvironment 环境 | ||
| 93 | + * @warning 必传参数 | ||
| 94 | + * 此方法环境默认为测试商店版,建议使用如下方法初始化. | ||
| 95 | + 必须在 - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions; 方法中调用 | ||
| 96 | + */ | ||
| 97 | ++ (void)setEnvironment:(CNLiveEnvironmentType)isEnvironment{ | ||
| 98 | + CNLiveEnvironmentManager *manager = [CNLiveEnvironmentManager manager]; | ||
| 99 | + manager.isEnvironment = isEnvironment; | ||
| 100 | + switch (isEnvironment) { | ||
| 101 | + case CNLiveEnvironmentDebugInHouse://测试企业环境 | ||
| 102 | + { | ||
| 103 | + manager.isFormalEnvironment = NO; | ||
| 104 | + manager.isTestEnvironment = YES; | ||
| 105 | + | ||
| 106 | + manager.AppDownloadUrl = @"https://fir.im/layf"; | ||
| 107 | + manager.ShareDarenHomeUrl = @"http://apiwjj.cnlive.com/download/index.html"; | ||
| 108 | + manager.WjjH5_Host = @"http://wjjh5test.cnlive.com"; | ||
| 109 | + | ||
| 110 | + manager.API_Host = @"https://apiwjjtest.cnlive.com"; | ||
| 111 | + manager.API_Contact = @"https://imtest.cnlive.com"; | ||
| 112 | + manager.API_Refund = @"https://wjj.ys1.cnliveimg.com"; | ||
| 113 | + manager.API_Report = @"https://mobile.cnlive.com"; | ||
| 114 | + manager.API_OpenApi2 = @"https://api.cnlive.com/open/api2"; | ||
| 115 | + manager.API_Classify = @"http://cmstest.cnlive.com:8768"; | ||
| 116 | + | ||
| 117 | + manager.environmentDesc = @"测试企业版"; | ||
| 118 | + manager.bundleId = @"com.cnlive.CNLiveNetAddInHouse.debug"; | ||
| 119 | + | ||
| 120 | + manager.appId = @"802_jhbqccxw08"; | ||
| 121 | + manager.appKey = @"9c5619e9be747bb3b925dd215ca5923d86f12c09b9394f"; | ||
| 122 | + manager.appSecret = @"1e6380cb347255e777f72b5aa60f41daa68443a132aaea"; | ||
| 123 | + | ||
| 124 | + manager.displayName = @"网家家测试企业"; | ||
| 125 | + | ||
| 126 | + manager.GDApiKey = @"f4459435f1c756d2efedc6ceec12be63"; | ||
| 127 | + manager.TingYunAppKey = @"3dda66ec904a4c3a8ad0169ca74de352"; | ||
| 128 | + | ||
| 129 | + manager.BDAppId = @"14435716"; | ||
| 130 | + manager.BDAppKey = @"4foSD6VBILQ61olzmVAFEVGZ"; | ||
| 131 | + manager.BDSecret = @"VEuz92EVrmEVrrgTZKxYo4ApUkol7Ptk"; | ||
| 132 | + | ||
| 133 | + manager.WeiChatAppId_Share = @"wx9b7f9443a8ccf15a"; | ||
| 134 | + manager.WeiChatAppSecret_Share = @"8d9970bf2901411d8dd2bffb344f147e"; | ||
| 135 | + | ||
| 136 | + manager.QQShareAppId_Share = @"1106970445"; | ||
| 137 | + manager.QQShareAppSecret_Share = @"4hxuJ1HIes4i4hqT"; | ||
| 138 | + | ||
| 139 | + manager.ShareSDKAppId_Share = @"26192e9007048"; | ||
| 140 | + manager.ShareSDKAppSecret_Share = @"f9d2fbf7f7827925c532a716340363c7"; | ||
| 141 | + | ||
| 142 | + manager.WjjShare_Iden = @"group.com.cnlive.CNLiveNetAddInHouse.debug"; | ||
| 143 | + | ||
| 144 | + manager.kWXAccount = @"wjj_app_test"; | ||
| 145 | + manager.kSdkAppId = @"1400052101"; | ||
| 146 | + manager.kSdkAccountType = @"27313"; | ||
| 147 | + | ||
| 148 | + manager.NetAddTestUrlSchems = @"CNLiveNetAddTestUrlSchems"; | ||
| 149 | + manager.NetAddTestUnionPaySchems = @"CNLiveNetAddTestUnionPaySchems"; | ||
| 150 | + | ||
| 151 | + | ||
| 152 | + } | ||
| 153 | + break; | ||
| 154 | + | ||
| 155 | + case CNLiveEnvironmentProductionInHouse://正式企业环境 | ||
| 156 | + { | ||
| 157 | + manager.isFormalEnvironment = YES; | ||
| 158 | + manager.isTestEnvironment = NO; | ||
| 159 | + | ||
| 160 | + manager.AppDownloadUrl = @"http://apiwjj.cnlive.com/download/index.html"; | ||
| 161 | + manager.ShareDarenHomeUrl = @"http://apiwjj.cnlive.com/daren/download.html"; | ||
| 162 | + manager.WjjH5_Host = @"http://wjjh5.cnlive.com"; | ||
| 163 | + | ||
| 164 | + manager.API_Host = @"https://apiwjj.cnlive.com"; | ||
| 165 | + manager.API_Contact = @"https://wjjim.cnlive.com"; | ||
| 166 | + manager.API_Refund = @"https://wjj.ys1.cnliveimg.com"; | ||
| 167 | + manager.API_Report = @"https://mobile.cnlive.com"; | ||
| 168 | + manager.API_OpenApi2 = @"https://api.cnlive.com/open/api2"; | ||
| 169 | + manager.API_Classify = @"http://cms.cnlive.com:8768"; | ||
| 170 | + | ||
| 171 | + manager.environmentDesc = @"正式企业版"; | ||
| 172 | + manager.bundleId = @"com.cnlive.CNLiveNetAddInHouse"; | ||
| 173 | + | ||
| 174 | + manager.appId = @"769_jetja50p18"; | ||
| 175 | + manager.appKey = @"ad101b9152817a79b5c33c3617b96ff91385096ff3b4ba"; | ||
| 176 | + manager.appSecret = @"6a324a475a8b9ef903139cb2626fdab6bf4362d6d47c83"; | ||
| 177 | + | ||
| 178 | + manager.displayName = @"网家家正式企业"; | ||
| 179 | + | ||
| 180 | + manager.GDApiKey = @"84d765606a54635aec2648f663d4a5ed"; | ||
| 181 | + manager.TingYunAppKey = @"782d9a70547a4e3f91cb328b122bb85c"; | ||
| 182 | + | ||
| 183 | + manager.BDAppId = @"14380872"; | ||
| 184 | + manager.BDAppKey = @"ibl8vbKkPVYBw5IOvR8tVGGo"; | ||
| 185 | + manager.BDSecret = @"QEd6n1qruIGG8AYkyLyqepksO2uUe0GK"; | ||
| 186 | + | ||
| 187 | + manager.WeiChatAppId_Share = @"wxed528fc749b7ee88"; | ||
| 188 | + manager.WeiChatAppSecret_Share = @"729c3d3055fe336bcdef7020c2548e89"; | ||
| 189 | + | ||
| 190 | + manager.QQShareAppId_Share = @"1106691520"; | ||
| 191 | + manager.QQShareAppSecret_Share = @"kLZ8CglGFjzrJFan"; | ||
| 192 | + | ||
| 193 | + manager.ShareSDKAppId_Share = @"24e4abeaa92d8"; | ||
| 194 | + manager.ShareSDKAppSecret_Share = @"da94a6f881d404092c9a7108e4470e8f"; | ||
| 195 | + | ||
| 196 | + manager.WjjShare_Iden = @"group.com.cnlive.CNLiveNetAddInHouse"; | ||
| 197 | + | ||
| 198 | + manager.kWXAccount = @"wjj_app"; | ||
| 199 | + manager.kSdkAppId = @"1400051680"; | ||
| 200 | + manager.kSdkAccountType = @"19645"; | ||
| 201 | + | ||
| 202 | + manager.NetAddTestUrlSchems = @"CNLiveNetAddUrlSchems"; | ||
| 203 | + manager.NetAddTestUnionPaySchems = @"CNLiveNetAddUnionPaySchems"; | ||
| 204 | + | ||
| 205 | + } | ||
| 206 | + break; | ||
| 207 | + | ||
| 208 | + case CNLiveEnvironmentDebugAppStore://测试商店环境 | ||
| 209 | + { | ||
| 210 | + manager.isFormalEnvironment = NO; | ||
| 211 | + manager.isTestEnvironment = YES; | ||
| 212 | + | ||
| 213 | + manager.AppDownloadUrl = @"https://fir.im/layf"; | ||
| 214 | + manager.ShareDarenHomeUrl = @"http://apiwjj.cnlive.com/download/index.html"; | ||
| 215 | + manager.WjjH5_Host = @"http://wjjh5test.cnlive.com"; | ||
| 216 | + | ||
| 217 | + manager.API_Host = @"https://apiwjjtest.cnlive.com"; | ||
| 218 | + manager.API_Contact = @"https://imtest.cnlive.com"; | ||
| 219 | + manager.API_Refund = @"https://wjj.ys1.cnliveimg.com"; | ||
| 220 | + manager.API_Report = @"https://mobile.cnlive.com"; | ||
| 221 | + manager.API_OpenApi2 = @"https://api.cnlive.com/open/api2"; | ||
| 222 | + manager.API_Classify = @"http://cmstest.cnlive.com:8768"; | ||
| 223 | + | ||
| 224 | + manager.environmentDesc = @"测试商店版"; | ||
| 225 | + manager.bundleId = @"com.cnlive.CNLiveNetAdd.debug"; | ||
| 226 | + | ||
| 227 | + manager.appId = @"802_jhlqbq4475"; | ||
| 228 | + manager.appKey = @"d25cf0dce30e7d7ddc7c857b85ab0dde670d491fc2ffe4"; | ||
| 229 | + manager.appSecret = @"b9064cfe0a030b8b20c061fc0ee3c16acce7757874b7a2"; | ||
| 230 | + | ||
| 231 | + manager.displayName = @"网家家测试商店"; | ||
| 232 | + | ||
| 233 | + manager.GDApiKey = @"4b15525f4265edfed8dce1d02f08a893"; | ||
| 234 | + manager.TingYunAppKey = @"3dda66ec904a4c3a8ad0169ca74de352"; | ||
| 235 | + | ||
| 236 | + manager.BDAppId = @"14435697"; | ||
| 237 | + manager.BDAppKey = @"3LqIXy2AtXxrxyFM8N73QGYN"; | ||
| 238 | + manager.BDSecret = @"EKZxZza8purqGHOmngkMi7awtZkm0lOW"; | ||
| 239 | + | ||
| 240 | + manager.WeiChatAppId_Share = @"wx9b7f9443a8ccf15a"; | ||
| 241 | + manager.WeiChatAppSecret_Share = @"8d9970bf2901411d8dd2bffb344f147e"; | ||
| 242 | + | ||
| 243 | + manager.QQShareAppId_Share = @"1106970445"; | ||
| 244 | + manager.QQShareAppSecret_Share = @"4hxuJ1HIes4i4hqT"; | ||
| 245 | + | ||
| 246 | + manager.ShareSDKAppId_Share = @"26192e9007048"; | ||
| 247 | + manager.ShareSDKAppSecret_Share = @"f9d2fbf7f7827925c532a716340363c7"; | ||
| 248 | + | ||
| 249 | + manager.WjjShare_Iden = @"group.com.cnlive.CNLiveNetAdd.debug"; | ||
| 250 | + | ||
| 251 | + manager.kWXAccount = @"wjj_app_test"; | ||
| 252 | + manager.kSdkAppId = @"1400052101"; | ||
| 253 | + manager.kSdkAccountType = @"27313"; | ||
| 254 | + | ||
| 255 | + manager.NetAddTestUrlSchems = @"CNLiveNetAddTestUrlSchems"; | ||
| 256 | + manager.NetAddTestUnionPaySchems = @"CNLiveNetAddTestUnionPaySchems"; | ||
| 257 | + | ||
| 258 | + } | ||
| 259 | + break; | ||
| 260 | + | ||
| 261 | + case CNLiveEnvironmentProductionAppStore://正式商店环境 | ||
| 262 | + { | ||
| 263 | + manager.isFormalEnvironment = YES; | ||
| 264 | + manager.isTestEnvironment = NO; | ||
| 265 | + | ||
| 266 | + manager.AppDownloadUrl = @"http://apiwjj.cnlive.com/download/index.html"; | ||
| 267 | + manager.ShareDarenHomeUrl = @"http://apiwjj.cnlive.com/daren/download.html"; | ||
| 268 | + manager.WjjH5_Host = @"http://wjjh5.cnlive.com"; | ||
| 269 | + | ||
| 270 | + manager.API_Host = @"https://apiwjj.cnlive.com"; | ||
| 271 | + manager.API_Contact = @"https://wjjim.cnlive.com"; | ||
| 272 | + manager.API_Refund = @"https://wjj.ys1.cnliveimg.com"; | ||
| 273 | + manager.API_Report = @"https://mobile.cnlive.com"; | ||
| 274 | + manager.API_OpenApi2 = @"https://api.cnlive.com/open/api2"; | ||
| 275 | + manager.API_Classify = @"http://cms.cnlive.com:8768"; | ||
| 276 | + | ||
| 277 | + manager.environmentDesc = @"正式商店版"; | ||
| 278 | + manager.bundleId = @"com.cnlive.CNLiveNetAdd"; | ||
| 279 | + | ||
| 280 | + manager.appId = @"769_jetj7bq525"; | ||
| 281 | + manager.appKey = @"0d57b045ec0c3988a682d94c644e66b9b8e0d2b8ef937d"; | ||
| 282 | + manager.appSecret = @"275e8dc29274a1186d82f65bc607c231d02bcb3bfd8976"; | ||
| 283 | + | ||
| 284 | + manager.displayName = @"网家家"; | ||
| 285 | + | ||
| 286 | + manager.GDApiKey = @"5a0e2a559b987e67d5b0c13490adde02"; | ||
| 287 | + manager.TingYunAppKey = @"37c9ea3f439145269e5cffe095466b17"; | ||
| 288 | + | ||
| 289 | + manager.BDAppId = @"14380860"; | ||
| 290 | + manager.BDAppKey = @"4bX1eK7SiCL461QBnRKilowc"; | ||
| 291 | + manager.BDSecret = @"BTzXLoPbUjlLeOM1nHnfOuTB9q18YZVq"; | ||
| 292 | + | ||
| 293 | + manager.WeiChatAppId_Share = @"wxed528fc749b7ee88"; | ||
| 294 | + manager.WeiChatAppSecret_Share = @"729c3d3055fe336bcdef7020c2548e89"; | ||
| 295 | + | ||
| 296 | + manager.QQShareAppId_Share = @"1106691520"; | ||
| 297 | + manager.QQShareAppSecret_Share = @"kLZ8CglGFjzrJFan"; | ||
| 298 | + | ||
| 299 | + manager.ShareSDKAppId_Share = @"24e4abeaa92d8"; | ||
| 300 | + manager.ShareSDKAppSecret_Share = @"da94a6f881d404092c9a7108e4470e8f"; | ||
| 301 | + | ||
| 302 | + manager.WjjShare_Iden = @"group.com.cnlive.CNLiveNetAdd"; | ||
| 303 | + | ||
| 304 | + manager.kWXAccount = @"wjj_app"; | ||
| 305 | + manager.kSdkAppId = @"1400051680"; | ||
| 306 | + manager.kSdkAccountType = @"19645"; | ||
| 307 | + | ||
| 308 | + manager.NetAddTestUrlSchems = @"CNLiveNetAddUrlSchems"; | ||
| 309 | + manager.NetAddTestUnionPaySchems = @"CNLiveNetAddUnionPaySchems"; | ||
| 310 | + | ||
| 311 | + } | ||
| 312 | + break; | ||
| 313 | + | ||
| 314 | + default: | ||
| 315 | + break; | ||
| 316 | + | ||
| 317 | + } | ||
| 318 | + | ||
| 319 | +} | ||
| 320 | + | ||
| 321 | +@end |
Example/CNLiveEnvironment.xcodeproj/project.pbxproj
0 → 100644
| 1 | +// !$*UTF8*$! | ||
| 2 | +{ | ||
| 3 | + archiveVersion = 1; | ||
| 4 | + classes = { | ||
| 5 | + }; | ||
| 6 | + objectVersion = 46; | ||
| 7 | + objects = { | ||
| 8 | + | ||
| 9 | +/* Begin PBXBuildFile section */ | ||
| 10 | + 6003F58E195388D20070C39A /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 6003F58D195388D20070C39A /* Foundation.framework */; }; | ||
| 11 | + 6003F590195388D20070C39A /* CoreGraphics.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 6003F58F195388D20070C39A /* CoreGraphics.framework */; }; | ||
| 12 | + 6003F592195388D20070C39A /* UIKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 6003F591195388D20070C39A /* UIKit.framework */; }; | ||
| 13 | + 6003F598195388D20070C39A /* InfoPlist.strings in Resources */ = {isa = PBXBuildFile; fileRef = 6003F596195388D20070C39A /* InfoPlist.strings */; }; | ||
| 14 | + 6003F59A195388D20070C39A /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 6003F599195388D20070C39A /* main.m */; }; | ||
| 15 | + 6003F59E195388D20070C39A /* XWAppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = 6003F59D195388D20070C39A /* XWAppDelegate.m */; }; | ||
| 16 | + 6003F5A7195388D20070C39A /* XWViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 6003F5A6195388D20070C39A /* XWViewController.m */; }; | ||
| 17 | + 6003F5A9195388D20070C39A /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 6003F5A8195388D20070C39A /* Images.xcassets */; }; | ||
| 18 | + 6003F5B0195388D20070C39A /* XCTest.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 6003F5AF195388D20070C39A /* XCTest.framework */; }; | ||
| 19 | + 6003F5B1195388D20070C39A /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 6003F58D195388D20070C39A /* Foundation.framework */; }; | ||
| 20 | + 6003F5B2195388D20070C39A /* UIKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 6003F591195388D20070C39A /* UIKit.framework */; }; | ||
| 21 | + 6003F5BA195388D20070C39A /* InfoPlist.strings in Resources */ = {isa = PBXBuildFile; fileRef = 6003F5B8195388D20070C39A /* InfoPlist.strings */; }; | ||
| 22 | + 6003F5BC195388D20070C39A /* Tests.m in Sources */ = {isa = PBXBuildFile; fileRef = 6003F5BB195388D20070C39A /* Tests.m */; }; | ||
| 23 | + 71719F9F1E33DC2100824A3D /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 71719F9D1E33DC2100824A3D /* LaunchScreen.storyboard */; }; | ||
| 24 | + 873B8AEB1B1F5CCA007FD442 /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 873B8AEA1B1F5CCA007FD442 /* Main.storyboard */; }; | ||
| 25 | + 88DF69C6462494E38B935229 /* Pods_CNLiveEnvironment_Tests.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 0AA06DBA36F35ECBD496D8CB /* Pods_CNLiveEnvironment_Tests.framework */; }; | ||
| 26 | + B0BE14C228A2B09B247176D1 /* Pods_CNLiveEnvironment_Example.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 792425BF388CF2405FBFFBA4 /* Pods_CNLiveEnvironment_Example.framework */; }; | ||
| 27 | +/* End PBXBuildFile section */ | ||
| 28 | + | ||
| 29 | +/* Begin PBXContainerItemProxy section */ | ||
| 30 | + 6003F5B3195388D20070C39A /* PBXContainerItemProxy */ = { | ||
| 31 | + isa = PBXContainerItemProxy; | ||
| 32 | + containerPortal = 6003F582195388D10070C39A /* Project object */; | ||
| 33 | + proxyType = 1; | ||
| 34 | + remoteGlobalIDString = 6003F589195388D20070C39A; | ||
| 35 | + remoteInfo = CNLiveEnvironment; | ||
| 36 | + }; | ||
| 37 | +/* End PBXContainerItemProxy section */ | ||
| 38 | + | ||
| 39 | +/* Begin PBXFileReference section */ | ||
| 40 | + 08ECC1CD1EEB93227B3DE7CE /* Pods-CNLiveEnvironment_Example.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-CNLiveEnvironment_Example.release.xcconfig"; path = "Target Support Files/Pods-CNLiveEnvironment_Example/Pods-CNLiveEnvironment_Example.release.xcconfig"; sourceTree = "<group>"; }; | ||
| 41 | + 0AA06DBA36F35ECBD496D8CB /* Pods_CNLiveEnvironment_Tests.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_CNLiveEnvironment_Tests.framework; sourceTree = BUILT_PRODUCTS_DIR; }; | ||
| 42 | + 0C3CF4210EABBB91E0393399 /* Pods-CNLiveEnvironment_Tests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-CNLiveEnvironment_Tests.release.xcconfig"; path = "Target Support Files/Pods-CNLiveEnvironment_Tests/Pods-CNLiveEnvironment_Tests.release.xcconfig"; sourceTree = "<group>"; }; | ||
| 43 | + 0F58772403D5A49319B2B24F /* LICENSE */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; name = LICENSE; path = ../LICENSE; sourceTree = "<group>"; }; | ||
| 44 | + 11A63441E035B3472CDA9508 /* Pods-CNLiveEnvironment_Tests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-CNLiveEnvironment_Tests.debug.xcconfig"; path = "Target Support Files/Pods-CNLiveEnvironment_Tests/Pods-CNLiveEnvironment_Tests.debug.xcconfig"; sourceTree = "<group>"; }; | ||
| 45 | + 6003F58A195388D20070C39A /* CNLiveEnvironment_Example.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = CNLiveEnvironment_Example.app; sourceTree = BUILT_PRODUCTS_DIR; }; | ||
| 46 | + 6003F58D195388D20070C39A /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = System/Library/Frameworks/Foundation.framework; sourceTree = SDKROOT; }; | ||
| 47 | + 6003F58F195388D20070C39A /* CoreGraphics.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreGraphics.framework; path = System/Library/Frameworks/CoreGraphics.framework; sourceTree = SDKROOT; }; | ||
| 48 | + 6003F591195388D20070C39A /* UIKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = UIKit.framework; path = System/Library/Frameworks/UIKit.framework; sourceTree = SDKROOT; }; | ||
| 49 | + 6003F595195388D20070C39A /* CNLiveEnvironment-Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = "CNLiveEnvironment-Info.plist"; sourceTree = "<group>"; }; | ||
| 50 | + 6003F597195388D20070C39A /* en */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = en; path = en.lproj/InfoPlist.strings; sourceTree = "<group>"; }; | ||
| 51 | + 6003F599195388D20070C39A /* main.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = "<group>"; }; | ||
| 52 | + 6003F59B195388D20070C39A /* CNLiveEnvironment-Prefix.pch */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "CNLiveEnvironment-Prefix.pch"; sourceTree = "<group>"; }; | ||
| 53 | + 6003F59C195388D20070C39A /* XWAppDelegate.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = XWAppDelegate.h; sourceTree = "<group>"; }; | ||
| 54 | + 6003F59D195388D20070C39A /* XWAppDelegate.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = XWAppDelegate.m; sourceTree = "<group>"; }; | ||
| 55 | + 6003F5A5195388D20070C39A /* XWViewController.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = XWViewController.h; sourceTree = "<group>"; }; | ||
| 56 | + 6003F5A6195388D20070C39A /* XWViewController.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = XWViewController.m; sourceTree = "<group>"; }; | ||
| 57 | + 6003F5A8195388D20070C39A /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Images.xcassets; sourceTree = "<group>"; }; | ||
| 58 | + 6003F5AE195388D20070C39A /* CNLiveEnvironment_Tests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = CNLiveEnvironment_Tests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; | ||
| 59 | + 6003F5AF195388D20070C39A /* XCTest.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = XCTest.framework; path = Library/Frameworks/XCTest.framework; sourceTree = DEVELOPER_DIR; }; | ||
| 60 | + 6003F5B7195388D20070C39A /* Tests-Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = "Tests-Info.plist"; sourceTree = "<group>"; }; | ||
| 61 | + 6003F5B9195388D20070C39A /* en */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = en; path = en.lproj/InfoPlist.strings; sourceTree = "<group>"; }; | ||
| 62 | + 6003F5BB195388D20070C39A /* Tests.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = Tests.m; sourceTree = "<group>"; }; | ||
| 63 | + 606FC2411953D9B200FFA9A0 /* Tests-Prefix.pch */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "Tests-Prefix.pch"; sourceTree = "<group>"; }; | ||
| 64 | + 62DF320FDC78D45B599004B2 /* README.md */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = net.daringfireball.markdown; name = README.md; path = ../README.md; sourceTree = "<group>"; }; | ||
| 65 | + 7148D261D24176B03ABD1A02 /* CNLiveEnvironment.podspec */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; name = CNLiveEnvironment.podspec; path = ../CNLiveEnvironment.podspec; sourceTree = "<group>"; xcLanguageSpecificationIdentifier = xcode.lang.ruby; }; | ||
| 66 | + 71719F9E1E33DC2100824A3D /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = "<group>"; }; | ||
| 67 | + 792425BF388CF2405FBFFBA4 /* Pods_CNLiveEnvironment_Example.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_CNLiveEnvironment_Example.framework; sourceTree = BUILT_PRODUCTS_DIR; }; | ||
| 68 | + 873B8AEA1B1F5CCA007FD442 /* Main.storyboard */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.storyboard; name = Main.storyboard; path = Base.lproj/Main.storyboard; sourceTree = "<group>"; }; | ||
| 69 | + C33A0F8E9BD9653B4C23A45F /* Pods-CNLiveEnvironment_Example.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-CNLiveEnvironment_Example.debug.xcconfig"; path = "Target Support Files/Pods-CNLiveEnvironment_Example/Pods-CNLiveEnvironment_Example.debug.xcconfig"; sourceTree = "<group>"; }; | ||
| 70 | +/* End PBXFileReference section */ | ||
| 71 | + | ||
| 72 | +/* Begin PBXFrameworksBuildPhase section */ | ||
| 73 | + 6003F587195388D20070C39A /* Frameworks */ = { | ||
| 74 | + isa = PBXFrameworksBuildPhase; | ||
| 75 | + buildActionMask = 2147483647; | ||
| 76 | + files = ( | ||
| 77 | + 6003F590195388D20070C39A /* CoreGraphics.framework in Frameworks */, | ||
| 78 | + 6003F592195388D20070C39A /* UIKit.framework in Frameworks */, | ||
| 79 | + 6003F58E195388D20070C39A /* Foundation.framework in Frameworks */, | ||
| 80 | + B0BE14C228A2B09B247176D1 /* Pods_CNLiveEnvironment_Example.framework in Frameworks */, | ||
| 81 | + ); | ||
| 82 | + runOnlyForDeploymentPostprocessing = 0; | ||
| 83 | + }; | ||
| 84 | + 6003F5AB195388D20070C39A /* Frameworks */ = { | ||
| 85 | + isa = PBXFrameworksBuildPhase; | ||
| 86 | + buildActionMask = 2147483647; | ||
| 87 | + files = ( | ||
| 88 | + 6003F5B0195388D20070C39A /* XCTest.framework in Frameworks */, | ||
| 89 | + 6003F5B2195388D20070C39A /* UIKit.framework in Frameworks */, | ||
| 90 | + 6003F5B1195388D20070C39A /* Foundation.framework in Frameworks */, | ||
| 91 | + 88DF69C6462494E38B935229 /* Pods_CNLiveEnvironment_Tests.framework in Frameworks */, | ||
| 92 | + ); | ||
| 93 | + runOnlyForDeploymentPostprocessing = 0; | ||
| 94 | + }; | ||
| 95 | +/* End PBXFrameworksBuildPhase section */ | ||
| 96 | + | ||
| 97 | +/* Begin PBXGroup section */ | ||
| 98 | + 2E1433FAAE84E77B92D9FDB7 /* Pods */ = { | ||
| 99 | + isa = PBXGroup; | ||
| 100 | + children = ( | ||
| 101 | + C33A0F8E9BD9653B4C23A45F /* Pods-CNLiveEnvironment_Example.debug.xcconfig */, | ||
| 102 | + 08ECC1CD1EEB93227B3DE7CE /* Pods-CNLiveEnvironment_Example.release.xcconfig */, | ||
| 103 | + 11A63441E035B3472CDA9508 /* Pods-CNLiveEnvironment_Tests.debug.xcconfig */, | ||
| 104 | + 0C3CF4210EABBB91E0393399 /* Pods-CNLiveEnvironment_Tests.release.xcconfig */, | ||
| 105 | + ); | ||
| 106 | + path = Pods; | ||
| 107 | + sourceTree = "<group>"; | ||
| 108 | + }; | ||
| 109 | + 6003F581195388D10070C39A = { | ||
| 110 | + isa = PBXGroup; | ||
| 111 | + children = ( | ||
| 112 | + 60FF7A9C1954A5C5007DD14C /* Podspec Metadata */, | ||
| 113 | + 6003F593195388D20070C39A /* Example for CNLiveEnvironment */, | ||
| 114 | + 6003F5B5195388D20070C39A /* Tests */, | ||
| 115 | + 6003F58C195388D20070C39A /* Frameworks */, | ||
| 116 | + 6003F58B195388D20070C39A /* Products */, | ||
| 117 | + 2E1433FAAE84E77B92D9FDB7 /* Pods */, | ||
| 118 | + ); | ||
| 119 | + sourceTree = "<group>"; | ||
| 120 | + }; | ||
| 121 | + 6003F58B195388D20070C39A /* Products */ = { | ||
| 122 | + isa = PBXGroup; | ||
| 123 | + children = ( | ||
| 124 | + 6003F58A195388D20070C39A /* CNLiveEnvironment_Example.app */, | ||
| 125 | + 6003F5AE195388D20070C39A /* CNLiveEnvironment_Tests.xctest */, | ||
| 126 | + ); | ||
| 127 | + name = Products; | ||
| 128 | + sourceTree = "<group>"; | ||
| 129 | + }; | ||
| 130 | + 6003F58C195388D20070C39A /* Frameworks */ = { | ||
| 131 | + isa = PBXGroup; | ||
| 132 | + children = ( | ||
| 133 | + 6003F58D195388D20070C39A /* Foundation.framework */, | ||
| 134 | + 6003F58F195388D20070C39A /* CoreGraphics.framework */, | ||
| 135 | + 6003F591195388D20070C39A /* UIKit.framework */, | ||
| 136 | + 6003F5AF195388D20070C39A /* XCTest.framework */, | ||
| 137 | + 792425BF388CF2405FBFFBA4 /* Pods_CNLiveEnvironment_Example.framework */, | ||
| 138 | + 0AA06DBA36F35ECBD496D8CB /* Pods_CNLiveEnvironment_Tests.framework */, | ||
| 139 | + ); | ||
| 140 | + name = Frameworks; | ||
| 141 | + sourceTree = "<group>"; | ||
| 142 | + }; | ||
| 143 | + 6003F593195388D20070C39A /* Example for CNLiveEnvironment */ = { | ||
| 144 | + isa = PBXGroup; | ||
| 145 | + children = ( | ||
| 146 | + 6003F59C195388D20070C39A /* XWAppDelegate.h */, | ||
| 147 | + 6003F59D195388D20070C39A /* XWAppDelegate.m */, | ||
| 148 | + 873B8AEA1B1F5CCA007FD442 /* Main.storyboard */, | ||
| 149 | + 6003F5A5195388D20070C39A /* XWViewController.h */, | ||
| 150 | + 6003F5A6195388D20070C39A /* XWViewController.m */, | ||
| 151 | + 71719F9D1E33DC2100824A3D /* LaunchScreen.storyboard */, | ||
| 152 | + 6003F5A8195388D20070C39A /* Images.xcassets */, | ||
| 153 | + 6003F594195388D20070C39A /* Supporting Files */, | ||
| 154 | + ); | ||
| 155 | + name = "Example for CNLiveEnvironment"; | ||
| 156 | + path = CNLiveEnvironment; | ||
| 157 | + sourceTree = "<group>"; | ||
| 158 | + }; | ||
| 159 | + 6003F594195388D20070C39A /* Supporting Files */ = { | ||
| 160 | + isa = PBXGroup; | ||
| 161 | + children = ( | ||
| 162 | + 6003F595195388D20070C39A /* CNLiveEnvironment-Info.plist */, | ||
| 163 | + 6003F596195388D20070C39A /* InfoPlist.strings */, | ||
| 164 | + 6003F599195388D20070C39A /* main.m */, | ||
| 165 | + 6003F59B195388D20070C39A /* CNLiveEnvironment-Prefix.pch */, | ||
| 166 | + ); | ||
| 167 | + name = "Supporting Files"; | ||
| 168 | + sourceTree = "<group>"; | ||
| 169 | + }; | ||
| 170 | + 6003F5B5195388D20070C39A /* Tests */ = { | ||
| 171 | + isa = PBXGroup; | ||
| 172 | + children = ( | ||
| 173 | + 6003F5BB195388D20070C39A /* Tests.m */, | ||
| 174 | + 6003F5B6195388D20070C39A /* Supporting Files */, | ||
| 175 | + ); | ||
| 176 | + path = Tests; | ||
| 177 | + sourceTree = "<group>"; | ||
| 178 | + }; | ||
| 179 | + 6003F5B6195388D20070C39A /* Supporting Files */ = { | ||
| 180 | + isa = PBXGroup; | ||
| 181 | + children = ( | ||
| 182 | + 6003F5B7195388D20070C39A /* Tests-Info.plist */, | ||
| 183 | + 6003F5B8195388D20070C39A /* InfoPlist.strings */, | ||
| 184 | + 606FC2411953D9B200FFA9A0 /* Tests-Prefix.pch */, | ||
| 185 | + ); | ||
| 186 | + name = "Supporting Files"; | ||
| 187 | + sourceTree = "<group>"; | ||
| 188 | + }; | ||
| 189 | + 60FF7A9C1954A5C5007DD14C /* Podspec Metadata */ = { | ||
| 190 | + isa = PBXGroup; | ||
| 191 | + children = ( | ||
| 192 | + 7148D261D24176B03ABD1A02 /* CNLiveEnvironment.podspec */, | ||
| 193 | + 62DF320FDC78D45B599004B2 /* README.md */, | ||
| 194 | + 0F58772403D5A49319B2B24F /* LICENSE */, | ||
| 195 | + ); | ||
| 196 | + name = "Podspec Metadata"; | ||
| 197 | + sourceTree = "<group>"; | ||
| 198 | + }; | ||
| 199 | +/* End PBXGroup section */ | ||
| 200 | + | ||
| 201 | +/* Begin PBXNativeTarget section */ | ||
| 202 | + 6003F589195388D20070C39A /* CNLiveEnvironment_Example */ = { | ||
| 203 | + isa = PBXNativeTarget; | ||
| 204 | + buildConfigurationList = 6003F5BF195388D20070C39A /* Build configuration list for PBXNativeTarget "CNLiveEnvironment_Example" */; | ||
| 205 | + buildPhases = ( | ||
| 206 | + 61A5B351A6B812B634CA5DB8 /* [CP] Check Pods Manifest.lock */, | ||
| 207 | + 6003F586195388D20070C39A /* Sources */, | ||
| 208 | + 6003F587195388D20070C39A /* Frameworks */, | ||
| 209 | + 6003F588195388D20070C39A /* Resources */, | ||
| 210 | + 0A2B86F8EA595C22B010212A /* [CP] Embed Pods Frameworks */, | ||
| 211 | + ); | ||
| 212 | + buildRules = ( | ||
| 213 | + ); | ||
| 214 | + dependencies = ( | ||
| 215 | + ); | ||
| 216 | + name = CNLiveEnvironment_Example; | ||
| 217 | + productName = CNLiveEnvironment; | ||
| 218 | + productReference = 6003F58A195388D20070C39A /* CNLiveEnvironment_Example.app */; | ||
| 219 | + productType = "com.apple.product-type.application"; | ||
| 220 | + }; | ||
| 221 | + 6003F5AD195388D20070C39A /* CNLiveEnvironment_Tests */ = { | ||
| 222 | + isa = PBXNativeTarget; | ||
| 223 | + buildConfigurationList = 6003F5C2195388D20070C39A /* Build configuration list for PBXNativeTarget "CNLiveEnvironment_Tests" */; | ||
| 224 | + buildPhases = ( | ||
| 225 | + FEC8CEE31AB79AF09DEDE03A /* [CP] Check Pods Manifest.lock */, | ||
| 226 | + 6003F5AA195388D20070C39A /* Sources */, | ||
| 227 | + 6003F5AB195388D20070C39A /* Frameworks */, | ||
| 228 | + 6003F5AC195388D20070C39A /* Resources */, | ||
| 229 | + ); | ||
| 230 | + buildRules = ( | ||
| 231 | + ); | ||
| 232 | + dependencies = ( | ||
| 233 | + 6003F5B4195388D20070C39A /* PBXTargetDependency */, | ||
| 234 | + ); | ||
| 235 | + name = CNLiveEnvironment_Tests; | ||
| 236 | + productName = CNLiveEnvironmentTests; | ||
| 237 | + productReference = 6003F5AE195388D20070C39A /* CNLiveEnvironment_Tests.xctest */; | ||
| 238 | + productType = "com.apple.product-type.bundle.unit-test"; | ||
| 239 | + }; | ||
| 240 | +/* End PBXNativeTarget section */ | ||
| 241 | + | ||
| 242 | +/* Begin PBXProject section */ | ||
| 243 | + 6003F582195388D10070C39A /* Project object */ = { | ||
| 244 | + isa = PBXProject; | ||
| 245 | + attributes = { | ||
| 246 | + CLASSPREFIX = XW; | ||
| 247 | + LastUpgradeCheck = 0720; | ||
| 248 | + ORGANIZATIONNAME = "153993236@qq.com"; | ||
| 249 | + TargetAttributes = { | ||
| 250 | + 6003F589195388D20070C39A = { | ||
| 251 | + DevelopmentTeam = 94X49GG3ZW; | ||
| 252 | + }; | ||
| 253 | + 6003F5AD195388D20070C39A = { | ||
| 254 | + TestTargetID = 6003F589195388D20070C39A; | ||
| 255 | + }; | ||
| 256 | + }; | ||
| 257 | + }; | ||
| 258 | + buildConfigurationList = 6003F585195388D10070C39A /* Build configuration list for PBXProject "CNLiveEnvironment" */; | ||
| 259 | + compatibilityVersion = "Xcode 3.2"; | ||
| 260 | + developmentRegion = English; | ||
| 261 | + hasScannedForEncodings = 0; | ||
| 262 | + knownRegions = ( | ||
| 263 | + en, | ||
| 264 | + Base, | ||
| 265 | + ); | ||
| 266 | + mainGroup = 6003F581195388D10070C39A; | ||
| 267 | + productRefGroup = 6003F58B195388D20070C39A /* Products */; | ||
| 268 | + projectDirPath = ""; | ||
| 269 | + projectRoot = ""; | ||
| 270 | + targets = ( | ||
| 271 | + 6003F589195388D20070C39A /* CNLiveEnvironment_Example */, | ||
| 272 | + 6003F5AD195388D20070C39A /* CNLiveEnvironment_Tests */, | ||
| 273 | + ); | ||
| 274 | + }; | ||
| 275 | +/* End PBXProject section */ | ||
| 276 | + | ||
| 277 | +/* Begin PBXResourcesBuildPhase section */ | ||
| 278 | + 6003F588195388D20070C39A /* Resources */ = { | ||
| 279 | + isa = PBXResourcesBuildPhase; | ||
| 280 | + buildActionMask = 2147483647; | ||
| 281 | + files = ( | ||
| 282 | + 873B8AEB1B1F5CCA007FD442 /* Main.storyboard in Resources */, | ||
| 283 | + 71719F9F1E33DC2100824A3D /* LaunchScreen.storyboard in Resources */, | ||
| 284 | + 6003F5A9195388D20070C39A /* Images.xcassets in Resources */, | ||
| 285 | + 6003F598195388D20070C39A /* InfoPlist.strings in Resources */, | ||
| 286 | + ); | ||
| 287 | + runOnlyForDeploymentPostprocessing = 0; | ||
| 288 | + }; | ||
| 289 | + 6003F5AC195388D20070C39A /* Resources */ = { | ||
| 290 | + isa = PBXResourcesBuildPhase; | ||
| 291 | + buildActionMask = 2147483647; | ||
| 292 | + files = ( | ||
| 293 | + 6003F5BA195388D20070C39A /* InfoPlist.strings in Resources */, | ||
| 294 | + ); | ||
| 295 | + runOnlyForDeploymentPostprocessing = 0; | ||
| 296 | + }; | ||
| 297 | +/* End PBXResourcesBuildPhase section */ | ||
| 298 | + | ||
| 299 | +/* Begin PBXShellScriptBuildPhase section */ | ||
| 300 | + 0A2B86F8EA595C22B010212A /* [CP] Embed Pods Frameworks */ = { | ||
| 301 | + isa = PBXShellScriptBuildPhase; | ||
| 302 | + buildActionMask = 2147483647; | ||
| 303 | + files = ( | ||
| 304 | + ); | ||
| 305 | + inputFileListPaths = ( | ||
| 306 | + ); | ||
| 307 | + inputPaths = ( | ||
| 308 | + "${PODS_ROOT}/Target Support Files/Pods-CNLiveEnvironment_Example/Pods-CNLiveEnvironment_Example-frameworks.sh", | ||
| 309 | + "${BUILT_PRODUCTS_DIR}/CNLiveEnvironment/CNLiveEnvironment.framework", | ||
| 310 | + ); | ||
| 311 | + name = "[CP] Embed Pods Frameworks"; | ||
| 312 | + outputFileListPaths = ( | ||
| 313 | + ); | ||
| 314 | + outputPaths = ( | ||
| 315 | + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/CNLiveEnvironment.framework", | ||
| 316 | + ); | ||
| 317 | + runOnlyForDeploymentPostprocessing = 0; | ||
| 318 | + shellPath = /bin/sh; | ||
| 319 | + shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-CNLiveEnvironment_Example/Pods-CNLiveEnvironment_Example-frameworks.sh\"\n"; | ||
| 320 | + showEnvVarsInLog = 0; | ||
| 321 | + }; | ||
| 322 | + 61A5B351A6B812B634CA5DB8 /* [CP] Check Pods Manifest.lock */ = { | ||
| 323 | + isa = PBXShellScriptBuildPhase; | ||
| 324 | + buildActionMask = 2147483647; | ||
| 325 | + files = ( | ||
| 326 | + ); | ||
| 327 | + inputFileListPaths = ( | ||
| 328 | + ); | ||
| 329 | + inputPaths = ( | ||
| 330 | + "${PODS_PODFILE_DIR_PATH}/Podfile.lock", | ||
| 331 | + "${PODS_ROOT}/Manifest.lock", | ||
| 332 | + ); | ||
| 333 | + name = "[CP] Check Pods Manifest.lock"; | ||
| 334 | + outputFileListPaths = ( | ||
| 335 | + ); | ||
| 336 | + outputPaths = ( | ||
| 337 | + "$(DERIVED_FILE_DIR)/Pods-CNLiveEnvironment_Example-checkManifestLockResult.txt", | ||
| 338 | + ); | ||
| 339 | + runOnlyForDeploymentPostprocessing = 0; | ||
| 340 | + shellPath = /bin/sh; | ||
| 341 | + shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n"; | ||
| 342 | + showEnvVarsInLog = 0; | ||
| 343 | + }; | ||
| 344 | + FEC8CEE31AB79AF09DEDE03A /* [CP] Check Pods Manifest.lock */ = { | ||
| 345 | + isa = PBXShellScriptBuildPhase; | ||
| 346 | + buildActionMask = 2147483647; | ||
| 347 | + files = ( | ||
| 348 | + ); | ||
| 349 | + inputFileListPaths = ( | ||
| 350 | + ); | ||
| 351 | + inputPaths = ( | ||
| 352 | + "${PODS_PODFILE_DIR_PATH}/Podfile.lock", | ||
| 353 | + "${PODS_ROOT}/Manifest.lock", | ||
| 354 | + ); | ||
| 355 | + name = "[CP] Check Pods Manifest.lock"; | ||
| 356 | + outputFileListPaths = ( | ||
| 357 | + ); | ||
| 358 | + outputPaths = ( | ||
| 359 | + "$(DERIVED_FILE_DIR)/Pods-CNLiveEnvironment_Tests-checkManifestLockResult.txt", | ||
| 360 | + ); | ||
| 361 | + runOnlyForDeploymentPostprocessing = 0; | ||
| 362 | + shellPath = /bin/sh; | ||
| 363 | + shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n"; | ||
| 364 | + showEnvVarsInLog = 0; | ||
| 365 | + }; | ||
| 366 | +/* End PBXShellScriptBuildPhase section */ | ||
| 367 | + | ||
| 368 | +/* Begin PBXSourcesBuildPhase section */ | ||
| 369 | + 6003F586195388D20070C39A /* Sources */ = { | ||
| 370 | + isa = PBXSourcesBuildPhase; | ||
| 371 | + buildActionMask = 2147483647; | ||
| 372 | + files = ( | ||
| 373 | + 6003F59E195388D20070C39A /* XWAppDelegate.m in Sources */, | ||
| 374 | + 6003F5A7195388D20070C39A /* XWViewController.m in Sources */, | ||
| 375 | + 6003F59A195388D20070C39A /* main.m in Sources */, | ||
| 376 | + ); | ||
| 377 | + runOnlyForDeploymentPostprocessing = 0; | ||
| 378 | + }; | ||
| 379 | + 6003F5AA195388D20070C39A /* Sources */ = { | ||
| 380 | + isa = PBXSourcesBuildPhase; | ||
| 381 | + buildActionMask = 2147483647; | ||
| 382 | + files = ( | ||
| 383 | + 6003F5BC195388D20070C39A /* Tests.m in Sources */, | ||
| 384 | + ); | ||
| 385 | + runOnlyForDeploymentPostprocessing = 0; | ||
| 386 | + }; | ||
| 387 | +/* End PBXSourcesBuildPhase section */ | ||
| 388 | + | ||
| 389 | +/* Begin PBXTargetDependency section */ | ||
| 390 | + 6003F5B4195388D20070C39A /* PBXTargetDependency */ = { | ||
| 391 | + isa = PBXTargetDependency; | ||
| 392 | + target = 6003F589195388D20070C39A /* CNLiveEnvironment_Example */; | ||
| 393 | + targetProxy = 6003F5B3195388D20070C39A /* PBXContainerItemProxy */; | ||
| 394 | + }; | ||
| 395 | +/* End PBXTargetDependency section */ | ||
| 396 | + | ||
| 397 | +/* Begin PBXVariantGroup section */ | ||
| 398 | + 6003F596195388D20070C39A /* InfoPlist.strings */ = { | ||
| 399 | + isa = PBXVariantGroup; | ||
| 400 | + children = ( | ||
| 401 | + 6003F597195388D20070C39A /* en */, | ||
| 402 | + ); | ||
| 403 | + name = InfoPlist.strings; | ||
| 404 | + sourceTree = "<group>"; | ||
| 405 | + }; | ||
| 406 | + 6003F5B8195388D20070C39A /* InfoPlist.strings */ = { | ||
| 407 | + isa = PBXVariantGroup; | ||
| 408 | + children = ( | ||
| 409 | + 6003F5B9195388D20070C39A /* en */, | ||
| 410 | + ); | ||
| 411 | + name = InfoPlist.strings; | ||
| 412 | + sourceTree = "<group>"; | ||
| 413 | + }; | ||
| 414 | + 71719F9D1E33DC2100824A3D /* LaunchScreen.storyboard */ = { | ||
| 415 | + isa = PBXVariantGroup; | ||
| 416 | + children = ( | ||
| 417 | + 71719F9E1E33DC2100824A3D /* Base */, | ||
| 418 | + ); | ||
| 419 | + name = LaunchScreen.storyboard; | ||
| 420 | + sourceTree = "<group>"; | ||
| 421 | + }; | ||
| 422 | +/* End PBXVariantGroup section */ | ||
| 423 | + | ||
| 424 | +/* Begin XCBuildConfiguration section */ | ||
| 425 | + 6003F5BD195388D20070C39A /* Debug */ = { | ||
| 426 | + isa = XCBuildConfiguration; | ||
| 427 | + buildSettings = { | ||
| 428 | + ALWAYS_SEARCH_USER_PATHS = NO; | ||
| 429 | + CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; | ||
| 430 | + CLANG_CXX_LIBRARY = "libc++"; | ||
| 431 | + CLANG_ENABLE_MODULES = YES; | ||
| 432 | + CLANG_ENABLE_OBJC_ARC = YES; | ||
| 433 | + CLANG_WARN_BOOL_CONVERSION = YES; | ||
| 434 | + CLANG_WARN_CONSTANT_CONVERSION = YES; | ||
| 435 | + CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; | ||
| 436 | + CLANG_WARN_EMPTY_BODY = YES; | ||
| 437 | + CLANG_WARN_ENUM_CONVERSION = YES; | ||
| 438 | + CLANG_WARN_INT_CONVERSION = YES; | ||
| 439 | + CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; | ||
| 440 | + CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; | ||
| 441 | + "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; | ||
| 442 | + COPY_PHASE_STRIP = NO; | ||
| 443 | + ENABLE_TESTABILITY = YES; | ||
| 444 | + GCC_C_LANGUAGE_STANDARD = gnu99; | ||
| 445 | + GCC_DYNAMIC_NO_PIC = NO; | ||
| 446 | + GCC_OPTIMIZATION_LEVEL = 0; | ||
| 447 | + GCC_PREPROCESSOR_DEFINITIONS = ( | ||
| 448 | + "DEBUG=1", | ||
| 449 | + "$(inherited)", | ||
| 450 | + ); | ||
| 451 | + GCC_SYMBOLS_PRIVATE_EXTERN = NO; | ||
| 452 | + GCC_WARN_64_TO_32_BIT_CONVERSION = YES; | ||
| 453 | + GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; | ||
| 454 | + GCC_WARN_UNDECLARED_SELECTOR = YES; | ||
| 455 | + GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; | ||
| 456 | + GCC_WARN_UNUSED_FUNCTION = YES; | ||
| 457 | + GCC_WARN_UNUSED_VARIABLE = YES; | ||
| 458 | + IPHONEOS_DEPLOYMENT_TARGET = 9.3; | ||
| 459 | + ONLY_ACTIVE_ARCH = YES; | ||
| 460 | + SDKROOT = iphoneos; | ||
| 461 | + TARGETED_DEVICE_FAMILY = "1,2"; | ||
| 462 | + }; | ||
| 463 | + name = Debug; | ||
| 464 | + }; | ||
| 465 | + 6003F5BE195388D20070C39A /* Release */ = { | ||
| 466 | + isa = XCBuildConfiguration; | ||
| 467 | + buildSettings = { | ||
| 468 | + ALWAYS_SEARCH_USER_PATHS = NO; | ||
| 469 | + CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; | ||
| 470 | + CLANG_CXX_LIBRARY = "libc++"; | ||
| 471 | + CLANG_ENABLE_MODULES = YES; | ||
| 472 | + CLANG_ENABLE_OBJC_ARC = YES; | ||
| 473 | + CLANG_WARN_BOOL_CONVERSION = YES; | ||
| 474 | + CLANG_WARN_CONSTANT_CONVERSION = YES; | ||
| 475 | + CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; | ||
| 476 | + CLANG_WARN_EMPTY_BODY = YES; | ||
| 477 | + CLANG_WARN_ENUM_CONVERSION = YES; | ||
| 478 | + CLANG_WARN_INT_CONVERSION = YES; | ||
| 479 | + CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; | ||
| 480 | + CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; | ||
| 481 | + "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; | ||
| 482 | + COPY_PHASE_STRIP = YES; | ||
| 483 | + ENABLE_NS_ASSERTIONS = NO; | ||
| 484 | + GCC_C_LANGUAGE_STANDARD = gnu99; | ||
| 485 | + GCC_WARN_64_TO_32_BIT_CONVERSION = YES; | ||
| 486 | + GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; | ||
| 487 | + GCC_WARN_UNDECLARED_SELECTOR = YES; | ||
| 488 | + GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; | ||
| 489 | + GCC_WARN_UNUSED_FUNCTION = YES; | ||
| 490 | + GCC_WARN_UNUSED_VARIABLE = YES; | ||
| 491 | + IPHONEOS_DEPLOYMENT_TARGET = 9.3; | ||
| 492 | + SDKROOT = iphoneos; | ||
| 493 | + TARGETED_DEVICE_FAMILY = "1,2"; | ||
| 494 | + VALIDATE_PRODUCT = YES; | ||
| 495 | + }; | ||
| 496 | + name = Release; | ||
| 497 | + }; | ||
| 498 | + 6003F5C0195388D20070C39A /* Debug */ = { | ||
| 499 | + isa = XCBuildConfiguration; | ||
| 500 | + baseConfigurationReference = C33A0F8E9BD9653B4C23A45F /* Pods-CNLiveEnvironment_Example.debug.xcconfig */; | ||
| 501 | + buildSettings = { | ||
| 502 | + ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; | ||
| 503 | + DEVELOPMENT_TEAM = 94X49GG3ZW; | ||
| 504 | + GCC_PRECOMPILE_PREFIX_HEADER = YES; | ||
| 505 | + GCC_PREFIX_HEADER = "CNLiveEnvironment/CNLiveEnvironment-Prefix.pch"; | ||
| 506 | + INFOPLIST_FILE = "CNLiveEnvironment/CNLiveEnvironment-Info.plist"; | ||
| 507 | + MODULE_NAME = ExampleApp; | ||
| 508 | + PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.demo.${PRODUCT_NAME:rfc1034identifier}"; | ||
| 509 | + PRODUCT_NAME = "$(TARGET_NAME)"; | ||
| 510 | + SWIFT_VERSION = 4.0; | ||
| 511 | + WRAPPER_EXTENSION = app; | ||
| 512 | + }; | ||
| 513 | + name = Debug; | ||
| 514 | + }; | ||
| 515 | + 6003F5C1195388D20070C39A /* Release */ = { | ||
| 516 | + isa = XCBuildConfiguration; | ||
| 517 | + baseConfigurationReference = 08ECC1CD1EEB93227B3DE7CE /* Pods-CNLiveEnvironment_Example.release.xcconfig */; | ||
| 518 | + buildSettings = { | ||
| 519 | + ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; | ||
| 520 | + DEVELOPMENT_TEAM = 94X49GG3ZW; | ||
| 521 | + GCC_PRECOMPILE_PREFIX_HEADER = YES; | ||
| 522 | + GCC_PREFIX_HEADER = "CNLiveEnvironment/CNLiveEnvironment-Prefix.pch"; | ||
| 523 | + INFOPLIST_FILE = "CNLiveEnvironment/CNLiveEnvironment-Info.plist"; | ||
| 524 | + MODULE_NAME = ExampleApp; | ||
| 525 | + PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.demo.${PRODUCT_NAME:rfc1034identifier}"; | ||
| 526 | + PRODUCT_NAME = "$(TARGET_NAME)"; | ||
| 527 | + SWIFT_VERSION = 4.0; | ||
| 528 | + WRAPPER_EXTENSION = app; | ||
| 529 | + }; | ||
| 530 | + name = Release; | ||
| 531 | + }; | ||
| 532 | + 6003F5C3195388D20070C39A /* Debug */ = { | ||
| 533 | + isa = XCBuildConfiguration; | ||
| 534 | + baseConfigurationReference = 11A63441E035B3472CDA9508 /* Pods-CNLiveEnvironment_Tests.debug.xcconfig */; | ||
| 535 | + buildSettings = { | ||
| 536 | + BUNDLE_LOADER = "$(TEST_HOST)"; | ||
| 537 | + FRAMEWORK_SEARCH_PATHS = ( | ||
| 538 | + "$(PLATFORM_DIR)/Developer/Library/Frameworks", | ||
| 539 | + "$(inherited)", | ||
| 540 | + "$(DEVELOPER_FRAMEWORKS_DIR)", | ||
| 541 | + ); | ||
| 542 | + GCC_PRECOMPILE_PREFIX_HEADER = YES; | ||
| 543 | + GCC_PREFIX_HEADER = "Tests/Tests-Prefix.pch"; | ||
| 544 | + GCC_PREPROCESSOR_DEFINITIONS = ( | ||
| 545 | + "DEBUG=1", | ||
| 546 | + "$(inherited)", | ||
| 547 | + ); | ||
| 548 | + INFOPLIST_FILE = "Tests/Tests-Info.plist"; | ||
| 549 | + PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.demo.${PRODUCT_NAME:rfc1034identifier}"; | ||
| 550 | + PRODUCT_NAME = "$(TARGET_NAME)"; | ||
| 551 | + SWIFT_VERSION = 4.0; | ||
| 552 | + TEST_HOST = "$(BUILT_PRODUCTS_DIR)/CNLiveEnvironment_Example.app/CNLiveEnvironment_Example"; | ||
| 553 | + WRAPPER_EXTENSION = xctest; | ||
| 554 | + }; | ||
| 555 | + name = Debug; | ||
| 556 | + }; | ||
| 557 | + 6003F5C4195388D20070C39A /* Release */ = { | ||
| 558 | + isa = XCBuildConfiguration; | ||
| 559 | + baseConfigurationReference = 0C3CF4210EABBB91E0393399 /* Pods-CNLiveEnvironment_Tests.release.xcconfig */; | ||
| 560 | + buildSettings = { | ||
| 561 | + BUNDLE_LOADER = "$(TEST_HOST)"; | ||
| 562 | + FRAMEWORK_SEARCH_PATHS = ( | ||
| 563 | + "$(PLATFORM_DIR)/Developer/Library/Frameworks", | ||
| 564 | + "$(inherited)", | ||
| 565 | + "$(DEVELOPER_FRAMEWORKS_DIR)", | ||
| 566 | + ); | ||
| 567 | + GCC_PRECOMPILE_PREFIX_HEADER = YES; | ||
| 568 | + GCC_PREFIX_HEADER = "Tests/Tests-Prefix.pch"; | ||
| 569 | + INFOPLIST_FILE = "Tests/Tests-Info.plist"; | ||
| 570 | + PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.demo.${PRODUCT_NAME:rfc1034identifier}"; | ||
| 571 | + PRODUCT_NAME = "$(TARGET_NAME)"; | ||
| 572 | + SWIFT_VERSION = 4.0; | ||
| 573 | + TEST_HOST = "$(BUILT_PRODUCTS_DIR)/CNLiveEnvironment_Example.app/CNLiveEnvironment_Example"; | ||
| 574 | + WRAPPER_EXTENSION = xctest; | ||
| 575 | + }; | ||
| 576 | + name = Release; | ||
| 577 | + }; | ||
| 578 | +/* End XCBuildConfiguration section */ | ||
| 579 | + | ||
| 580 | +/* Begin XCConfigurationList section */ | ||
| 581 | + 6003F585195388D10070C39A /* Build configuration list for PBXProject "CNLiveEnvironment" */ = { | ||
| 582 | + isa = XCConfigurationList; | ||
| 583 | + buildConfigurations = ( | ||
| 584 | + 6003F5BD195388D20070C39A /* Debug */, | ||
| 585 | + 6003F5BE195388D20070C39A /* Release */, | ||
| 586 | + ); | ||
| 587 | + defaultConfigurationIsVisible = 0; | ||
| 588 | + defaultConfigurationName = Release; | ||
| 589 | + }; | ||
| 590 | + 6003F5BF195388D20070C39A /* Build configuration list for PBXNativeTarget "CNLiveEnvironment_Example" */ = { | ||
| 591 | + isa = XCConfigurationList; | ||
| 592 | + buildConfigurations = ( | ||
| 593 | + 6003F5C0195388D20070C39A /* Debug */, | ||
| 594 | + 6003F5C1195388D20070C39A /* Release */, | ||
| 595 | + ); | ||
| 596 | + defaultConfigurationIsVisible = 0; | ||
| 597 | + defaultConfigurationName = Release; | ||
| 598 | + }; | ||
| 599 | + 6003F5C2195388D20070C39A /* Build configuration list for PBXNativeTarget "CNLiveEnvironment_Tests" */ = { | ||
| 600 | + isa = XCConfigurationList; | ||
| 601 | + buildConfigurations = ( | ||
| 602 | + 6003F5C3195388D20070C39A /* Debug */, | ||
| 603 | + 6003F5C4195388D20070C39A /* Release */, | ||
| 604 | + ); | ||
| 605 | + defaultConfigurationIsVisible = 0; | ||
| 606 | + defaultConfigurationName = Release; | ||
| 607 | + }; | ||
| 608 | +/* End XCConfigurationList section */ | ||
| 609 | + }; | ||
| 610 | + rootObject = 6003F582195388D10070C39A /* Project object */; | ||
| 611 | +} |
Example/CNLiveEnvironment.xcodeproj/xcshareddata/xcschemes/CNLiveEnvironment-Example.xcscheme
0 → 100644
| 1 | +<?xml version="1.0" encoding="UTF-8"?> | ||
| 2 | +<Scheme | ||
| 3 | + LastUpgradeVersion = "0720" | ||
| 4 | + version = "1.3"> | ||
| 5 | + <BuildAction | ||
| 6 | + parallelizeBuildables = "YES" | ||
| 7 | + buildImplicitDependencies = "YES"> | ||
| 8 | + <BuildActionEntries> | ||
| 9 | + <BuildActionEntry | ||
| 10 | + buildForTesting = "YES" | ||
| 11 | + buildForRunning = "YES" | ||
| 12 | + buildForProfiling = "YES" | ||
| 13 | + buildForArchiving = "YES" | ||
| 14 | + buildForAnalyzing = "YES"> | ||
| 15 | + <BuildableReference | ||
| 16 | + BuildableIdentifier = "primary" | ||
| 17 | + BlueprintIdentifier = "6003F589195388D20070C39A" | ||
| 18 | + BuildableName = "CNLiveEnvironment_Example.app" | ||
| 19 | + BlueprintName = "CNLiveEnvironment_Example" | ||
| 20 | + ReferencedContainer = "container:CNLiveEnvironment.xcodeproj"> | ||
| 21 | + </BuildableReference> | ||
| 22 | + </BuildActionEntry> | ||
| 23 | + </BuildActionEntries> | ||
| 24 | + </BuildAction> | ||
| 25 | + <TestAction | ||
| 26 | + buildConfiguration = "Debug" | ||
| 27 | + selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB" | ||
| 28 | + selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB" | ||
| 29 | + shouldUseLaunchSchemeArgsEnv = "YES"> | ||
| 30 | + <Testables> | ||
| 31 | + <TestableReference | ||
| 32 | + skipped = "NO"> | ||
| 33 | + <BuildableReference | ||
| 34 | + BuildableIdentifier = "primary" | ||
| 35 | + BlueprintIdentifier = "6003F5AD195388D20070C39A" | ||
| 36 | + BuildableName = "CNLiveEnvironment_Tests.xctest" | ||
| 37 | + BlueprintName = "CNLiveEnvironment_Tests" | ||
| 38 | + ReferencedContainer = "container:CNLiveEnvironment.xcodeproj"> | ||
| 39 | + </BuildableReference> | ||
| 40 | + </TestableReference> | ||
| 41 | + </Testables> | ||
| 42 | + <MacroExpansion> | ||
| 43 | + <BuildableReference | ||
| 44 | + BuildableIdentifier = "primary" | ||
| 45 | + BlueprintIdentifier = "6003F589195388D20070C39A" | ||
| 46 | + BuildableName = "CNLiveEnvironment_Example.app" | ||
| 47 | + BlueprintName = "CNLiveEnvironment_Example" | ||
| 48 | + ReferencedContainer = "container:CNLiveEnvironment.xcodeproj"> | ||
| 49 | + </BuildableReference> | ||
| 50 | + </MacroExpansion> | ||
| 51 | + <AdditionalOptions> | ||
| 52 | + </AdditionalOptions> | ||
| 53 | + </TestAction> | ||
| 54 | + <LaunchAction | ||
| 55 | + buildConfiguration = "Debug" | ||
| 56 | + selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB" | ||
| 57 | + selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB" | ||
| 58 | + launchStyle = "0" | ||
| 59 | + useCustomWorkingDirectory = "NO" | ||
| 60 | + ignoresPersistentStateOnLaunch = "NO" | ||
| 61 | + debugDocumentVersioning = "YES" | ||
| 62 | + debugServiceExtension = "internal" | ||
| 63 | + allowLocationSimulation = "YES"> | ||
| 64 | + <BuildableProductRunnable | ||
| 65 | + runnableDebuggingMode = "0"> | ||
| 66 | + <BuildableReference | ||
| 67 | + BuildableIdentifier = "primary" | ||
| 68 | + BlueprintIdentifier = "6003F589195388D20070C39A" | ||
| 69 | + BuildableName = "CNLiveEnvironment_Example.app" | ||
| 70 | + BlueprintName = "CNLiveEnvironment_Example" | ||
| 71 | + ReferencedContainer = "container:CNLiveEnvironment.xcodeproj"> | ||
| 72 | + </BuildableReference> | ||
| 73 | + </BuildableProductRunnable> | ||
| 74 | + <AdditionalOptions> | ||
| 75 | + </AdditionalOptions> | ||
| 76 | + </LaunchAction> | ||
| 77 | + <ProfileAction | ||
| 78 | + buildConfiguration = "Release" | ||
| 79 | + shouldUseLaunchSchemeArgsEnv = "YES" | ||
| 80 | + savedToolIdentifier = "" | ||
| 81 | + useCustomWorkingDirectory = "NO" | ||
| 82 | + debugDocumentVersioning = "YES"> | ||
| 83 | + <BuildableProductRunnable | ||
| 84 | + runnableDebuggingMode = "0"> | ||
| 85 | + <BuildableReference | ||
| 86 | + BuildableIdentifier = "primary" | ||
| 87 | + BlueprintIdentifier = "6003F589195388D20070C39A" | ||
| 88 | + BuildableName = "CNLiveEnvironment_Example.app" | ||
| 89 | + BlueprintName = "CNLiveEnvironment_Example" | ||
| 90 | + ReferencedContainer = "container:CNLiveEnvironment.xcodeproj"> | ||
| 91 | + </BuildableReference> | ||
| 92 | + </BuildableProductRunnable> | ||
| 93 | + </ProfileAction> | ||
| 94 | + <AnalyzeAction | ||
| 95 | + buildConfiguration = "Debug"> | ||
| 96 | + </AnalyzeAction> | ||
| 97 | + <ArchiveAction | ||
| 98 | + buildConfiguration = "Release" | ||
| 99 | + revealArchiveInOrganizer = "YES"> | ||
| 100 | + </ArchiveAction> | ||
| 101 | +</Scheme> |
Example/CNLiveEnvironment/Base.lproj/LaunchScreen.storyboard
0 → 100644
| 1 | +<?xml version="1.0" encoding="UTF-8"?> | ||
| 2 | +<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="13771" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" launchScreen="YES" useTraitCollections="YES" colorMatched="YES" initialViewController="01J-lp-oVM"> | ||
| 3 | + <device id="retina4_7" orientation="portrait"> | ||
| 4 | + <adaptation id="fullscreen"/> | ||
| 5 | + </device> | ||
| 6 | + <dependencies> | ||
| 7 | + <deployment identifier="iOS"/> | ||
| 8 | + <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="13772"/> | ||
| 9 | + <capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/> | ||
| 10 | + </dependencies> | ||
| 11 | + <scenes> | ||
| 12 | + <!--View Controller--> | ||
| 13 | + <scene sceneID="EHf-IW-A2E"> | ||
| 14 | + <objects> | ||
| 15 | + <viewController id="01J-lp-oVM" sceneMemberID="viewController"> | ||
| 16 | + <layoutGuides> | ||
| 17 | + <viewControllerLayoutGuide type="top" id="Llm-lL-Icb"/> | ||
| 18 | + <viewControllerLayoutGuide type="bottom" id="xb3-aO-Qok"/> | ||
| 19 | + </layoutGuides> | ||
| 20 | + <view key="view" contentMode="scaleToFill" id="Ze5-6b-2t3"> | ||
| 21 | + <rect key="frame" x="0.0" y="0.0" width="375" height="667"/> | ||
| 22 | + <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/> | ||
| 23 | + <color key="backgroundColor" red="1" green="1" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB"/> | ||
| 24 | + </view> | ||
| 25 | + </viewController> | ||
| 26 | + <placeholder placeholderIdentifier="IBFirstResponder" id="iYj-Kq-Ea1" userLabel="First Responder" sceneMemberID="firstResponder"/> | ||
| 27 | + </objects> | ||
| 28 | + <point key="canvasLocation" x="53" y="375"/> | ||
| 29 | + </scene> | ||
| 30 | + </scenes> | ||
| 31 | +</document> |
Example/CNLiveEnvironment/Base.lproj/Main.storyboard
0 → 100644
| 1 | +<?xml version="1.0" encoding="UTF-8"?> | ||
| 2 | +<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="13771" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" colorMatched="YES" initialViewController="whP-gf-Uak"> | ||
| 3 | + <device id="retina4_7" orientation="portrait"> | ||
| 4 | + <adaptation id="fullscreen"/> | ||
| 5 | + </device> | ||
| 6 | + <dependencies> | ||
| 7 | + <deployment identifier="iOS"/> | ||
| 8 | + <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="13772"/> | ||
| 9 | + <capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/> | ||
| 10 | + </dependencies> | ||
| 11 | + <scenes> | ||
| 12 | + <!--View Controller--> | ||
| 13 | + <scene sceneID="wQg-tq-qST"> | ||
| 14 | + <objects> | ||
| 15 | + <viewController id="whP-gf-Uak" customClass="XWViewController" sceneMemberID="viewController"> | ||
| 16 | + <layoutGuides> | ||
| 17 | + <viewControllerLayoutGuide type="top" id="uEw-UM-LJ8"/> | ||
| 18 | + <viewControllerLayoutGuide type="bottom" id="Mvr-aV-6Um"/> | ||
| 19 | + </layoutGuides> | ||
| 20 | + <view key="view" contentMode="scaleToFill" id="TpU-gO-2f1"> | ||
| 21 | + <rect key="frame" x="0.0" y="0.0" width="375" height="667"/> | ||
| 22 | + <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/> | ||
| 23 | + <color key="backgroundColor" red="1" green="1" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB"/> | ||
| 24 | + </view> | ||
| 25 | + </viewController> | ||
| 26 | + <placeholder placeholderIdentifier="IBFirstResponder" id="tc2-Qw-aMS" userLabel="First Responder" sceneMemberID="firstResponder"/> | ||
| 27 | + </objects> | ||
| 28 | + <point key="canvasLocation" x="305" y="433"/> | ||
| 29 | + </scene> | ||
| 30 | + </scenes> | ||
| 31 | +</document> |
Example/CNLiveEnvironment/CNLiveEnvironment-Info.plist
0 → 100644
| 1 | +<?xml version="1.0" encoding="UTF-8"?> | ||
| 2 | +<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | ||
| 3 | +<plist version="1.0"> | ||
| 4 | +<dict> | ||
| 5 | + <key>CFBundleDevelopmentRegion</key> | ||
| 6 | + <string>en</string> | ||
| 7 | + <key>CFBundleDisplayName</key> | ||
| 8 | + <string>${PRODUCT_NAME}</string> | ||
| 9 | + <key>CFBundleExecutable</key> | ||
| 10 | + <string>${EXECUTABLE_NAME}</string> | ||
| 11 | + <key>CFBundleIdentifier</key> | ||
| 12 | + <string>$(PRODUCT_BUNDLE_IDENTIFIER)</string> | ||
| 13 | + <key>CFBundleInfoDictionaryVersion</key> | ||
| 14 | + <string>6.0</string> | ||
| 15 | + <key>CFBundleName</key> | ||
| 16 | + <string>${PRODUCT_NAME}</string> | ||
| 17 | + <key>CFBundlePackageType</key> | ||
| 18 | + <string>APPL</string> | ||
| 19 | + <key>CFBundleShortVersionString</key> | ||
| 20 | + <string>1.0</string> | ||
| 21 | + <key>CFBundleSignature</key> | ||
| 22 | + <string>????</string> | ||
| 23 | + <key>CFBundleVersion</key> | ||
| 24 | + <string>1.0</string> | ||
| 25 | + <key>LSRequiresIPhoneOS</key> | ||
| 26 | + <true/> | ||
| 27 | + <key>UILaunchStoryboardName</key> | ||
| 28 | + <string>LaunchScreen</string> | ||
| 29 | + <key>UIMainStoryboardFile</key> | ||
| 30 | + <string>Main</string> | ||
| 31 | + <key>UIRequiredDeviceCapabilities</key> | ||
| 32 | + <array> | ||
| 33 | + <string>armv7</string> | ||
| 34 | + </array> | ||
| 35 | + <key>UISupportedInterfaceOrientations</key> | ||
| 36 | + <array> | ||
| 37 | + <string>UIInterfaceOrientationPortrait</string> | ||
| 38 | + <string>UIInterfaceOrientationLandscapeLeft</string> | ||
| 39 | + <string>UIInterfaceOrientationLandscapeRight</string> | ||
| 40 | + </array> | ||
| 41 | + <key>UISupportedInterfaceOrientations~ipad</key> | ||
| 42 | + <array> | ||
| 43 | + <string>UIInterfaceOrientationPortrait</string> | ||
| 44 | + <string>UIInterfaceOrientationPortraitUpsideDown</string> | ||
| 45 | + <string>UIInterfaceOrientationLandscapeLeft</string> | ||
| 46 | + <string>UIInterfaceOrientationLandscapeRight</string> | ||
| 47 | + </array> | ||
| 48 | +</dict> | ||
| 49 | +</plist> |
Example/CNLiveEnvironment/CNLiveEnvironment-Prefix.pch
0 → 100644
| 1 | +// | ||
| 2 | +// Prefix header | ||
| 3 | +// | ||
| 4 | +// The contents of this file are implicitly included at the beginning of every source file. | ||
| 5 | +// | ||
| 6 | + | ||
| 7 | +#import <Availability.h> | ||
| 8 | + | ||
| 9 | +#ifndef __IPHONE_5_0 | ||
| 10 | +#warning "This project uses features only available in iOS SDK 5.0 and later." | ||
| 11 | +#endif | ||
| 12 | + | ||
| 13 | +#ifdef __OBJC__ | ||
| 14 | + @import UIKit; | ||
| 15 | + @import Foundation; | ||
| 16 | +#endif |
Example/CNLiveEnvironment/Images.xcassets/AppIcon.appiconset/Contents.json
0 → 100644
| 1 | +{ | ||
| 2 | + "images" : [ | ||
| 3 | + { | ||
| 4 | + "idiom" : "iphone", | ||
| 5 | + "size" : "20x20", | ||
| 6 | + "scale" : "2x" | ||
| 7 | + }, | ||
| 8 | + { | ||
| 9 | + "idiom" : "iphone", | ||
| 10 | + "size" : "20x20", | ||
| 11 | + "scale" : "3x" | ||
| 12 | + }, | ||
| 13 | + { | ||
| 14 | + "idiom" : "iphone", | ||
| 15 | + "size" : "29x29", | ||
| 16 | + "scale" : "2x" | ||
| 17 | + }, | ||
| 18 | + { | ||
| 19 | + "idiom" : "iphone", | ||
| 20 | + "size" : "29x29", | ||
| 21 | + "scale" : "3x" | ||
| 22 | + }, | ||
| 23 | + { | ||
| 24 | + "idiom" : "iphone", | ||
| 25 | + "size" : "40x40", | ||
| 26 | + "scale" : "2x" | ||
| 27 | + }, | ||
| 28 | + { | ||
| 29 | + "idiom" : "iphone", | ||
| 30 | + "size" : "40x40", | ||
| 31 | + "scale" : "3x" | ||
| 32 | + }, | ||
| 33 | + { | ||
| 34 | + "idiom" : "iphone", | ||
| 35 | + "size" : "60x60", | ||
| 36 | + "scale" : "2x" | ||
| 37 | + }, | ||
| 38 | + { | ||
| 39 | + "idiom" : "iphone", | ||
| 40 | + "size" : "60x60", | ||
| 41 | + "scale" : "3x" | ||
| 42 | + }, | ||
| 43 | + { | ||
| 44 | + "idiom" : "ipad", | ||
| 45 | + "size" : "20x20", | ||
| 46 | + "scale" : "1x" | ||
| 47 | + }, | ||
| 48 | + { | ||
| 49 | + "idiom" : "ipad", | ||
| 50 | + "size" : "20x20", | ||
| 51 | + "scale" : "2x" | ||
| 52 | + }, | ||
| 53 | + { | ||
| 54 | + "idiom" : "ipad", | ||
| 55 | + "size" : "29x29", | ||
| 56 | + "scale" : "1x" | ||
| 57 | + }, | ||
| 58 | + { | ||
| 59 | + "idiom" : "ipad", | ||
| 60 | + "size" : "29x29", | ||
| 61 | + "scale" : "2x" | ||
| 62 | + }, | ||
| 63 | + { | ||
| 64 | + "idiom" : "ipad", | ||
| 65 | + "size" : "40x40", | ||
| 66 | + "scale" : "1x" | ||
| 67 | + }, | ||
| 68 | + { | ||
| 69 | + "idiom" : "ipad", | ||
| 70 | + "size" : "40x40", | ||
| 71 | + "scale" : "2x" | ||
| 72 | + }, | ||
| 73 | + { | ||
| 74 | + "idiom" : "ipad", | ||
| 75 | + "size" : "76x76", | ||
| 76 | + "scale" : "1x" | ||
| 77 | + }, | ||
| 78 | + { | ||
| 79 | + "idiom" : "ipad", | ||
| 80 | + "size" : "76x76", | ||
| 81 | + "scale" : "2x" | ||
| 82 | + }, | ||
| 83 | + { | ||
| 84 | + "idiom" : "ipad", | ||
| 85 | + "size" : "83.5x83.5", | ||
| 86 | + "scale" : "2x" | ||
| 87 | + }, | ||
| 88 | + { | ||
| 89 | + "idiom" : "ios-marketing", | ||
| 90 | + "size" : "1024x1024", | ||
| 91 | + "scale" : "1x" | ||
| 92 | + } | ||
| 93 | + ], | ||
| 94 | + "info" : { | ||
| 95 | + "version" : 1, | ||
| 96 | + "author" : "xcode" | ||
| 97 | + } | ||
| 98 | +} |
Example/CNLiveEnvironment/XWAppDelegate.h
0 → 100644
| 1 | +// | ||
| 2 | +// XWAppDelegate.h | ||
| 3 | +// CNLiveEnvironment | ||
| 4 | +// | ||
| 5 | +// Created by 153993236@qq.com on 07/13/2019. | ||
| 6 | +// Copyright (c) 2019 153993236@qq.com. All rights reserved. | ||
| 7 | +// | ||
| 8 | + | ||
| 9 | +@import UIKit; | ||
| 10 | + | ||
| 11 | +@interface XWAppDelegate : UIResponder <UIApplicationDelegate> | ||
| 12 | + | ||
| 13 | +@property (strong, nonatomic) UIWindow *window; | ||
| 14 | + | ||
| 15 | +@end |
Example/CNLiveEnvironment/XWAppDelegate.m
0 → 100644
| 1 | +// | ||
| 2 | +// XWAppDelegate.m | ||
| 3 | +// CNLiveEnvironment | ||
| 4 | +// | ||
| 5 | +// Created by 153993236@qq.com on 07/13/2019. | ||
| 6 | +// Copyright (c) 2019 153993236@qq.com. All rights reserved. | ||
| 7 | +// | ||
| 8 | + | ||
| 9 | +#import "XWAppDelegate.h" | ||
| 10 | +#import "CNLiveEnvironment.h" | ||
| 11 | +#import "CNLiveEnvironmentInterface.h" | ||
| 12 | + | ||
| 13 | +@implementation XWAppDelegate | ||
| 14 | + | ||
| 15 | +- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions | ||
| 16 | +{ | ||
| 17 | + // Override point for customization after application launch. | ||
| 18 | + [CNLiveEnvironmentManager setEnvironment:CNLiveEnvironmentDebugInHouse]; | ||
| 19 | + NSLog(@"%@",EnvironmentDesc); | ||
| 20 | + NSLog(@"%@",ShareSDKAppId_Share); | ||
| 21 | + NSLog(@"%d",TestEnvironment); | ||
| 22 | + NSLog(@"%@",API_Host(@"asd")); | ||
| 23 | + | ||
| 24 | + [CNLiveEnvironmentManager setEnvironment:CNLiveEnvironmentProductionAppStore]; | ||
| 25 | + NSLog(@"%@",EnvironmentDesc); | ||
| 26 | + NSLog(@"%@",ShareSDKAppId_Share); | ||
| 27 | + NSLog(@"%d",TestEnvironment); | ||
| 28 | + NSLog(@"%@",API_Host(@"asd")); | ||
| 29 | + | ||
| 30 | + return YES; | ||
| 31 | +} | ||
| 32 | + | ||
| 33 | +- (void)applicationWillResignActive:(UIApplication *)application | ||
| 34 | +{ | ||
| 35 | + // 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. | ||
| 36 | + // 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. | ||
| 37 | +} | ||
| 38 | + | ||
| 39 | +- (void)applicationDidEnterBackground:(UIApplication *)application | ||
| 40 | +{ | ||
| 41 | + // 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. | ||
| 42 | + // If your application supports background execution, this method is called instead of applicationWillTerminate: when the user quits. | ||
| 43 | +} | ||
| 44 | + | ||
| 45 | +- (void)applicationWillEnterForeground:(UIApplication *)application | ||
| 46 | +{ | ||
| 47 | + // 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. | ||
| 48 | +} | ||
| 49 | + | ||
| 50 | +- (void)applicationDidBecomeActive:(UIApplication *)application | ||
| 51 | +{ | ||
| 52 | + // Restart any tasks that were paused (or not yet started) while the application was inactive. If the application was previously in the background, optionally refresh the user interface. | ||
| 53 | +} | ||
| 54 | + | ||
| 55 | +- (void)applicationWillTerminate:(UIApplication *)application | ||
| 56 | +{ | ||
| 57 | + // Called when the application is about to terminate. Save data if appropriate. See also applicationDidEnterBackground:. | ||
| 58 | +} | ||
| 59 | + | ||
| 60 | +@end |
Example/CNLiveEnvironment/XWViewController.h
0 → 100644
Example/CNLiveEnvironment/XWViewController.m
0 → 100644
| 1 | +// | ||
| 2 | +// XWViewController.m | ||
| 3 | +// CNLiveEnvironment | ||
| 4 | +// | ||
| 5 | +// Created by 153993236@qq.com on 07/13/2019. | ||
| 6 | +// Copyright (c) 2019 153993236@qq.com. All rights reserved. | ||
| 7 | +// | ||
| 8 | + | ||
| 9 | +#import "XWViewController.h" | ||
| 10 | + | ||
| 11 | +@interface XWViewController () | ||
| 12 | + | ||
| 13 | +@end | ||
| 14 | + | ||
| 15 | +@implementation XWViewController | ||
| 16 | + | ||
| 17 | +- (void)viewDidLoad | ||
| 18 | +{ | ||
| 19 | + [super viewDidLoad]; | ||
| 20 | + // Do any additional setup after loading the view, typically from a nib. | ||
| 21 | +} | ||
| 22 | + | ||
| 23 | +- (void)didReceiveMemoryWarning | ||
| 24 | +{ | ||
| 25 | + [super didReceiveMemoryWarning]; | ||
| 26 | + // Dispose of any resources that can be recreated. | ||
| 27 | +} | ||
| 28 | + | ||
| 29 | +@end |
Example/CNLiveEnvironment/en.lproj/InfoPlist.strings
0 → 100644
Example/CNLiveEnvironment/main.m
0 → 100644
| 1 | +// | ||
| 2 | +// main.m | ||
| 3 | +// CNLiveEnvironment | ||
| 4 | +// | ||
| 5 | +// Created by 153993236@qq.com on 07/13/2019. | ||
| 6 | +// Copyright (c) 2019 153993236@qq.com. All rights reserved. | ||
| 7 | +// | ||
| 8 | + | ||
| 9 | +@import UIKit; | ||
| 10 | +#import "XWAppDelegate.h" | ||
| 11 | + | ||
| 12 | +int main(int argc, char * argv[]) | ||
| 13 | +{ | ||
| 14 | + @autoreleasepool { | ||
| 15 | + return UIApplicationMain(argc, argv, nil, NSStringFromClass([XWAppDelegate class])); | ||
| 16 | + } | ||
| 17 | +} |
Example/Podfile
0 → 100644
Example/Tests/Tests-Info.plist
0 → 100644
| 1 | +<?xml version="1.0" encoding="UTF-8"?> | ||
| 2 | +<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | ||
| 3 | +<plist version="1.0"> | ||
| 4 | +<dict> | ||
| 5 | + <key>CFBundleDevelopmentRegion</key> | ||
| 6 | + <string>en</string> | ||
| 7 | + <key>CFBundleExecutable</key> | ||
| 8 | + <string>${EXECUTABLE_NAME}</string> | ||
| 9 | + <key>CFBundleIdentifier</key> | ||
| 10 | + <string>$(PRODUCT_BUNDLE_IDENTIFIER)</string> | ||
| 11 | + <key>CFBundleInfoDictionaryVersion</key> | ||
| 12 | + <string>6.0</string> | ||
| 13 | + <key>CFBundlePackageType</key> | ||
| 14 | + <string>BNDL</string> | ||
| 15 | + <key>CFBundleShortVersionString</key> | ||
| 16 | + <string>1.0</string> | ||
| 17 | + <key>CFBundleSignature</key> | ||
| 18 | + <string>????</string> | ||
| 19 | + <key>CFBundleVersion</key> | ||
| 20 | + <string>1</string> | ||
| 21 | +</dict> | ||
| 22 | +</plist> |
Example/Tests/Tests-Prefix.pch
0 → 100644
Example/Tests/Tests.m
0 → 100644
| 1 | +// | ||
| 2 | +// CNLiveEnvironmentTests.m | ||
| 3 | +// CNLiveEnvironmentTests | ||
| 4 | +// | ||
| 5 | +// Created by 153993236@qq.com on 07/13/2019. | ||
| 6 | +// Copyright (c) 2019 153993236@qq.com. All rights reserved. | ||
| 7 | +// | ||
| 8 | + | ||
| 9 | +@import XCTest; | ||
| 10 | + | ||
| 11 | +@interface Tests : XCTestCase | ||
| 12 | + | ||
| 13 | +@end | ||
| 14 | + | ||
| 15 | +@implementation Tests | ||
| 16 | + | ||
| 17 | +- (void)setUp | ||
| 18 | +{ | ||
| 19 | + [super setUp]; | ||
| 20 | + // Put setup code here. This method is called before the invocation of each test method in the class. | ||
| 21 | +} | ||
| 22 | + | ||
| 23 | +- (void)tearDown | ||
| 24 | +{ | ||
| 25 | + // Put teardown code here. This method is called after the invocation of each test method in the class. | ||
| 26 | + [super tearDown]; | ||
| 27 | +} | ||
| 28 | + | ||
| 29 | +- (void)testExample | ||
| 30 | +{ | ||
| 31 | + XCTFail(@"No implementation for \"%s\"", __PRETTY_FUNCTION__); | ||
| 32 | +} | ||
| 33 | + | ||
| 34 | +@end | ||
| 35 | + |
Example/Tests/en.lproj/InfoPlist.strings
0 → 100644
LICENSE
| 1 | +Copyright (c) 2019 153993236@qq.com <zhangxiaowen@cnlive.com> | ||
| 2 | + | ||
| 3 | +Permission is hereby granted, free of charge, to any person obtaining a copy | ||
| 4 | +of this software and associated documentation files (the "Software"), to deal | ||
| 5 | +in the Software without restriction, including without limitation the rights | ||
| 6 | +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | ||
| 7 | +copies of the Software, and to permit persons to whom the Software is | ||
| 8 | +furnished to do so, subject to the following conditions: | ||
| 9 | + | ||
| 10 | +The above copyright notice and this permission notice shall be included in | ||
| 11 | +all copies or substantial portions of the Software. | ||
| 12 | + | ||
| 13 | +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
| 14 | +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
| 15 | +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | ||
| 16 | +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | ||
| 17 | +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | ||
| 18 | +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN | ||
| 19 | +THE SOFTWARE. |
README.md
| 1 | +# CNLiveEnvironment | ||
| 2 | + | ||
| 3 | +[](https://travis-ci.org/153993236@qq.com/CNLiveEnvironment) | ||
| 4 | +[](https://cocoapods.org/pods/CNLiveEnvironment) | ||
| 5 | +[](https://cocoapods.org/pods/CNLiveEnvironment) | ||
| 6 | +[](https://cocoapods.org/pods/CNLiveEnvironment) | ||
| 7 | + | ||
| 8 | +## Example | ||
| 9 | + | ||
| 10 | +To run the example project, clone the repo, and run `pod install` from the Example directory first. | ||
| 11 | + | ||
| 12 | +## Requirements | ||
| 13 | + | ||
| 14 | +## Installation | ||
| 15 | + | ||
| 16 | +CNLiveEnvironment is available through [CocoaPods](https://cocoapods.org). To install | ||
| 17 | +it, simply add the following line to your Podfile: | ||
| 18 | + | ||
| 19 | +```ruby | ||
| 20 | +pod 'CNLiveEnvironment' | ||
| 21 | +``` | ||
| 22 | + | ||
| 23 | +## Author | ||
| 24 | + | ||
| 25 | +153993236@qq.com, zhangxiaowen@cnlive.com | ||
| 26 | + | ||
| 27 | +## License | ||
| 28 | + | ||
| 29 | +CNLiveEnvironment is available under the MIT license. See the LICENSE file for more info. |
_Pods.xcodeproj
0 → 120000