Commit a2bba65e0d2b3efb3eba5a31164465727cecbe0a
1 parent
233fc560
no message
Showing
27 changed files
with
1590 additions
and
0 deletions
.gitignore
0 → 100644
| 1 | +# OS X | |
| 2 | +.DS_Store | |
| 3 | + | |
| 4 | +# Xcode | |
| 5 | +build/ | |
| 6 | +Products/ | |
| 7 | +*.pbxuser | |
| 8 | +!default.pbxuser | |
| 9 | +*.mode1v3 | |
| 10 | +!default.mode1v3 | |
| 11 | +*.mode2v3 | |
| 12 | +!default.mode2v3 | |
| 13 | +*.perspectivev3 | |
| 14 | +!default.perspectivev3 | |
| 15 | +xcuserdata/ | |
| 16 | +*.xccheckout | |
| 17 | +profile | |
| 18 | +*.moved-aside | |
| 19 | +DerivedData | |
| 20 | +*.hmap | |
| 21 | +*.ipa | |
| 22 | + | |
| 23 | +# Bundler | |
| 24 | +.bundle | |
| 25 | + | |
| 26 | +# Add this line if you want to avoid checking in source code from Carthage dependencies. | |
| 27 | +# Carthage/Checkouts | |
| 28 | + | |
| 29 | +Carthage/Build | |
| 30 | + | |
| 31 | +# We recommend against adding the Pods directory to your .gitignore. However | |
| 32 | +# you should judge for yourself, the pros and cons are mentioned at: | |
| 33 | +# https://guides.cocoapods.org/using/using-cocoapods.html#should-i-ignore-the-pods-directory-in-source-control | |
| 34 | +# | |
| 35 | +# Note: if you ignore the Pods directory, make sure to uncomment | |
| 36 | +# `pod install` in .travis.yml | |
| 37 | +# | |
| 38 | +# Pods/ | ... | ... |
.travis.yml
0 → 100644
| 1 | +# references: | |
| 2 | +# * https://www.objc.io/issues/6-build-tools/travis-ci/ | |
| 3 | +# * https://github.com/supermarin/xcpretty#usage | |
| 4 | + | |
| 5 | +osx_image: xcode7.3 | |
| 6 | +language: objective-c | |
| 7 | +# cache: cocoapods | |
| 8 | +# podfile: Example/Podfile | |
| 9 | +# before_install: | |
| 10 | +# - gem install cocoapods # Since Travis is not always on latest version | |
| 11 | +# - pod install --project-directory=Example | |
| 12 | +script: | |
| 13 | +- set -o pipefail && xcodebuild test -enableCodeCoverage YES -workspace Example/CNLiveEnvironmentConfiguration.xcworkspace -scheme CNLiveEnvironmentConfiguration-Example -sdk iphonesimulator9.3 ONLY_ACTIVE_ARCH=NO | xcpretty | |
| 14 | +- pod lib lint | ... | ... |
CNLiveEnvironmentConfiguration.podspec
0 → 100644
| 1 | +# | |
| 2 | +# Be sure to run `pod lib lint CNLiveEnvironmentConfiguration.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 = 'CNLiveEnvironmentConfiguration' | |
| 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/CNLiveEnvironmentConfiguration' | |
| 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/CNLiveEnvironmentConfiguration.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 = 'CNLiveEnvironmentConfiguration/Classes/**/*' | |
| 34 | + | |
| 35 | + # s.resource_bundles = { | |
| 36 | + # 'CNLiveEnvironmentConfiguration' => ['CNLiveEnvironmentConfiguration/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 | ... | ... |
CNLiveEnvironmentConfiguration/Assets/.gitkeep
0 → 100644
CNLiveEnvironmentConfiguration/Classes/.gitkeep
0 → 100644
CNLiveEnvironmentConfiguration/Classes/CNEnvironmentHeader.h
0 → 100644
| 1 | +// | |
| 2 | +// CNEnvironmentHeader.h | |
| 3 | +// CNLiveNetAdd | |
| 4 | +// | |
| 5 | +// Created by 张旭 on 2018/5/30. | |
| 6 | +// Copyright © 2018年 cnlive. All rights reserved. | |
| 7 | +// | |
| 8 | + | |
| 9 | +#ifndef CNEnvironmentHeader_h | |
| 10 | +#define CNEnvironmentHeader_h | |
| 11 | + | |
| 12 | +/* | |
| 13 | + *网家家环境配置文件 | |
| 14 | +*/ | |
| 15 | + | |
| 16 | +// App Store 中 AppID 用于跳转 App Store 下载/评分 | |
| 17 | +#define AppStoreAppId @"1337575478" | |
| 18 | + | |
| 19 | +// 请求查询app在App Store的上架信息 | |
| 20 | +#define AppStoreAppInfo @"https://itunes.apple.com/lookup?id=1337575478" | |
| 21 | + | |
| 22 | +//// h5新闻详情中分享使用到的图片地址 | |
| 23 | +//#define netAddShareImgUrl WjjH5_Host@"/static/logo.png" | |
| 24 | +//#define WjjH5Short_Host @"http://dwz.cnlive.com" | |
| 25 | + | |
| 26 | +// 正式版--测试环境com.cnlive.CNLiveNetAdd.debug 网家家测试版 | |
| 27 | +// 正式版--正式环境com.cnlive.CNLiveNetAdd 网家家正式版 | |
| 28 | +// 企业版--测试环境com.cnlive.CNLiveNetAddInHouse.debug 网家家测试企版 | |
| 29 | +// 企业版--正式环境com.cnlive.CNLiveNetAddInHouse 网家家内测版 | |
| 30 | + | |
| 31 | +#define ShowGuideView @"no" // yes:显示欢迎页 no:不显示欢迎页 | |
| 32 | + | |
| 33 | +#define Environment_ON 0 // 1:正式环境平台 0:测试环境平台 | |
| 34 | + | |
| 35 | +#if Environment_ON | |
| 36 | + | |
| 37 | +#pragma mark - 正式环境 | |
| 38 | +//正式环境平台配置 | |
| 39 | +//IMSDK相关的配置 | |
| 40 | +#define kWXAccount @"wjj_app" | |
| 41 | +#define kSdkAppId @"1400051680" | |
| 42 | +#define kSdkAccountType @"19645" | |
| 43 | + | |
| 44 | +#ifndef CNLiveNetAddUrlSchems | |
| 45 | +#define CNLiveNetAddUrlSchems @"CNLiveNetAddUrlSchems" // 支付宝支付Schems | |
| 46 | +#endif | |
| 47 | + | |
| 48 | +#ifndef CNLiveNetAddUnionPaySchems | |
| 49 | +#define CNLiveNetAddUnionPaySchems @"CNLiveNetAddUnionPaySchems" // 银联支付Schems | |
| 50 | +#endif | |
| 51 | + | |
| 52 | +#define CNLiveNewAddDownloadUrl @"http://apiwjj.cnlive.com/download/index.html" | |
| 53 | +#define ShareDarenHomeUrl @"http://apiwjj.cnlive.com/daren/download.html" | |
| 54 | +#define WjjH5_Host @"http://wjjh5.cnlive.com" | |
| 55 | +#define WjjH5_VideoChina WjjH5_Host@"/cnnews.html" | |
| 56 | +#define WjjH5_NumProduct WjjH5_Host@"/cndr.html" | |
| 57 | + | |
| 58 | +#define API_Host @"https://apiwjj.cnlive.com" | |
| 59 | + | |
| 60 | +#define API_Contact @"https://wjjim.cnlive.com" | |
| 61 | +#define API_Refund @"https://wjj.ys1.cnliveimg.com" | |
| 62 | +#define API_Report @"https://mobile.cnlive.com" | |
| 63 | +#define API_ThirdPay API_Host | |
| 64 | +#define API_OpenApi2 @"https://api.cnlive.com/open/api2" | |
| 65 | +#define API_Classify @"http://cms.cnlive.com:8768" | |
| 66 | + | |
| 67 | +#define WjjLive_Host @"http://wjjh5.cnlive.com" | |
| 68 | + | |
| 69 | +#define TIM_GetTokenUrl API_OpenApi2@"/im_chat/generateUserSign" | |
| 70 | + | |
| 71 | +// 网++默认头像地址 | |
| 72 | +#define CNLiveNetAddDefaultHead API_Refund@"/admin/test/head.png" | |
| 73 | + | |
| 74 | +#define API_BucketName @"mam-wjj-769" | |
| 75 | +#define API_PhotoUrl @"http://wjj.ys2.cnliveimg.com/" // 还不知道 | |
| 76 | +#define MultipleCategory 366 | |
| 77 | +#define WitnessMultipleCategory 370 | |
| 78 | + | |
| 79 | +#pragma mark - 正式个人/企业开关 | |
| 80 | +#define IPA_APPSTORE 1 ////1: App Store版 0:企业版 | |
| 81 | + | |
| 82 | +#if IPA_APPSTORE | |
| 83 | +// 正式个人版 | |
| 84 | +//////////////////////////////////////////////////////// | |
| 85 | +//////////// AppConfig | |
| 86 | +//////////////////////////////////////////////////////// | |
| 87 | + | |
| 88 | +//正式版 com.cnlive.CNLiveNetAdd | |
| 89 | +#ifndef AppId | |
| 90 | +#define AppId @"769_jetj7bq525" | |
| 91 | +#endif | |
| 92 | +#ifndef APPKey | |
| 93 | +#define APPKey @"0d57b045ec0c3988a682d94c644e66b9b8e0d2b8ef937d" | |
| 94 | +#endif | |
| 95 | +#ifndef AppSecret | |
| 96 | +#define AppSecret @"275e8dc29274a1186d82f65bc607c231d02bcb3bfd8976" | |
| 97 | +#define DisplayName @"网家家" | |
| 98 | +#endif | |
| 99 | + | |
| 100 | +#define WjjShare_Iden @"group.com.cnlive.CNLiveNetAdd" | |
| 101 | + | |
| 102 | +//////////////////////////////////////////////////////// | |
| 103 | +//////////// IM推送证书相关 | |
| 104 | +//////////////////////////////////////////////////////// | |
| 105 | +#if DEBUG | |
| 106 | +#define IM_Cer_busiId 12452 //7307已过期 | |
| 107 | +#else | |
| 108 | +#define IM_Cer_busiId 12453 //7308已过期 | |
| 109 | +#endif | |
| 110 | + | |
| 111 | +//////////////////////////////////////////////////////// | |
| 112 | +//////////// 高德地图Key | |
| 113 | +//////////////////////////////////////////////////////// | |
| 114 | +#define GDApiKey @"5a0e2a559b987e67d5b0c13490adde02" | |
| 115 | + | |
| 116 | +//////////////////////////////////////////////////////// | |
| 117 | +//////////// 百度身份证识别 | |
| 118 | +//////////////////////////////////////////////////////// | |
| 119 | +#define BDAppId @"14380860" | |
| 120 | +#define BDAppKey @"4bX1eK7SiCL461QBnRKilowc" | |
| 121 | +#define BDSecret @"BTzXLoPbUjlLeOM1nHnfOuTB9q18YZVq" | |
| 122 | + | |
| 123 | +//////////////////////////////////////////////////////// | |
| 124 | +//////////// 听云 | |
| 125 | +//////////////////////////////////////////////////////// | |
| 126 | +/*听云AppKey*/ //URL Scheme: tingyun.33700 | |
| 127 | +static NSString *const CNLiveTingYunAppKey = @"37c9ea3f439145269e5cffe095466b17"; | |
| 128 | +#else | |
| 129 | +// 正式企业版 | |
| 130 | +// 企业版 com.cnlive.CNLiveNetAddInHouse | |
| 131 | +#ifndef AppId | |
| 132 | +#define AppId @"769_jetja50p18" | |
| 133 | +#endif | |
| 134 | +#ifndef APPKey | |
| 135 | +#define APPKey @"ad101b9152817a79b5c33c3617b96ff91385096ff3b4ba" | |
| 136 | +#endif | |
| 137 | +#ifndef AppSecret | |
| 138 | +#define AppSecret @"6a324a475a8b9ef903139cb2626fdab6bf4362d6d47c83" | |
| 139 | +#define DisplayName @"网家家" | |
| 140 | +#endif | |
| 141 | + | |
| 142 | +#define WjjShare_Iden @"group.com.cnlive.CNLiveNetAddInHouse" | |
| 143 | + | |
| 144 | +//企业证书id | |
| 145 | +#if DEBUG | |
| 146 | +#define IM_Cer_busiId 7346 | |
| 147 | +#else | |
| 148 | +#define IM_Cer_busiId 7347 | |
| 149 | +#endif | |
| 150 | + | |
| 151 | +//////////////////////////////////////////////////////// | |
| 152 | +//////////// 高德地图Key | |
| 153 | +//////////////////////////////////////////////////////// | |
| 154 | +#define GDApiKey @"84d765606a54635aec2648f663d4a5ed" | |
| 155 | + | |
| 156 | +//////////////////////////////////////////////////////// | |
| 157 | +//////////// 百度身份证识别 | |
| 158 | +//////////////////////////////////////////////////////// | |
| 159 | +#define BDAppId @"14380872" | |
| 160 | +#define BDAppKey @"ibl8vbKkPVYBw5IOvR8tVGGo" | |
| 161 | +#define BDSecret @"QEd6n1qruIGG8AYkyLyqepksO2uUe0GK" | |
| 162 | + | |
| 163 | +//////////////////////////////////////////////////////// | |
| 164 | +//////////// 听云 | |
| 165 | +//////////////////////////////////////////////////////// | |
| 166 | +/*听云AppKey*/ //URL Scheme: tingyun.33699 | |
| 167 | +static NSString *const CNLiveTingYunAppKey = @"782d9a70547a4e3f91cb328b122bb85c"; | |
| 168 | + | |
| 169 | +#endif | |
| 170 | + | |
| 171 | +////////////////////////////////////// | |
| 172 | +///////////////// 正式平台 | |
| 173 | +////////////////////////////////////// | |
| 174 | + | |
| 175 | +/*微信相关参数*/ | |
| 176 | +static NSString *const CNLiveWeiChatAppId_Share = @"wxed528fc749b7ee88"; | |
| 177 | +static NSString *const CNLiveWeiChatAppSecret_Share = @"729c3d3055fe336bcdef7020c2548e89"; | |
| 178 | + | |
| 179 | +/*腾讯相关参数*/ | |
| 180 | +static NSString *const CNLiveQQShareAppId_Share = @"1106691520"; | |
| 181 | +static NSString *const CNLiveQQShareAppSecret_Share = @"kLZ8CglGFjzrJFan"; | |
| 182 | + | |
| 183 | +/*shareSDK相关参数*/ | |
| 184 | +static NSString *const CNLiveShareSDKAppId_Share = @"24e4abeaa92d8"; | |
| 185 | +static NSString *const CNLiveShareSDKAppSecret_Share = @"da94a6f881d404092c9a7108e4470e8f"; | |
| 186 | + | |
| 187 | +#else | |
| 188 | + | |
| 189 | +#pragma mark - 测试环境 | |
| 190 | +//////////////////////////////////////////////////////////// | |
| 191 | +// 测试环境平台配置 | |
| 192 | +// IMSDK相关的配置 | |
| 193 | +#define kWXAccount @"wjj_app_test" | |
| 194 | +#define kSdkAppId @"1400052101" | |
| 195 | +#define kSdkAccountType @"27313" | |
| 196 | + | |
| 197 | +#ifndef CNLiveNetAddUrlSchems | |
| 198 | +#define CNLiveNetAddUrlSchems @"CNLiveNetAddTestUrlSchems" // 支付宝支付Schems | |
| 199 | +#endif | |
| 200 | +#ifndef CNLiveNetAddUnionPaySchems | |
| 201 | +#define CNLiveNetAddUnionPaySchems @"CNLiveNetAddTestUnionPaySchems" // 银联支付Schems | |
| 202 | +#endif | |
| 203 | + | |
| 204 | +#define CNLiveNewAddDownloadUrl @"https://fir.im/layf" | |
| 205 | +#define ShareDarenHomeUrl @"http://apiwjj.cnlive.com/download/index.html" | |
| 206 | +#define WjjH5_Host @"http://wjjh5test.cnlive.com" | |
| 207 | +#define WjjH5_VideoChina WjjH5_Host@"/cnnews.html" | |
| 208 | +#define WjjH5_NumProduct WjjH5_Host@"/cndr.html" | |
| 209 | + | |
| 210 | +#define API_Host @"https://apiwjjtest.cnlive.com" | |
| 211 | +#define API_Contact @"https://imtest.cnlive.com" | |
| 212 | +#define API_OpenApi2 @"https://api.cnlive.com/open/api2" | |
| 213 | +#define API_Refund @"https://wjj.ys1.cnliveimg.com" | |
| 214 | +#define API_Report @"https://mobile.cnlive.com" | |
| 215 | +#define API_ThirdPay API_Host | |
| 216 | +#define API_BucketName @"mam-wjjtest-802" | |
| 217 | +#define API_PhotoUrl @"http://wjjtest.ys2.cnliveimg.com/" | |
| 218 | +#define MultipleCategory 371 | |
| 219 | +#define WitnessMultipleCategory 375 | |
| 220 | +#define API_Classify @"http://cmstest.cnlive.com:8768" | |
| 221 | +#define WjjLive_Host @"http://wjjh5test.cnlive.com" | |
| 222 | + | |
| 223 | +#define TIM_GetTokenUrl API_Contact@"/CnliveIM/notify/generateUserSign.action" | |
| 224 | +// 网++默认头像地址 | |
| 225 | +#define CNLiveNetAddDefaultHead API_Refund@"/admin/test/head.png" | |
| 226 | + | |
| 227 | +/*微信相关参数*/ | |
| 228 | +static NSString *const CNLiveWeiChatAppId_Share = @"wx9b7f9443a8ccf15a"; | |
| 229 | +static NSString *const CNLiveWeiChatAppSecret_Share = @"8d9970bf2901411d8dd2bffb344f147e"; | |
| 230 | + | |
| 231 | +/*腾讯相关参数*/ | |
| 232 | +static NSString *const CNLiveQQShareAppId_Share = @"1106970445"; | |
| 233 | +static NSString *const CNLiveQQShareAppSecret_Share = @"4hxuJ1HIes4i4hqT"; | |
| 234 | + | |
| 235 | +/*shareSDK相关参数*/ | |
| 236 | +static NSString *const CNLiveShareSDKAppId_Share = @"26192e9007048"; | |
| 237 | +static NSString *const CNLiveShareSDKAppSecret_Share = @"f9d2fbf7f7827925c532a716340363c7"; | |
| 238 | + | |
| 239 | + | |
| 240 | +#pragma mark - 测试个人/企业开关 | |
| 241 | +#define IPA_APPSTORE 1 ////1: 个人版 0:企业版 | |
| 242 | + | |
| 243 | +#if IPA_APPSTORE | |
| 244 | +//测试个人版 | |
| 245 | +//////////////////////////////////////////////////////// | |
| 246 | +//////////// AppConfig | |
| 247 | +//////////////////////////////////////////////////////// | |
| 248 | +//个人版 com.cnlive.CNLiveNetAdd.debug | |
| 249 | +#ifndef AppId | |
| 250 | +#define AppId @"802_jhlqbq4475" | |
| 251 | +#endif | |
| 252 | +#ifndef APPKey | |
| 253 | +#define APPKey @"d25cf0dce30e7d7ddc7c857b85ab0dde670d491fc2ffe4" | |
| 254 | +#endif | |
| 255 | +#ifndef AppSecret | |
| 256 | +#define AppSecret @"b9064cfe0a030b8b20c061fc0ee3c16acce7757874b7a2" | |
| 257 | +#define DisplayName @"网家家测试" | |
| 258 | +#endif | |
| 259 | + | |
| 260 | + | |
| 261 | +#define WjjShare_Iden @"group.com.cnlive.CNLiveNetAdd.debug" | |
| 262 | + | |
| 263 | +//////////////////////////////////////////////////////// | |
| 264 | +//////////// IM推送证书相关 | |
| 265 | +//////////////////////////////////////////////////////// | |
| 266 | +#if DEBUG | |
| 267 | +#define IM_Cer_busiId 12450 //9246已过期 | |
| 268 | +#else | |
| 269 | +#define IM_Cer_busiId 12451 //9247已过期 | |
| 270 | +#endif | |
| 271 | + | |
| 272 | +//////////////////////////////////////////////////////// | |
| 273 | +//////////// 高德地图Key | |
| 274 | +//////////////////////////////////////////////////////// | |
| 275 | +#define GDApiKey @"4b15525f4265edfed8dce1d02f08a893" | |
| 276 | + | |
| 277 | +//////////////////////////////////////////////////////// | |
| 278 | +//////////// 百度身份证识别 | |
| 279 | +//////////////////////////////////////////////////////// | |
| 280 | +#define BDAppId @"14435697" | |
| 281 | +#define BDAppKey @"3LqIXy2AtXxrxyFM8N73QGYN" | |
| 282 | +#define BDSecret @"EKZxZza8purqGHOmngkMi7awtZkm0lOW" | |
| 283 | + | |
| 284 | +//////////////////////////////////////////////////////// | |
| 285 | +//////////// 听云 | |
| 286 | +//////////////////////////////////////////////////////// | |
| 287 | +/*听云AppKey*/ //URL Scheme: tingyun.33185 | |
| 288 | +static NSString *const CNLiveTingYunAppKey = @"3dda66ec904a4c3a8ad0169ca74de352"; | |
| 289 | + | |
| 290 | +#else | |
| 291 | +//测试企业版 | |
| 292 | +//企业版 com.cnlive.CNLiveNetAddInHouse.debug | |
| 293 | +#ifndef AppId | |
| 294 | +#define AppId @"802_jhbqccxw08" | |
| 295 | +#endif | |
| 296 | +#ifndef APPKey | |
| 297 | +#define APPKey @"9c5619e9be747bb3b925dd215ca5923d86f12c09b9394f" | |
| 298 | +#endif | |
| 299 | +#ifndef AppSecret | |
| 300 | +#define AppSecret @"1e6380cb347255e777f72b5aa60f41daa68443a132aaea" | |
| 301 | +#define DisplayName @"网家家测试版" | |
| 302 | +#endif | |
| 303 | + | |
| 304 | +#define WjjShare_Iden @"group.com.cnlive.CNLiveNetAddInHouse.debug" | |
| 305 | + | |
| 306 | +//企业证书id | |
| 307 | +#if DEBUG | |
| 308 | +#define IM_Cer_busiId 9204 | |
| 309 | +#else | |
| 310 | +#define IM_Cer_busiId 9205 | |
| 311 | +#endif | |
| 312 | + | |
| 313 | +//////////////////////////////////////////////////////// | |
| 314 | +//////////// 高德地图Key | |
| 315 | +//////////////////////////////////////////////////////// | |
| 316 | +#define GDApiKey @"f4459435f1c756d2efedc6ceec12be63" | |
| 317 | + | |
| 318 | +//////////////////////////////////////////////////////// | |
| 319 | +//////////// 百度身份证识别 | |
| 320 | +//////////////////////////////////////////////////////// | |
| 321 | +#define BDAppId @"14435716" | |
| 322 | +#define BDAppKey @"4foSD6VBILQ61olzmVAFEVGZ" | |
| 323 | +#define BDSecret @"VEuz92EVrmEVrrgTZKxYo4ApUkol7Ptk" | |
| 324 | + | |
| 325 | +//////////////////////////////////////////////////////// | |
| 326 | +//////////// 听云 | |
| 327 | +//////////////////////////////////////////////////////// | |
| 328 | +/*听云AppKey*/ //URL Scheme: tingyun.33185 | |
| 329 | +static NSString *const CNLiveTingYunAppKey = @"3dda66ec904a4c3a8ad0169ca74de352"; | |
| 330 | + | |
| 331 | +#endif | |
| 332 | + | |
| 333 | +#endif | |
| 334 | + | |
| 335 | + | |
| 336 | +#endif /* CNEnvironmentHeader_h */ | ... | ... |
Example/CNLiveEnvironmentConfiguration.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 /* CNLiveAppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = 6003F59D195388D20070C39A /* CNLiveAppDelegate.m */; }; | |
| 16 | + 6003F5A7195388D20070C39A /* CNLiveViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 6003F5A6195388D20070C39A /* CNLiveViewController.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 | + 62FF6ED6196CE2769D4CC17C /* Pods_CNLiveEnvironmentConfiguration_Tests.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 3D3D972DB9C06A1FF39E8342 /* Pods_CNLiveEnvironmentConfiguration_Tests.framework */; }; | |
| 24 | + 71719F9F1E33DC2100824A3D /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 71719F9D1E33DC2100824A3D /* LaunchScreen.storyboard */; }; | |
| 25 | + 873B8AEB1B1F5CCA007FD442 /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 873B8AEA1B1F5CCA007FD442 /* Main.storyboard */; }; | |
| 26 | + 99438577E421223EBE153536 /* Pods_CNLiveEnvironmentConfiguration_Example.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 4F7D8EE4CF86A593D784A46A /* Pods_CNLiveEnvironmentConfiguration_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 = CNLiveEnvironmentConfiguration; | |
| 36 | + }; | |
| 37 | +/* End PBXContainerItemProxy section */ | |
| 38 | + | |
| 39 | +/* Begin PBXFileReference section */ | |
| 40 | + 04535EEB7515C5B4B3529AF8 /* Pods-CNLiveEnvironmentConfiguration_Tests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-CNLiveEnvironmentConfiguration_Tests.debug.xcconfig"; path = "Pods/Target Support Files/Pods-CNLiveEnvironmentConfiguration_Tests/Pods-CNLiveEnvironmentConfiguration_Tests.debug.xcconfig"; sourceTree = "<group>"; }; | |
| 41 | + 3A7BA25940EACEB8F8AE4BB0 /* Pods-CNLiveEnvironmentConfiguration_Tests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-CNLiveEnvironmentConfiguration_Tests.release.xcconfig"; path = "Pods/Target Support Files/Pods-CNLiveEnvironmentConfiguration_Tests/Pods-CNLiveEnvironmentConfiguration_Tests.release.xcconfig"; sourceTree = "<group>"; }; | |
| 42 | + 3D3D972DB9C06A1FF39E8342 /* Pods_CNLiveEnvironmentConfiguration_Tests.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_CNLiveEnvironmentConfiguration_Tests.framework; sourceTree = BUILT_PRODUCTS_DIR; }; | |
| 43 | + 4F7D8EE4CF86A593D784A46A /* Pods_CNLiveEnvironmentConfiguration_Example.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_CNLiveEnvironmentConfiguration_Example.framework; sourceTree = BUILT_PRODUCTS_DIR; }; | |
| 44 | + 5100562E0D540B88BF48AA14 /* README.md */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = net.daringfireball.markdown; name = README.md; path = ../README.md; sourceTree = "<group>"; }; | |
| 45 | + 6003F58A195388D20070C39A /* CNLiveEnvironmentConfiguration_Example.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = CNLiveEnvironmentConfiguration_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 /* CNLiveEnvironmentConfiguration-Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = "CNLiveEnvironmentConfiguration-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 /* CNLiveEnvironmentConfiguration-Prefix.pch */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "CNLiveEnvironmentConfiguration-Prefix.pch"; sourceTree = "<group>"; }; | |
| 53 | + 6003F59C195388D20070C39A /* CNLiveAppDelegate.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = CNLiveAppDelegate.h; sourceTree = "<group>"; }; | |
| 54 | + 6003F59D195388D20070C39A /* CNLiveAppDelegate.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = CNLiveAppDelegate.m; sourceTree = "<group>"; }; | |
| 55 | + 6003F5A5195388D20070C39A /* CNLiveViewController.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = CNLiveViewController.h; sourceTree = "<group>"; }; | |
| 56 | + 6003F5A6195388D20070C39A /* CNLiveViewController.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = CNLiveViewController.m; sourceTree = "<group>"; }; | |
| 57 | + 6003F5A8195388D20070C39A /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Images.xcassets; sourceTree = "<group>"; }; | |
| 58 | + 6003F5AE195388D20070C39A /* CNLiveEnvironmentConfiguration_Tests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = CNLiveEnvironmentConfiguration_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 | + 6443060F00492570C0C24A6B /* CNLiveEnvironmentConfiguration.podspec */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; name = CNLiveEnvironmentConfiguration.podspec; path = ../CNLiveEnvironmentConfiguration.podspec; sourceTree = "<group>"; xcLanguageSpecificationIdentifier = xcode.lang.ruby; }; | |
| 65 | + 71719F9E1E33DC2100824A3D /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = "<group>"; }; | |
| 66 | + 873B8AEA1B1F5CCA007FD442 /* Main.storyboard */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.storyboard; name = Main.storyboard; path = Base.lproj/Main.storyboard; sourceTree = "<group>"; }; | |
| 67 | + A23094B495D2AD5DCEB40553 /* Pods-CNLiveEnvironmentConfiguration_Example.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-CNLiveEnvironmentConfiguration_Example.release.xcconfig"; path = "Pods/Target Support Files/Pods-CNLiveEnvironmentConfiguration_Example/Pods-CNLiveEnvironmentConfiguration_Example.release.xcconfig"; sourceTree = "<group>"; }; | |
| 68 | + E790259F3DD913A2EEF2E727 /* LICENSE */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; name = LICENSE; path = ../LICENSE; sourceTree = "<group>"; }; | |
| 69 | + F7106200589D8646CC4CE759 /* Pods-CNLiveEnvironmentConfiguration_Example.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-CNLiveEnvironmentConfiguration_Example.debug.xcconfig"; path = "Pods/Target Support Files/Pods-CNLiveEnvironmentConfiguration_Example/Pods-CNLiveEnvironmentConfiguration_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 | + 99438577E421223EBE153536 /* Pods_CNLiveEnvironmentConfiguration_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 | + 62FF6ED6196CE2769D4CC17C /* Pods_CNLiveEnvironmentConfiguration_Tests.framework in Frameworks */, | |
| 92 | + ); | |
| 93 | + runOnlyForDeploymentPostprocessing = 0; | |
| 94 | + }; | |
| 95 | +/* End PBXFrameworksBuildPhase section */ | |
| 96 | + | |
| 97 | +/* Begin PBXGroup section */ | |
| 98 | + 6003F581195388D10070C39A = { | |
| 99 | + isa = PBXGroup; | |
| 100 | + children = ( | |
| 101 | + 60FF7A9C1954A5C5007DD14C /* Podspec Metadata */, | |
| 102 | + 6003F593195388D20070C39A /* Example for CNLiveEnvironmentConfiguration */, | |
| 103 | + 6003F5B5195388D20070C39A /* Tests */, | |
| 104 | + 6003F58C195388D20070C39A /* Frameworks */, | |
| 105 | + 6003F58B195388D20070C39A /* Products */, | |
| 106 | + 70241B044115B75D3BA68A09 /* Pods */, | |
| 107 | + ); | |
| 108 | + sourceTree = "<group>"; | |
| 109 | + }; | |
| 110 | + 6003F58B195388D20070C39A /* Products */ = { | |
| 111 | + isa = PBXGroup; | |
| 112 | + children = ( | |
| 113 | + 6003F58A195388D20070C39A /* CNLiveEnvironmentConfiguration_Example.app */, | |
| 114 | + 6003F5AE195388D20070C39A /* CNLiveEnvironmentConfiguration_Tests.xctest */, | |
| 115 | + ); | |
| 116 | + name = Products; | |
| 117 | + sourceTree = "<group>"; | |
| 118 | + }; | |
| 119 | + 6003F58C195388D20070C39A /* Frameworks */ = { | |
| 120 | + isa = PBXGroup; | |
| 121 | + children = ( | |
| 122 | + 6003F58D195388D20070C39A /* Foundation.framework */, | |
| 123 | + 6003F58F195388D20070C39A /* CoreGraphics.framework */, | |
| 124 | + 6003F591195388D20070C39A /* UIKit.framework */, | |
| 125 | + 6003F5AF195388D20070C39A /* XCTest.framework */, | |
| 126 | + 4F7D8EE4CF86A593D784A46A /* Pods_CNLiveEnvironmentConfiguration_Example.framework */, | |
| 127 | + 3D3D972DB9C06A1FF39E8342 /* Pods_CNLiveEnvironmentConfiguration_Tests.framework */, | |
| 128 | + ); | |
| 129 | + name = Frameworks; | |
| 130 | + sourceTree = "<group>"; | |
| 131 | + }; | |
| 132 | + 6003F593195388D20070C39A /* Example for CNLiveEnvironmentConfiguration */ = { | |
| 133 | + isa = PBXGroup; | |
| 134 | + children = ( | |
| 135 | + 6003F59C195388D20070C39A /* CNLiveAppDelegate.h */, | |
| 136 | + 6003F59D195388D20070C39A /* CNLiveAppDelegate.m */, | |
| 137 | + 873B8AEA1B1F5CCA007FD442 /* Main.storyboard */, | |
| 138 | + 6003F5A5195388D20070C39A /* CNLiveViewController.h */, | |
| 139 | + 6003F5A6195388D20070C39A /* CNLiveViewController.m */, | |
| 140 | + 71719F9D1E33DC2100824A3D /* LaunchScreen.storyboard */, | |
| 141 | + 6003F5A8195388D20070C39A /* Images.xcassets */, | |
| 142 | + 6003F594195388D20070C39A /* Supporting Files */, | |
| 143 | + ); | |
| 144 | + name = "Example for CNLiveEnvironmentConfiguration"; | |
| 145 | + path = CNLiveEnvironmentConfiguration; | |
| 146 | + sourceTree = "<group>"; | |
| 147 | + }; | |
| 148 | + 6003F594195388D20070C39A /* Supporting Files */ = { | |
| 149 | + isa = PBXGroup; | |
| 150 | + children = ( | |
| 151 | + 6003F595195388D20070C39A /* CNLiveEnvironmentConfiguration-Info.plist */, | |
| 152 | + 6003F596195388D20070C39A /* InfoPlist.strings */, | |
| 153 | + 6003F599195388D20070C39A /* main.m */, | |
| 154 | + 6003F59B195388D20070C39A /* CNLiveEnvironmentConfiguration-Prefix.pch */, | |
| 155 | + ); | |
| 156 | + name = "Supporting Files"; | |
| 157 | + sourceTree = "<group>"; | |
| 158 | + }; | |
| 159 | + 6003F5B5195388D20070C39A /* Tests */ = { | |
| 160 | + isa = PBXGroup; | |
| 161 | + children = ( | |
| 162 | + 6003F5BB195388D20070C39A /* Tests.m */, | |
| 163 | + 6003F5B6195388D20070C39A /* Supporting Files */, | |
| 164 | + ); | |
| 165 | + path = Tests; | |
| 166 | + sourceTree = "<group>"; | |
| 167 | + }; | |
| 168 | + 6003F5B6195388D20070C39A /* Supporting Files */ = { | |
| 169 | + isa = PBXGroup; | |
| 170 | + children = ( | |
| 171 | + 6003F5B7195388D20070C39A /* Tests-Info.plist */, | |
| 172 | + 6003F5B8195388D20070C39A /* InfoPlist.strings */, | |
| 173 | + 606FC2411953D9B200FFA9A0 /* Tests-Prefix.pch */, | |
| 174 | + ); | |
| 175 | + name = "Supporting Files"; | |
| 176 | + sourceTree = "<group>"; | |
| 177 | + }; | |
| 178 | + 60FF7A9C1954A5C5007DD14C /* Podspec Metadata */ = { | |
| 179 | + isa = PBXGroup; | |
| 180 | + children = ( | |
| 181 | + 6443060F00492570C0C24A6B /* CNLiveEnvironmentConfiguration.podspec */, | |
| 182 | + 5100562E0D540B88BF48AA14 /* README.md */, | |
| 183 | + E790259F3DD913A2EEF2E727 /* LICENSE */, | |
| 184 | + ); | |
| 185 | + name = "Podspec Metadata"; | |
| 186 | + sourceTree = "<group>"; | |
| 187 | + }; | |
| 188 | + 70241B044115B75D3BA68A09 /* Pods */ = { | |
| 189 | + isa = PBXGroup; | |
| 190 | + children = ( | |
| 191 | + F7106200589D8646CC4CE759 /* Pods-CNLiveEnvironmentConfiguration_Example.debug.xcconfig */, | |
| 192 | + A23094B495D2AD5DCEB40553 /* Pods-CNLiveEnvironmentConfiguration_Example.release.xcconfig */, | |
| 193 | + 04535EEB7515C5B4B3529AF8 /* Pods-CNLiveEnvironmentConfiguration_Tests.debug.xcconfig */, | |
| 194 | + 3A7BA25940EACEB8F8AE4BB0 /* Pods-CNLiveEnvironmentConfiguration_Tests.release.xcconfig */, | |
| 195 | + ); | |
| 196 | + name = Pods; | |
| 197 | + sourceTree = "<group>"; | |
| 198 | + }; | |
| 199 | +/* End PBXGroup section */ | |
| 200 | + | |
| 201 | +/* Begin PBXNativeTarget section */ | |
| 202 | + 6003F589195388D20070C39A /* CNLiveEnvironmentConfiguration_Example */ = { | |
| 203 | + isa = PBXNativeTarget; | |
| 204 | + buildConfigurationList = 6003F5BF195388D20070C39A /* Build configuration list for PBXNativeTarget "CNLiveEnvironmentConfiguration_Example" */; | |
| 205 | + buildPhases = ( | |
| 206 | + F4FFA65F95D032645036FA9E /* [CP] Check Pods Manifest.lock */, | |
| 207 | + 6003F586195388D20070C39A /* Sources */, | |
| 208 | + 6003F587195388D20070C39A /* Frameworks */, | |
| 209 | + 6003F588195388D20070C39A /* Resources */, | |
| 210 | + ); | |
| 211 | + buildRules = ( | |
| 212 | + ); | |
| 213 | + dependencies = ( | |
| 214 | + ); | |
| 215 | + name = CNLiveEnvironmentConfiguration_Example; | |
| 216 | + productName = CNLiveEnvironmentConfiguration; | |
| 217 | + productReference = 6003F58A195388D20070C39A /* CNLiveEnvironmentConfiguration_Example.app */; | |
| 218 | + productType = "com.apple.product-type.application"; | |
| 219 | + }; | |
| 220 | + 6003F5AD195388D20070C39A /* CNLiveEnvironmentConfiguration_Tests */ = { | |
| 221 | + isa = PBXNativeTarget; | |
| 222 | + buildConfigurationList = 6003F5C2195388D20070C39A /* Build configuration list for PBXNativeTarget "CNLiveEnvironmentConfiguration_Tests" */; | |
| 223 | + buildPhases = ( | |
| 224 | + 6ED617AA7B24F737C2B2AD45 /* [CP] Check Pods Manifest.lock */, | |
| 225 | + 6003F5AA195388D20070C39A /* Sources */, | |
| 226 | + 6003F5AB195388D20070C39A /* Frameworks */, | |
| 227 | + 6003F5AC195388D20070C39A /* Resources */, | |
| 228 | + ); | |
| 229 | + buildRules = ( | |
| 230 | + ); | |
| 231 | + dependencies = ( | |
| 232 | + 6003F5B4195388D20070C39A /* PBXTargetDependency */, | |
| 233 | + ); | |
| 234 | + name = CNLiveEnvironmentConfiguration_Tests; | |
| 235 | + productName = CNLiveEnvironmentConfigurationTests; | |
| 236 | + productReference = 6003F5AE195388D20070C39A /* CNLiveEnvironmentConfiguration_Tests.xctest */; | |
| 237 | + productType = "com.apple.product-type.bundle.unit-test"; | |
| 238 | + }; | |
| 239 | +/* End PBXNativeTarget section */ | |
| 240 | + | |
| 241 | +/* Begin PBXProject section */ | |
| 242 | + 6003F582195388D10070C39A /* Project object */ = { | |
| 243 | + isa = PBXProject; | |
| 244 | + attributes = { | |
| 245 | + CLASSPREFIX = CNLive; | |
| 246 | + LastUpgradeCheck = 0720; | |
| 247 | + ORGANIZATIONNAME = "153993236@qq.com"; | |
| 248 | + TargetAttributes = { | |
| 249 | + 6003F589195388D20070C39A = { | |
| 250 | + DevelopmentTeam = 94X49GG3ZW; | |
| 251 | + }; | |
| 252 | + 6003F5AD195388D20070C39A = { | |
| 253 | + TestTargetID = 6003F589195388D20070C39A; | |
| 254 | + }; | |
| 255 | + }; | |
| 256 | + }; | |
| 257 | + buildConfigurationList = 6003F585195388D10070C39A /* Build configuration list for PBXProject "CNLiveEnvironmentConfiguration" */; | |
| 258 | + compatibilityVersion = "Xcode 3.2"; | |
| 259 | + developmentRegion = English; | |
| 260 | + hasScannedForEncodings = 0; | |
| 261 | + knownRegions = ( | |
| 262 | + en, | |
| 263 | + Base, | |
| 264 | + ); | |
| 265 | + mainGroup = 6003F581195388D10070C39A; | |
| 266 | + productRefGroup = 6003F58B195388D20070C39A /* Products */; | |
| 267 | + projectDirPath = ""; | |
| 268 | + projectRoot = ""; | |
| 269 | + targets = ( | |
| 270 | + 6003F589195388D20070C39A /* CNLiveEnvironmentConfiguration_Example */, | |
| 271 | + 6003F5AD195388D20070C39A /* CNLiveEnvironmentConfiguration_Tests */, | |
| 272 | + ); | |
| 273 | + }; | |
| 274 | +/* End PBXProject section */ | |
| 275 | + | |
| 276 | +/* Begin PBXResourcesBuildPhase section */ | |
| 277 | + 6003F588195388D20070C39A /* Resources */ = { | |
| 278 | + isa = PBXResourcesBuildPhase; | |
| 279 | + buildActionMask = 2147483647; | |
| 280 | + files = ( | |
| 281 | + 873B8AEB1B1F5CCA007FD442 /* Main.storyboard in Resources */, | |
| 282 | + 71719F9F1E33DC2100824A3D /* LaunchScreen.storyboard in Resources */, | |
| 283 | + 6003F5A9195388D20070C39A /* Images.xcassets in Resources */, | |
| 284 | + 6003F598195388D20070C39A /* InfoPlist.strings in Resources */, | |
| 285 | + ); | |
| 286 | + runOnlyForDeploymentPostprocessing = 0; | |
| 287 | + }; | |
| 288 | + 6003F5AC195388D20070C39A /* Resources */ = { | |
| 289 | + isa = PBXResourcesBuildPhase; | |
| 290 | + buildActionMask = 2147483647; | |
| 291 | + files = ( | |
| 292 | + 6003F5BA195388D20070C39A /* InfoPlist.strings in Resources */, | |
| 293 | + ); | |
| 294 | + runOnlyForDeploymentPostprocessing = 0; | |
| 295 | + }; | |
| 296 | +/* End PBXResourcesBuildPhase section */ | |
| 297 | + | |
| 298 | +/* Begin PBXShellScriptBuildPhase section */ | |
| 299 | + 6ED617AA7B24F737C2B2AD45 /* [CP] Check Pods Manifest.lock */ = { | |
| 300 | + isa = PBXShellScriptBuildPhase; | |
| 301 | + buildActionMask = 2147483647; | |
| 302 | + files = ( | |
| 303 | + ); | |
| 304 | + inputFileListPaths = ( | |
| 305 | + ); | |
| 306 | + inputPaths = ( | |
| 307 | + "${PODS_PODFILE_DIR_PATH}/Podfile.lock", | |
| 308 | + "${PODS_ROOT}/Manifest.lock", | |
| 309 | + ); | |
| 310 | + name = "[CP] Check Pods Manifest.lock"; | |
| 311 | + outputFileListPaths = ( | |
| 312 | + ); | |
| 313 | + outputPaths = ( | |
| 314 | + "$(DERIVED_FILE_DIR)/Pods-CNLiveEnvironmentConfiguration_Tests-checkManifestLockResult.txt", | |
| 315 | + ); | |
| 316 | + runOnlyForDeploymentPostprocessing = 0; | |
| 317 | + shellPath = /bin/sh; | |
| 318 | + 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"; | |
| 319 | + showEnvVarsInLog = 0; | |
| 320 | + }; | |
| 321 | + F4FFA65F95D032645036FA9E /* [CP] Check Pods Manifest.lock */ = { | |
| 322 | + isa = PBXShellScriptBuildPhase; | |
| 323 | + buildActionMask = 2147483647; | |
| 324 | + files = ( | |
| 325 | + ); | |
| 326 | + inputFileListPaths = ( | |
| 327 | + ); | |
| 328 | + inputPaths = ( | |
| 329 | + "${PODS_PODFILE_DIR_PATH}/Podfile.lock", | |
| 330 | + "${PODS_ROOT}/Manifest.lock", | |
| 331 | + ); | |
| 332 | + name = "[CP] Check Pods Manifest.lock"; | |
| 333 | + outputFileListPaths = ( | |
| 334 | + ); | |
| 335 | + outputPaths = ( | |
| 336 | + "$(DERIVED_FILE_DIR)/Pods-CNLiveEnvironmentConfiguration_Example-checkManifestLockResult.txt", | |
| 337 | + ); | |
| 338 | + runOnlyForDeploymentPostprocessing = 0; | |
| 339 | + shellPath = /bin/sh; | |
| 340 | + 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"; | |
| 341 | + showEnvVarsInLog = 0; | |
| 342 | + }; | |
| 343 | +/* End PBXShellScriptBuildPhase section */ | |
| 344 | + | |
| 345 | +/* Begin PBXSourcesBuildPhase section */ | |
| 346 | + 6003F586195388D20070C39A /* Sources */ = { | |
| 347 | + isa = PBXSourcesBuildPhase; | |
| 348 | + buildActionMask = 2147483647; | |
| 349 | + files = ( | |
| 350 | + 6003F59E195388D20070C39A /* CNLiveAppDelegate.m in Sources */, | |
| 351 | + 6003F5A7195388D20070C39A /* CNLiveViewController.m in Sources */, | |
| 352 | + 6003F59A195388D20070C39A /* main.m in Sources */, | |
| 353 | + ); | |
| 354 | + runOnlyForDeploymentPostprocessing = 0; | |
| 355 | + }; | |
| 356 | + 6003F5AA195388D20070C39A /* Sources */ = { | |
| 357 | + isa = PBXSourcesBuildPhase; | |
| 358 | + buildActionMask = 2147483647; | |
| 359 | + files = ( | |
| 360 | + 6003F5BC195388D20070C39A /* Tests.m in Sources */, | |
| 361 | + ); | |
| 362 | + runOnlyForDeploymentPostprocessing = 0; | |
| 363 | + }; | |
| 364 | +/* End PBXSourcesBuildPhase section */ | |
| 365 | + | |
| 366 | +/* Begin PBXTargetDependency section */ | |
| 367 | + 6003F5B4195388D20070C39A /* PBXTargetDependency */ = { | |
| 368 | + isa = PBXTargetDependency; | |
| 369 | + target = 6003F589195388D20070C39A /* CNLiveEnvironmentConfiguration_Example */; | |
| 370 | + targetProxy = 6003F5B3195388D20070C39A /* PBXContainerItemProxy */; | |
| 371 | + }; | |
| 372 | +/* End PBXTargetDependency section */ | |
| 373 | + | |
| 374 | +/* Begin PBXVariantGroup section */ | |
| 375 | + 6003F596195388D20070C39A /* InfoPlist.strings */ = { | |
| 376 | + isa = PBXVariantGroup; | |
| 377 | + children = ( | |
| 378 | + 6003F597195388D20070C39A /* en */, | |
| 379 | + ); | |
| 380 | + name = InfoPlist.strings; | |
| 381 | + sourceTree = "<group>"; | |
| 382 | + }; | |
| 383 | + 6003F5B8195388D20070C39A /* InfoPlist.strings */ = { | |
| 384 | + isa = PBXVariantGroup; | |
| 385 | + children = ( | |
| 386 | + 6003F5B9195388D20070C39A /* en */, | |
| 387 | + ); | |
| 388 | + name = InfoPlist.strings; | |
| 389 | + sourceTree = "<group>"; | |
| 390 | + }; | |
| 391 | + 71719F9D1E33DC2100824A3D /* LaunchScreen.storyboard */ = { | |
| 392 | + isa = PBXVariantGroup; | |
| 393 | + children = ( | |
| 394 | + 71719F9E1E33DC2100824A3D /* Base */, | |
| 395 | + ); | |
| 396 | + name = LaunchScreen.storyboard; | |
| 397 | + sourceTree = "<group>"; | |
| 398 | + }; | |
| 399 | +/* End PBXVariantGroup section */ | |
| 400 | + | |
| 401 | +/* Begin XCBuildConfiguration section */ | |
| 402 | + 6003F5BD195388D20070C39A /* Debug */ = { | |
| 403 | + isa = XCBuildConfiguration; | |
| 404 | + buildSettings = { | |
| 405 | + ALWAYS_SEARCH_USER_PATHS = NO; | |
| 406 | + CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; | |
| 407 | + CLANG_CXX_LIBRARY = "libc++"; | |
| 408 | + CLANG_ENABLE_MODULES = YES; | |
| 409 | + CLANG_ENABLE_OBJC_ARC = YES; | |
| 410 | + CLANG_WARN_BOOL_CONVERSION = YES; | |
| 411 | + CLANG_WARN_CONSTANT_CONVERSION = YES; | |
| 412 | + CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; | |
| 413 | + CLANG_WARN_EMPTY_BODY = YES; | |
| 414 | + CLANG_WARN_ENUM_CONVERSION = YES; | |
| 415 | + CLANG_WARN_INT_CONVERSION = YES; | |
| 416 | + CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; | |
| 417 | + CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; | |
| 418 | + "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; | |
| 419 | + COPY_PHASE_STRIP = NO; | |
| 420 | + ENABLE_TESTABILITY = YES; | |
| 421 | + GCC_C_LANGUAGE_STANDARD = gnu99; | |
| 422 | + GCC_DYNAMIC_NO_PIC = NO; | |
| 423 | + GCC_OPTIMIZATION_LEVEL = 0; | |
| 424 | + GCC_PREPROCESSOR_DEFINITIONS = ( | |
| 425 | + "DEBUG=1", | |
| 426 | + "$(inherited)", | |
| 427 | + ); | |
| 428 | + GCC_SYMBOLS_PRIVATE_EXTERN = NO; | |
| 429 | + GCC_WARN_64_TO_32_BIT_CONVERSION = YES; | |
| 430 | + GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; | |
| 431 | + GCC_WARN_UNDECLARED_SELECTOR = YES; | |
| 432 | + GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; | |
| 433 | + GCC_WARN_UNUSED_FUNCTION = YES; | |
| 434 | + GCC_WARN_UNUSED_VARIABLE = YES; | |
| 435 | + IPHONEOS_DEPLOYMENT_TARGET = 9.3; | |
| 436 | + ONLY_ACTIVE_ARCH = YES; | |
| 437 | + SDKROOT = iphoneos; | |
| 438 | + TARGETED_DEVICE_FAMILY = "1,2"; | |
| 439 | + }; | |
| 440 | + name = Debug; | |
| 441 | + }; | |
| 442 | + 6003F5BE195388D20070C39A /* Release */ = { | |
| 443 | + isa = XCBuildConfiguration; | |
| 444 | + buildSettings = { | |
| 445 | + ALWAYS_SEARCH_USER_PATHS = NO; | |
| 446 | + CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; | |
| 447 | + CLANG_CXX_LIBRARY = "libc++"; | |
| 448 | + CLANG_ENABLE_MODULES = YES; | |
| 449 | + CLANG_ENABLE_OBJC_ARC = YES; | |
| 450 | + CLANG_WARN_BOOL_CONVERSION = YES; | |
| 451 | + CLANG_WARN_CONSTANT_CONVERSION = YES; | |
| 452 | + CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; | |
| 453 | + CLANG_WARN_EMPTY_BODY = YES; | |
| 454 | + CLANG_WARN_ENUM_CONVERSION = YES; | |
| 455 | + CLANG_WARN_INT_CONVERSION = YES; | |
| 456 | + CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; | |
| 457 | + CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; | |
| 458 | + "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; | |
| 459 | + COPY_PHASE_STRIP = YES; | |
| 460 | + ENABLE_NS_ASSERTIONS = NO; | |
| 461 | + GCC_C_LANGUAGE_STANDARD = gnu99; | |
| 462 | + GCC_WARN_64_TO_32_BIT_CONVERSION = YES; | |
| 463 | + GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; | |
| 464 | + GCC_WARN_UNDECLARED_SELECTOR = YES; | |
| 465 | + GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; | |
| 466 | + GCC_WARN_UNUSED_FUNCTION = YES; | |
| 467 | + GCC_WARN_UNUSED_VARIABLE = YES; | |
| 468 | + IPHONEOS_DEPLOYMENT_TARGET = 9.3; | |
| 469 | + SDKROOT = iphoneos; | |
| 470 | + TARGETED_DEVICE_FAMILY = "1,2"; | |
| 471 | + VALIDATE_PRODUCT = YES; | |
| 472 | + }; | |
| 473 | + name = Release; | |
| 474 | + }; | |
| 475 | + 6003F5C0195388D20070C39A /* Debug */ = { | |
| 476 | + isa = XCBuildConfiguration; | |
| 477 | + baseConfigurationReference = F7106200589D8646CC4CE759 /* Pods-CNLiveEnvironmentConfiguration_Example.debug.xcconfig */; | |
| 478 | + buildSettings = { | |
| 479 | + ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; | |
| 480 | + DEVELOPMENT_TEAM = 94X49GG3ZW; | |
| 481 | + GCC_PRECOMPILE_PREFIX_HEADER = YES; | |
| 482 | + GCC_PREFIX_HEADER = "CNLiveEnvironmentConfiguration/CNLiveEnvironmentConfiguration-Prefix.pch"; | |
| 483 | + INFOPLIST_FILE = "CNLiveEnvironmentConfiguration/CNLiveEnvironmentConfiguration-Info.plist"; | |
| 484 | + MODULE_NAME = ExampleApp; | |
| 485 | + PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.demo.${PRODUCT_NAME:rfc1034identifier}"; | |
| 486 | + PRODUCT_NAME = "$(TARGET_NAME)"; | |
| 487 | + WRAPPER_EXTENSION = app; | |
| 488 | + }; | |
| 489 | + name = Debug; | |
| 490 | + }; | |
| 491 | + 6003F5C1195388D20070C39A /* Release */ = { | |
| 492 | + isa = XCBuildConfiguration; | |
| 493 | + baseConfigurationReference = A23094B495D2AD5DCEB40553 /* Pods-CNLiveEnvironmentConfiguration_Example.release.xcconfig */; | |
| 494 | + buildSettings = { | |
| 495 | + ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; | |
| 496 | + DEVELOPMENT_TEAM = 94X49GG3ZW; | |
| 497 | + GCC_PRECOMPILE_PREFIX_HEADER = YES; | |
| 498 | + GCC_PREFIX_HEADER = "CNLiveEnvironmentConfiguration/CNLiveEnvironmentConfiguration-Prefix.pch"; | |
| 499 | + INFOPLIST_FILE = "CNLiveEnvironmentConfiguration/CNLiveEnvironmentConfiguration-Info.plist"; | |
| 500 | + MODULE_NAME = ExampleApp; | |
| 501 | + PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.demo.${PRODUCT_NAME:rfc1034identifier}"; | |
| 502 | + PRODUCT_NAME = "$(TARGET_NAME)"; | |
| 503 | + WRAPPER_EXTENSION = app; | |
| 504 | + }; | |
| 505 | + name = Release; | |
| 506 | + }; | |
| 507 | + 6003F5C3195388D20070C39A /* Debug */ = { | |
| 508 | + isa = XCBuildConfiguration; | |
| 509 | + baseConfigurationReference = 04535EEB7515C5B4B3529AF8 /* Pods-CNLiveEnvironmentConfiguration_Tests.debug.xcconfig */; | |
| 510 | + buildSettings = { | |
| 511 | + BUNDLE_LOADER = "$(TEST_HOST)"; | |
| 512 | + FRAMEWORK_SEARCH_PATHS = ( | |
| 513 | + "$(SDKROOT)/Developer/Library/Frameworks", | |
| 514 | + "$(inherited)", | |
| 515 | + "$(DEVELOPER_FRAMEWORKS_DIR)", | |
| 516 | + ); | |
| 517 | + GCC_PRECOMPILE_PREFIX_HEADER = YES; | |
| 518 | + GCC_PREFIX_HEADER = "Tests/Tests-Prefix.pch"; | |
| 519 | + GCC_PREPROCESSOR_DEFINITIONS = ( | |
| 520 | + "DEBUG=1", | |
| 521 | + "$(inherited)", | |
| 522 | + ); | |
| 523 | + INFOPLIST_FILE = "Tests/Tests-Info.plist"; | |
| 524 | + PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.demo.${PRODUCT_NAME:rfc1034identifier}"; | |
| 525 | + PRODUCT_NAME = "$(TARGET_NAME)"; | |
| 526 | + TEST_HOST = "$(BUILT_PRODUCTS_DIR)/CNLiveEnvironmentConfiguration_Example.app/CNLiveEnvironmentConfiguration_Example"; | |
| 527 | + WRAPPER_EXTENSION = xctest; | |
| 528 | + }; | |
| 529 | + name = Debug; | |
| 530 | + }; | |
| 531 | + 6003F5C4195388D20070C39A /* Release */ = { | |
| 532 | + isa = XCBuildConfiguration; | |
| 533 | + baseConfigurationReference = 3A7BA25940EACEB8F8AE4BB0 /* Pods-CNLiveEnvironmentConfiguration_Tests.release.xcconfig */; | |
| 534 | + buildSettings = { | |
| 535 | + BUNDLE_LOADER = "$(TEST_HOST)"; | |
| 536 | + FRAMEWORK_SEARCH_PATHS = ( | |
| 537 | + "$(SDKROOT)/Developer/Library/Frameworks", | |
| 538 | + "$(inherited)", | |
| 539 | + "$(DEVELOPER_FRAMEWORKS_DIR)", | |
| 540 | + ); | |
| 541 | + GCC_PRECOMPILE_PREFIX_HEADER = YES; | |
| 542 | + GCC_PREFIX_HEADER = "Tests/Tests-Prefix.pch"; | |
| 543 | + INFOPLIST_FILE = "Tests/Tests-Info.plist"; | |
| 544 | + PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.demo.${PRODUCT_NAME:rfc1034identifier}"; | |
| 545 | + PRODUCT_NAME = "$(TARGET_NAME)"; | |
| 546 | + TEST_HOST = "$(BUILT_PRODUCTS_DIR)/CNLiveEnvironmentConfiguration_Example.app/CNLiveEnvironmentConfiguration_Example"; | |
| 547 | + WRAPPER_EXTENSION = xctest; | |
| 548 | + }; | |
| 549 | + name = Release; | |
| 550 | + }; | |
| 551 | +/* End XCBuildConfiguration section */ | |
| 552 | + | |
| 553 | +/* Begin XCConfigurationList section */ | |
| 554 | + 6003F585195388D10070C39A /* Build configuration list for PBXProject "CNLiveEnvironmentConfiguration" */ = { | |
| 555 | + isa = XCConfigurationList; | |
| 556 | + buildConfigurations = ( | |
| 557 | + 6003F5BD195388D20070C39A /* Debug */, | |
| 558 | + 6003F5BE195388D20070C39A /* Release */, | |
| 559 | + ); | |
| 560 | + defaultConfigurationIsVisible = 0; | |
| 561 | + defaultConfigurationName = Release; | |
| 562 | + }; | |
| 563 | + 6003F5BF195388D20070C39A /* Build configuration list for PBXNativeTarget "CNLiveEnvironmentConfiguration_Example" */ = { | |
| 564 | + isa = XCConfigurationList; | |
| 565 | + buildConfigurations = ( | |
| 566 | + 6003F5C0195388D20070C39A /* Debug */, | |
| 567 | + 6003F5C1195388D20070C39A /* Release */, | |
| 568 | + ); | |
| 569 | + defaultConfigurationIsVisible = 0; | |
| 570 | + defaultConfigurationName = Release; | |
| 571 | + }; | |
| 572 | + 6003F5C2195388D20070C39A /* Build configuration list for PBXNativeTarget "CNLiveEnvironmentConfiguration_Tests" */ = { | |
| 573 | + isa = XCConfigurationList; | |
| 574 | + buildConfigurations = ( | |
| 575 | + 6003F5C3195388D20070C39A /* Debug */, | |
| 576 | + 6003F5C4195388D20070C39A /* Release */, | |
| 577 | + ); | |
| 578 | + defaultConfigurationIsVisible = 0; | |
| 579 | + defaultConfigurationName = Release; | |
| 580 | + }; | |
| 581 | +/* End XCConfigurationList section */ | |
| 582 | + }; | |
| 583 | + rootObject = 6003F582195388D10070C39A /* Project object */; | |
| 584 | +} | ... | ... |
Example/CNLiveEnvironmentConfiguration.xcodeproj/xcshareddata/xcschemes/CNLiveEnvironmentConfiguration-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 = "CNLiveEnvironmentConfiguration_Example.app" | |
| 19 | + BlueprintName = "CNLiveEnvironmentConfiguration_Example" | |
| 20 | + ReferencedContainer = "container:CNLiveEnvironmentConfiguration.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 = "CNLiveEnvironmentConfiguration_Tests.xctest" | |
| 37 | + BlueprintName = "CNLiveEnvironmentConfiguration_Tests" | |
| 38 | + ReferencedContainer = "container:CNLiveEnvironmentConfiguration.xcodeproj"> | |
| 39 | + </BuildableReference> | |
| 40 | + </TestableReference> | |
| 41 | + </Testables> | |
| 42 | + <MacroExpansion> | |
| 43 | + <BuildableReference | |
| 44 | + BuildableIdentifier = "primary" | |
| 45 | + BlueprintIdentifier = "6003F589195388D20070C39A" | |
| 46 | + BuildableName = "CNLiveEnvironmentConfiguration_Example.app" | |
| 47 | + BlueprintName = "CNLiveEnvironmentConfiguration_Example" | |
| 48 | + ReferencedContainer = "container:CNLiveEnvironmentConfiguration.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 = "CNLiveEnvironmentConfiguration_Example.app" | |
| 70 | + BlueprintName = "CNLiveEnvironmentConfiguration_Example" | |
| 71 | + ReferencedContainer = "container:CNLiveEnvironmentConfiguration.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 = "CNLiveEnvironmentConfiguration_Example.app" | |
| 89 | + BlueprintName = "CNLiveEnvironmentConfiguration_Example" | |
| 90 | + ReferencedContainer = "container:CNLiveEnvironmentConfiguration.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/CNLiveEnvironmentConfiguration/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/CNLiveEnvironmentConfiguration/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="CNLiveViewController" 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/CNLiveEnvironmentConfiguration/CNLiveAppDelegate.h
0 → 100644
| 1 | +// | |
| 2 | +// CNLiveAppDelegate.h | |
| 3 | +// CNLiveEnvironmentConfiguration | |
| 4 | +// | |
| 5 | +// Created by 153993236@qq.com on 04/16/2019. | |
| 6 | +// Copyright (c) 2019 153993236@qq.com. All rights reserved. | |
| 7 | +// | |
| 8 | + | |
| 9 | +@import UIKit; | |
| 10 | + | |
| 11 | +@interface CNLiveAppDelegate : UIResponder <UIApplicationDelegate> | |
| 12 | + | |
| 13 | +@property (strong, nonatomic) UIWindow *window; | |
| 14 | + | |
| 15 | +@end | ... | ... |
Example/CNLiveEnvironmentConfiguration/CNLiveAppDelegate.m
0 → 100644
| 1 | +// | |
| 2 | +// CNLiveAppDelegate.m | |
| 3 | +// CNLiveEnvironmentConfiguration | |
| 4 | +// | |
| 5 | +// Created by 153993236@qq.com on 04/16/2019. | |
| 6 | +// Copyright (c) 2019 153993236@qq.com. All rights reserved. | |
| 7 | +// | |
| 8 | + | |
| 9 | +#import "CNLiveAppDelegate.h" | |
| 10 | + | |
| 11 | +@implementation CNLiveAppDelegate | |
| 12 | + | |
| 13 | +- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions | |
| 14 | +{ | |
| 15 | + // Override point for customization after application launch. | |
| 16 | + return YES; | |
| 17 | +} | |
| 18 | + | |
| 19 | +- (void)applicationWillResignActive:(UIApplication *)application | |
| 20 | +{ | |
| 21 | + // 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. | |
| 22 | + // 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. | |
| 23 | +} | |
| 24 | + | |
| 25 | +- (void)applicationDidEnterBackground:(UIApplication *)application | |
| 26 | +{ | |
| 27 | + // 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. | |
| 28 | + // If your application supports background execution, this method is called instead of applicationWillTerminate: when the user quits. | |
| 29 | +} | |
| 30 | + | |
| 31 | +- (void)applicationWillEnterForeground:(UIApplication *)application | |
| 32 | +{ | |
| 33 | + // 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. | |
| 34 | +} | |
| 35 | + | |
| 36 | +- (void)applicationDidBecomeActive:(UIApplication *)application | |
| 37 | +{ | |
| 38 | + // 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. | |
| 39 | +} | |
| 40 | + | |
| 41 | +- (void)applicationWillTerminate:(UIApplication *)application | |
| 42 | +{ | |
| 43 | + // Called when the application is about to terminate. Save data if appropriate. See also applicationDidEnterBackground:. | |
| 44 | +} | |
| 45 | + | |
| 46 | +@end | ... | ... |
Example/CNLiveEnvironmentConfiguration/CNLiveEnvironmentConfiguration-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/CNLiveEnvironmentConfiguration/CNLiveEnvironmentConfiguration-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/CNLiveEnvironmentConfiguration/CNLiveViewController.h
0 → 100644
| 1 | +// | |
| 2 | +// CNLiveViewController.h | |
| 3 | +// CNLiveEnvironmentConfiguration | |
| 4 | +// | |
| 5 | +// Created by 153993236@qq.com on 04/16/2019. | |
| 6 | +// Copyright (c) 2019 153993236@qq.com. All rights reserved. | |
| 7 | +// | |
| 8 | + | |
| 9 | +@import UIKit; | |
| 10 | + | |
| 11 | +@interface CNLiveViewController : UIViewController | |
| 12 | + | |
| 13 | +@end | ... | ... |
Example/CNLiveEnvironmentConfiguration/CNLiveViewController.m
0 → 100644
| 1 | +// | |
| 2 | +// CNLiveViewController.m | |
| 3 | +// CNLiveEnvironmentConfiguration | |
| 4 | +// | |
| 5 | +// Created by 153993236@qq.com on 04/16/2019. | |
| 6 | +// Copyright (c) 2019 153993236@qq.com. All rights reserved. | |
| 7 | +// | |
| 8 | + | |
| 9 | +#import "CNLiveViewController.h" | |
| 10 | +#import "CNEnvironmentHeader.h" | |
| 11 | +@interface CNLiveViewController () | |
| 12 | + | |
| 13 | +@end | |
| 14 | + | |
| 15 | +@implementation CNLiveViewController | |
| 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/CNLiveEnvironmentConfiguration/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/CNLiveEnvironmentConfiguration/en.lproj/InfoPlist.strings
0 → 100644
Example/CNLiveEnvironmentConfiguration/main.m
0 → 100644
| 1 | +// | |
| 2 | +// main.m | |
| 3 | +// CNLiveEnvironmentConfiguration | |
| 4 | +// | |
| 5 | +// Created by 153993236@qq.com on 04/16/2019. | |
| 6 | +// Copyright (c) 2019 153993236@qq.com. All rights reserved. | |
| 7 | +// | |
| 8 | + | |
| 9 | +@import UIKit; | |
| 10 | +#import "CNLiveAppDelegate.h" | |
| 11 | + | |
| 12 | +int main(int argc, char * argv[]) | |
| 13 | +{ | |
| 14 | + @autoreleasepool { | |
| 15 | + return UIApplicationMain(argc, argv, nil, NSStringFromClass([CNLiveAppDelegate 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 | +// CNLiveEnvironmentConfigurationTests.m | |
| 3 | +// CNLiveEnvironmentConfigurationTests | |
| 4 | +// | |
| 5 | +// Created by 153993236@qq.com on 04/16/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 | +# CNLiveEnvironmentConfiguration | |
| 2 | + | |
| 3 | +[](https://travis-ci.org/153993236@qq.com/CNLiveEnvironmentConfiguration) | |
| 4 | +[](https://cocoapods.org/pods/CNLiveEnvironmentConfiguration) | |
| 5 | +[](https://cocoapods.org/pods/CNLiveEnvironmentConfiguration) | |
| 6 | +[](https://cocoapods.org/pods/CNLiveEnvironmentConfiguration) | |
| 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 | +CNLiveEnvironmentConfiguration is available through [CocoaPods](https://cocoapods.org). To install | |
| 17 | +it, simply add the following line to your Podfile: | |
| 18 | + | |
| 19 | +```ruby | |
| 20 | +pod 'CNLiveEnvironmentConfiguration' | |
| 21 | +``` | |
| 22 | + | |
| 23 | +## Author | |
| 24 | + | |
| 25 | +153993236@qq.com, zhangxiaowen@cnlive.com | |
| 26 | + | |
| 27 | +## License | |
| 28 | + | |
| 29 | +CNLiveEnvironmentConfiguration is available under the MIT license. See the LICENSE file for more info. | ... | ... |
_Pods.xcodeproj
0 → 120000