Commit c48202d21b110c7d64cb3202edabc6cd388a42fa

Authored by zhangxiaowen
1 parent a8649279

no message

CNLiveEnvironmentConfiguration.podspec
... ... @@ -8,7 +8,7 @@
8 8  
9 9 Pod::Spec.new do |s|
10 10 s.name = 'CNLiveEnvironmentConfiguration'
11   - s.version = '0.0.4'
  11 + s.version = '0.0.5'
12 12 s.summary = '网家家环境配置'
13 13  
14 14 # This description is used to generate tags and improve search results.
... ...
CNLiveEnvironmentConfiguration/Classes/CNEnvironmentHeader.h
... ... @@ -80,6 +80,10 @@
80 80 // #define IPA_APPSTORE 0 ////0: App Store版 1:企业版
81 81  
82 82 #ifdef IPA_APPSTORE //主工程中只导入该头文件之前,如果定义IPA_APPSTORE(无论值是0或者1)就是企业版,否则就是App Store版
  83 +// 平台环境配置描述
  84 +#define AppEnvironmentDesc @"正式企业版"
  85 +#define AppEnvironmentBundleId @"com.cnlive.CNLiveNetAddInHouse"
  86 +
83 87 // 正式企业版
84 88 // 企业版 com.cnlive.CNLiveNetAddInHouse
85 89 #ifndef AppId
... ... @@ -121,6 +125,10 @@
121 125 static NSString *const CNLiveTingYunAppKey = @"782d9a70547a4e3f91cb328b122bb85c";
122 126  
123 127 #else
  128 +
  129 +#define AppEnvironmentDesc @"正式个人版"
  130 +#define AppEnvironmentBundleId @"com.cnlive.CNLiveNetAdd"
  131 +
124 132 // 正式个人版
125 133 // 正式版 com.cnlive.CNLiveNetAdd
126 134 #ifndef AppId
... ... @@ -184,6 +192,7 @@ static NSString *const CNLiveShareSDKAppSecret_Share = @"da94a6f881d404092c9a710
184 192 #else
185 193  
186 194 #pragma mark - 测试环境
  195 +
187 196 // 测试环境平台配置
188 197 // IMSDK相关的配置
189 198 #define kWXAccount @"wjj_app_test"
... ... @@ -238,6 +247,10 @@ static NSString *const CNLiveShareSDKAppSecret_Share = @"f9d2fbf7f7827925c532a71
238 247 //#define IPA_APPSTORE 1 ////0: 个人版 1:企业版
239 248  
240 249 #ifdef IPA_APPSTORE
  250 +// 平台环境配置描述
  251 +#define AppEnvironmentDesc @"测试企业版"
  252 +#define AppEnvironmentBundleId @"com.cnlive.CNLiveNetAddInHouse.debug"
  253 +
241 254 // 测试企业版
242 255 // 企业版 com.cnlive.CNLiveNetAddInHouse.debug
243 256 #ifndef AppId
... ... @@ -280,6 +293,10 @@ static NSString *const CNLiveTingYunAppKey = @"3dda66ec904a4c3a8ad0169ca74de352"
280 293  
281 294 #else
282 295  
  296 +// 平台环境配置描述
  297 +#define AppEnvironmentDesc @"测试个人版"
  298 +#define AppEnvironmentBundleId @"com.cnlive.CNLiveNetAdd.debug"
  299 +
283 300 // 测试个人版
284 301 // 个人版 com.cnlive.CNLiveNetAdd.debug
285 302 #ifndef AppId
... ...