Commit 70250a25bb4a280af362059befd516bdb40168ab
1 parent
54f5bf5d
提交0.0.13
Showing
5 changed files
with
181 additions
and
28 deletions
CNLiveServiceCenterModule.podspec
| @@ -8,7 +8,7 @@ | @@ -8,7 +8,7 @@ | ||
| 8 | 8 | ||
| 9 | Pod::Spec.new do |s| | 9 | Pod::Spec.new do |s| |
| 10 | s.name = 'CNLiveServiceCenterModule' | 10 | s.name = 'CNLiveServiceCenterModule' |
| 11 | - s.version = '0.0.12' | 11 | + s.version = '0.0.13' |
| 12 | s.summary = '网家家企业端服务中心模块' | 12 | s.summary = '网家家企业端服务中心模块' |
| 13 | 13 | ||
| 14 | # This description is used to generate tags and improve search results. | 14 | # This description is used to generate tags and improve search results. |
| @@ -51,6 +51,8 @@ Pod::Spec.new do |s| | @@ -51,6 +51,8 @@ Pod::Spec.new do |s| | ||
| 51 | s.dependency 'CNLiveBeeHive' #核心路由架构 | 51 | s.dependency 'CNLiveBeeHive' #核心路由架构 |
| 52 | #模块协议 | 52 | #模块协议 |
| 53 | s.dependency 'CNLiveBServices' | 53 | s.dependency 'CNLiveBServices' |
| 54 | + #Base控制器 | ||
| 55 | + s.dependency 'CNLiveBusinessBaseModule' | ||
| 54 | #分享工具库 | 56 | #分享工具库 |
| 55 | s.dependency 'CNLiveShareToolKit' | 57 | s.dependency 'CNLiveShareToolKit' |
| 56 | #基础请求组件库 | 58 | #基础请求组件库 |
CNLiveServiceCenterModule/Classes/CNLiveServiceCenterModule/View/CNLiveBServiceCertificationCell.m
| @@ -11,6 +11,7 @@ | @@ -11,6 +11,7 @@ | ||
| 11 | #import "UIImage+Service.h" | 11 | #import "UIImage+Service.h" |
| 12 | #import <CNLiveBaseKit/CNLiveBaseKit.h> | 12 | #import <CNLiveBaseKit/CNLiveBaseKit.h> |
| 13 | #import <YYKit/YYKit.h> | 13 | #import <YYKit/YYKit.h> |
| 14 | +#import <QMUIKit/QMUIKit.h> | ||
| 14 | 15 | ||
| 15 | @interface CNLiveBServiceCertificationCell() | 16 | @interface CNLiveBServiceCertificationCell() |
| 16 | /** 背景*/ | 17 | /** 背景*/ |
| @@ -142,16 +143,23 @@ | @@ -142,16 +143,23 @@ | ||
| 142 | text.font = [UIFont systemFontOfSize:12]; | 143 | text.font = [UIFont systemFontOfSize:12]; |
| 143 | text.color = RGBOF(0x7b7b7b); | 144 | text.color = RGBOF(0x7b7b7b); |
| 144 | __weak typeof(self) weakSelf = self; | 145 | __weak typeof(self) weakSelf = self; |
| 145 | - [text setTextHighlightRange:range | ||
| 146 | - color:[UIColor colorWithRed:0.093 green:0.492 blue:1.000 alpha:1.000] | ||
| 147 | - backgroundColor:[UIColor whiteColor] | ||
| 148 | - tapAction:^(UIView *containerView, NSAttributedString *text, NSRange range, CGRect rect) { | 146 | + |
| 147 | + [text setTextHighlightRange:range color:[UIColor colorWithRed:0.093 green:0.492 blue:1.000 alpha:1.000] backgroundColor:[UIColor whiteColor] userInfo:nil tapAction:^(UIView * _Nonnull containerView, NSAttributedString * _Nonnull text, NSRange range, CGRect rect) { | ||
| 148 | + | ||
| 149 | //点击文本的操作 | 149 | //点击文本的操作 |
| 150 | NSLog(@"输出内容"); | 150 | NSLog(@"输出内容"); |
| 151 | if (weakSelf.clickWebViewBlock) { | 151 | if (weakSelf.clickWebViewBlock) { |
| 152 | weakSelf.clickWebViewBlock(weakSelf, tipText); | 152 | weakSelf.clickWebViewBlock(weakSelf, tipText); |
| 153 | } | 153 | } |
| 154 | 154 | ||
| 155 | + } longPressAction:^(UIView * _Nonnull containerView, NSAttributedString * _Nonnull text, NSRange range, CGRect rect) { | ||
| 156 | + | ||
| 157 | + UIPasteboard*pasteboard = [UIPasteboard generalPasteboard]; | ||
| 158 | + | ||
| 159 | + pasteboard.string = tipText; | ||
| 160 | + [QMUITips showWithText:@"已复制" inView:[UIApplication sharedApplication].keyWindow hideAfterDelay:0.5]; | ||
| 161 | + | ||
| 162 | + | ||
| 155 | }]; | 163 | }]; |
| 156 | 164 | ||
| 157 | 165 |
Example/CNLiveServiceCenterModule.xcodeproj/project.pbxproj
| @@ -208,7 +208,7 @@ | @@ -208,7 +208,7 @@ | ||
| 208 | 6003F587195388D20070C39A /* Frameworks */, | 208 | 6003F587195388D20070C39A /* Frameworks */, |
| 209 | 6003F588195388D20070C39A /* Resources */, | 209 | 6003F588195388D20070C39A /* Resources */, |
| 210 | CCC302347CCCFE680D14E779 /* [CP] Embed Pods Frameworks */, | 210 | CCC302347CCCFE680D14E779 /* [CP] Embed Pods Frameworks */, |
| 211 | - 4F0986FEAE0737650B68FDF9 /* [CP] Copy Pods Resources */, | 211 | + 25F4EA24D60B5177A489CCD3 /* [CP] Copy Pods Resources */, |
| 212 | ); | 212 | ); |
| 213 | buildRules = ( | 213 | buildRules = ( |
| 214 | ); | 214 | ); |
| @@ -227,6 +227,8 @@ | @@ -227,6 +227,8 @@ | ||
| 227 | 6003F5AA195388D20070C39A /* Sources */, | 227 | 6003F5AA195388D20070C39A /* Sources */, |
| 228 | 6003F5AB195388D20070C39A /* Frameworks */, | 228 | 6003F5AB195388D20070C39A /* Frameworks */, |
| 229 | 6003F5AC195388D20070C39A /* Resources */, | 229 | 6003F5AC195388D20070C39A /* Resources */, |
| 230 | + 91D092AEA5C6C482D4B7B8D8 /* [CP] Embed Pods Frameworks */, | ||
| 231 | + 4224A526E93E192E799A3B23 /* [CP] Copy Pods Resources */, | ||
| 230 | ); | 232 | ); |
| 231 | buildRules = ( | 233 | buildRules = ( |
| 232 | ); | 234 | ); |
| @@ -299,6 +301,50 @@ | @@ -299,6 +301,50 @@ | ||
| 299 | /* End PBXResourcesBuildPhase section */ | 301 | /* End PBXResourcesBuildPhase section */ |
| 300 | 302 | ||
| 301 | /* Begin PBXShellScriptBuildPhase section */ | 303 | /* Begin PBXShellScriptBuildPhase section */ |
| 304 | + 25F4EA24D60B5177A489CCD3 /* [CP] Copy Pods Resources */ = { | ||
| 305 | + isa = PBXShellScriptBuildPhase; | ||
| 306 | + buildActionMask = 2147483647; | ||
| 307 | + files = ( | ||
| 308 | + ); | ||
| 309 | + inputPaths = ( | ||
| 310 | + "${PODS_ROOT}/Target Support Files/Pods-CNLiveServiceCenterModule_Example/Pods-CNLiveServiceCenterModule_Example-resources.sh", | ||
| 311 | + "${PODS_ROOT}/BaiduMapKit/BaiduMapKit/BaiduMapAPI_Map.framework/mapapi.bundle", | ||
| 312 | + "${PODS_CONFIGURATION_BUILD_DIR}/CNLiveShareToolKit/CNLiveShareToolKit.bundle", | ||
| 313 | + "${PODS_ROOT}/WeiboSDK/libWeiboSDK/WeiboSDK.bundle", | ||
| 314 | + ); | ||
| 315 | + name = "[CP] Copy Pods Resources"; | ||
| 316 | + outputPaths = ( | ||
| 317 | + "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/mapapi.bundle", | ||
| 318 | + "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/CNLiveShareToolKit.bundle", | ||
| 319 | + "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/WeiboSDK.bundle", | ||
| 320 | + ); | ||
| 321 | + runOnlyForDeploymentPostprocessing = 0; | ||
| 322 | + shellPath = /bin/sh; | ||
| 323 | + shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-CNLiveServiceCenterModule_Example/Pods-CNLiveServiceCenterModule_Example-resources.sh\"\n"; | ||
| 324 | + showEnvVarsInLog = 0; | ||
| 325 | + }; | ||
| 326 | + 4224A526E93E192E799A3B23 /* [CP] Copy Pods Resources */ = { | ||
| 327 | + isa = PBXShellScriptBuildPhase; | ||
| 328 | + buildActionMask = 2147483647; | ||
| 329 | + files = ( | ||
| 330 | + ); | ||
| 331 | + inputPaths = ( | ||
| 332 | + "${PODS_ROOT}/Target Support Files/Pods-CNLiveServiceCenterModule_Tests/Pods-CNLiveServiceCenterModule_Tests-resources.sh", | ||
| 333 | + "${PODS_ROOT}/BaiduMapKit/BaiduMapKit/BaiduMapAPI_Map.framework/mapapi.bundle", | ||
| 334 | + "${PODS_CONFIGURATION_BUILD_DIR}/CNLiveShareToolKit/CNLiveShareToolKit.bundle", | ||
| 335 | + "${PODS_ROOT}/WeiboSDK/libWeiboSDK/WeiboSDK.bundle", | ||
| 336 | + ); | ||
| 337 | + name = "[CP] Copy Pods Resources"; | ||
| 338 | + outputPaths = ( | ||
| 339 | + "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/mapapi.bundle", | ||
| 340 | + "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/CNLiveShareToolKit.bundle", | ||
| 341 | + "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/WeiboSDK.bundle", | ||
| 342 | + ); | ||
| 343 | + runOnlyForDeploymentPostprocessing = 0; | ||
| 344 | + shellPath = /bin/sh; | ||
| 345 | + shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-CNLiveServiceCenterModule_Tests/Pods-CNLiveServiceCenterModule_Tests-resources.sh\"\n"; | ||
| 346 | + showEnvVarsInLog = 0; | ||
| 347 | + }; | ||
| 302 | 46C676FFAB5056B5123535CF /* [CP] Check Pods Manifest.lock */ = { | 348 | 46C676FFAB5056B5123535CF /* [CP] Check Pods Manifest.lock */ = { |
| 303 | isa = PBXShellScriptBuildPhase; | 349 | isa = PBXShellScriptBuildPhase; |
| 304 | buildActionMask = 2147483647; | 350 | buildActionMask = 2147483647; |
| @@ -343,26 +389,108 @@ | @@ -343,26 +389,108 @@ | ||
| 343 | 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"; | 389 | 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"; |
| 344 | showEnvVarsInLog = 0; | 390 | showEnvVarsInLog = 0; |
| 345 | }; | 391 | }; |
| 346 | - 4F0986FEAE0737650B68FDF9 /* [CP] Copy Pods Resources */ = { | 392 | + 91D092AEA5C6C482D4B7B8D8 /* [CP] Embed Pods Frameworks */ = { |
| 347 | isa = PBXShellScriptBuildPhase; | 393 | isa = PBXShellScriptBuildPhase; |
| 348 | buildActionMask = 2147483647; | 394 | buildActionMask = 2147483647; |
| 349 | files = ( | 395 | files = ( |
| 350 | ); | 396 | ); |
| 351 | inputPaths = ( | 397 | inputPaths = ( |
| 352 | - "${PODS_ROOT}/Target Support Files/Pods-CNLiveServiceCenterModule_Example/Pods-CNLiveServiceCenterModule_Example-resources.sh", | ||
| 353 | - "${PODS_ROOT}/BaiduMapKit/BaiduMapKit/BaiduMapAPI_Map.framework/mapapi.bundle", | ||
| 354 | - "${PODS_CONFIGURATION_BUILD_DIR}/CNLiveShareToolKit/CNLiveShareToolKit.bundle", | ||
| 355 | - "${PODS_ROOT}/WeiboSDK/libWeiboSDK/WeiboSDK.bundle", | 398 | + "${PODS_ROOT}/Target Support Files/Pods-CNLiveServiceCenterModule_Tests/Pods-CNLiveServiceCenterModule_Tests-frameworks.sh", |
| 399 | + "${BUILT_PRODUCTS_DIR}/AFNetworking/AFNetworking.framework", | ||
| 400 | + "${BUILT_PRODUCTS_DIR}/CNLiveBaseKit/CNLiveBaseKit.framework", | ||
| 401 | + "${BUILT_PRODUCTS_DIR}/CNLiveBaseTools/CNLiveBaseTools.framework", | ||
| 402 | + "${BUILT_PRODUCTS_DIR}/CNLiveBeeHive/CNLiveBeeHive.framework", | ||
| 403 | + "${BUILT_PRODUCTS_DIR}/CNLiveBusinessBaseModule/CNLiveBusinessBaseModule.framework", | ||
| 404 | + "${BUILT_PRODUCTS_DIR}/CNLiveBusinessTools/CNLiveBusinessTools.framework", | ||
| 405 | + "${BUILT_PRODUCTS_DIR}/CNLiveCommonCategory/CNLiveCommonCategory.framework", | ||
| 406 | + "${BUILT_PRODUCTS_DIR}/CNLiveCustomUI/CNLiveCustomUI.framework", | ||
| 407 | + "${BUILT_PRODUCTS_DIR}/CNLiveEnvironment/CNLiveEnvironment.framework", | ||
| 408 | + "${BUILT_PRODUCTS_DIR}/CNLiveImagePickerController/CNLiveImagePickerController.framework", | ||
| 409 | + "${BUILT_PRODUCTS_DIR}/CNLiveRequestBastKit/CNLiveRequestBastKit.framework", | ||
| 410 | + "${BUILT_PRODUCTS_DIR}/CNLiveTripartiteManagement/CNLiveTripartiteManagement.framework", | ||
| 411 | + "${BUILT_PRODUCTS_DIR}/CNLiveUploadManager/CNLiveUploadManager.framework", | ||
| 412 | + "${BUILT_PRODUCTS_DIR}/CNLiveUserManagement/CNLiveUserManagement.framework", | ||
| 413 | + "${BUILT_PRODUCTS_DIR}/FMDB/FMDB.framework", | ||
| 414 | + "${BUILT_PRODUCTS_DIR}/GPUImage/GPUImage.framework", | ||
| 415 | + "${BUILT_PRODUCTS_DIR}/HappyDNS/HappyDNS.framework", | ||
| 416 | + "${BUILT_PRODUCTS_DIR}/Ks3SDK/Ks3SDK.framework", | ||
| 417 | + "${BUILT_PRODUCTS_DIR}/MBProgressHUD/MBProgressHUD.framework", | ||
| 418 | + "${BUILT_PRODUCTS_DIR}/MJExtension/MJExtension.framework", | ||
| 419 | + "${BUILT_PRODUCTS_DIR}/MJRefresh/MJRefresh.framework", | ||
| 420 | + "${BUILT_PRODUCTS_DIR}/Masonry/Masonry.framework", | ||
| 421 | + "${BUILT_PRODUCTS_DIR}/PGDatePicker/PGDatePicker.framework", | ||
| 422 | + "${BUILT_PRODUCTS_DIR}/PGPickerView/PGPickerView.framework", | ||
| 423 | + "${PODS_ROOT}/PLPlayerKit/Pod/Library/PLPlayerKit.framework", | ||
| 424 | + "${BUILT_PRODUCTS_DIR}/QMUIKit/QMUIKit.framework", | ||
| 425 | + "${BUILT_PRODUCTS_DIR}/Qiniu/Qiniu.framework", | ||
| 426 | + "${BUILT_PRODUCTS_DIR}/RSKImageCropper/RSKImageCropper.framework", | ||
| 427 | + "${BUILT_PRODUCTS_DIR}/SAMKeychain/SAMKeychain.framework", | ||
| 428 | + "${BUILT_PRODUCTS_DIR}/SDAutoLayout/SDAutoLayout.framework", | ||
| 429 | + "${BUILT_PRODUCTS_DIR}/SDCycleScrollView/SDCycleScrollView.framework", | ||
| 430 | + "${BUILT_PRODUCTS_DIR}/SDWebImage/SDWebImage.framework", | ||
| 431 | + "${BUILT_PRODUCTS_DIR}/SGPagingView/SGPagingView.framework", | ||
| 432 | + "${BUILT_PRODUCTS_DIR}/SSZipArchive/SSZipArchive.framework", | ||
| 433 | + "${BUILT_PRODUCTS_DIR}/WebViewJavascriptBridge/WebViewJavascriptBridge.framework", | ||
| 434 | + "${BUILT_PRODUCTS_DIR}/YYKit/YYKit.framework", | ||
| 435 | + "${BUILT_PRODUCTS_DIR}/libksygpulive_ks3/libksygpulive.framework", | ||
| 436 | + "${BUILT_PRODUCTS_DIR}/lottie-ios/Lottie.framework", | ||
| 437 | + "${BUILT_PRODUCTS_DIR}/CNLiveBPersonalVerificationModule/CNLiveBPersonalVerificationModule.framework", | ||
| 438 | + "${BUILT_PRODUCTS_DIR}/CNLiveOrganizationValidationModule/CNLiveOrganizationValidationModule.framework", | ||
| 439 | + "${PODS_ROOT}/CNLiveSDKs/CNLiveSDKs/Classes/CNLiveEncryptSDK.framework", | ||
| 440 | + "${PODS_ROOT}/CNLiveSDKs/CNLiveSDKs/Classes/CNLiveMsgTools.framework", | ||
| 441 | + "${PODS_ROOT}/CNLiveSDKs/CNLiveSDKs/Classes/CNLivePaySDK.framework", | ||
| 442 | + "${PODS_ROOT}/CNLiveSDKs/CNLiveSDKs/Classes/CNLivePlayerSDK.framework", | ||
| 356 | ); | 443 | ); |
| 357 | - name = "[CP] Copy Pods Resources"; | 444 | + name = "[CP] Embed Pods Frameworks"; |
| 358 | outputPaths = ( | 445 | outputPaths = ( |
| 359 | - "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/mapapi.bundle", | ||
| 360 | - "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/CNLiveShareToolKit.bundle", | ||
| 361 | - "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/WeiboSDK.bundle", | 446 | + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/AFNetworking.framework", |
| 447 | + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/CNLiveBaseKit.framework", | ||
| 448 | + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/CNLiveBaseTools.framework", | ||
| 449 | + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/CNLiveBeeHive.framework", | ||
| 450 | + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/CNLiveBusinessBaseModule.framework", | ||
| 451 | + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/CNLiveBusinessTools.framework", | ||
| 452 | + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/CNLiveCommonCategory.framework", | ||
| 453 | + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/CNLiveCustomUI.framework", | ||
| 454 | + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/CNLiveEnvironment.framework", | ||
| 455 | + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/CNLiveImagePickerController.framework", | ||
| 456 | + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/CNLiveRequestBastKit.framework", | ||
| 457 | + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/CNLiveTripartiteManagement.framework", | ||
| 458 | + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/CNLiveUploadManager.framework", | ||
| 459 | + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/CNLiveUserManagement.framework", | ||
| 460 | + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/FMDB.framework", | ||
| 461 | + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/GPUImage.framework", | ||
| 462 | + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/HappyDNS.framework", | ||
| 463 | + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/Ks3SDK.framework", | ||
| 464 | + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/MBProgressHUD.framework", | ||
| 465 | + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/MJExtension.framework", | ||
| 466 | + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/MJRefresh.framework", | ||
| 467 | + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/Masonry.framework", | ||
| 468 | + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/PGDatePicker.framework", | ||
| 469 | + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/PGPickerView.framework", | ||
| 470 | + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/PLPlayerKit.framework", | ||
| 471 | + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/QMUIKit.framework", | ||
| 472 | + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/Qiniu.framework", | ||
| 473 | + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/RSKImageCropper.framework", | ||
| 474 | + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/SAMKeychain.framework", | ||
| 475 | + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/SDAutoLayout.framework", | ||
| 476 | + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/SDCycleScrollView.framework", | ||
| 477 | + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/SDWebImage.framework", | ||
| 478 | + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/SGPagingView.framework", | ||
| 479 | + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/SSZipArchive.framework", | ||
| 480 | + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/WebViewJavascriptBridge.framework", | ||
| 481 | + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/YYKit.framework", | ||
| 482 | + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/libksygpulive.framework", | ||
| 483 | + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/Lottie.framework", | ||
| 484 | + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/CNLiveBPersonalVerificationModule.framework", | ||
| 485 | + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/CNLiveOrganizationValidationModule.framework", | ||
| 486 | + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/CNLiveEncryptSDK.framework", | ||
| 487 | + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/CNLiveMsgTools.framework", | ||
| 488 | + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/CNLivePaySDK.framework", | ||
| 489 | + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/CNLivePlayerSDK.framework", | ||
| 362 | ); | 490 | ); |
| 363 | runOnlyForDeploymentPostprocessing = 0; | 491 | runOnlyForDeploymentPostprocessing = 0; |
| 364 | shellPath = /bin/sh; | 492 | shellPath = /bin/sh; |
| 365 | - shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-CNLiveServiceCenterModule_Example/Pods-CNLiveServiceCenterModule_Example-resources.sh\"\n"; | 493 | + shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-CNLiveServiceCenterModule_Tests/Pods-CNLiveServiceCenterModule_Tests-frameworks.sh\"\n"; |
| 366 | showEnvVarsInLog = 0; | 494 | showEnvVarsInLog = 0; |
| 367 | }; | 495 | }; |
| 368 | CCC302347CCCFE680D14E779 /* [CP] Embed Pods Frameworks */ = { | 496 | CCC302347CCCFE680D14E779 /* [CP] Embed Pods Frameworks */ = { |
| @@ -373,7 +501,6 @@ | @@ -373,7 +501,6 @@ | ||
| 373 | inputPaths = ( | 501 | inputPaths = ( |
| 374 | "${PODS_ROOT}/Target Support Files/Pods-CNLiveServiceCenterModule_Example/Pods-CNLiveServiceCenterModule_Example-frameworks.sh", | 502 | "${PODS_ROOT}/Target Support Files/Pods-CNLiveServiceCenterModule_Example/Pods-CNLiveServiceCenterModule_Example-frameworks.sh", |
| 375 | "${BUILT_PRODUCTS_DIR}/AFNetworking/AFNetworking.framework", | 503 | "${BUILT_PRODUCTS_DIR}/AFNetworking/AFNetworking.framework", |
| 376 | - "${BUILT_PRODUCTS_DIR}/CNLiveBPersonalVerificationModule/CNLiveBPersonalVerificationModule.framework", | ||
| 377 | "${BUILT_PRODUCTS_DIR}/CNLiveBaseKit/CNLiveBaseKit.framework", | 504 | "${BUILT_PRODUCTS_DIR}/CNLiveBaseKit/CNLiveBaseKit.framework", |
| 378 | "${BUILT_PRODUCTS_DIR}/CNLiveBaseTools/CNLiveBaseTools.framework", | 505 | "${BUILT_PRODUCTS_DIR}/CNLiveBaseTools/CNLiveBaseTools.framework", |
| 379 | "${BUILT_PRODUCTS_DIR}/CNLiveBeeHive/CNLiveBeeHive.framework", | 506 | "${BUILT_PRODUCTS_DIR}/CNLiveBeeHive/CNLiveBeeHive.framework", |
| @@ -384,7 +511,6 @@ | @@ -384,7 +511,6 @@ | ||
| 384 | "${BUILT_PRODUCTS_DIR}/CNLiveCustomUI/CNLiveCustomUI.framework", | 511 | "${BUILT_PRODUCTS_DIR}/CNLiveCustomUI/CNLiveCustomUI.framework", |
| 385 | "${BUILT_PRODUCTS_DIR}/CNLiveEnvironment/CNLiveEnvironment.framework", | 512 | "${BUILT_PRODUCTS_DIR}/CNLiveEnvironment/CNLiveEnvironment.framework", |
| 386 | "${BUILT_PRODUCTS_DIR}/CNLiveImagePickerController/CNLiveImagePickerController.framework", | 513 | "${BUILT_PRODUCTS_DIR}/CNLiveImagePickerController/CNLiveImagePickerController.framework", |
| 387 | - "${BUILT_PRODUCTS_DIR}/CNLiveOrganizationValidationModule/CNLiveOrganizationValidationModule.framework", | ||
| 388 | "${BUILT_PRODUCTS_DIR}/CNLiveRequestBastKit/CNLiveRequestBastKit.framework", | 514 | "${BUILT_PRODUCTS_DIR}/CNLiveRequestBastKit/CNLiveRequestBastKit.framework", |
| 389 | "${BUILT_PRODUCTS_DIR}/CNLiveServiceCenterModule/CNLiveServiceCenterModule.framework", | 515 | "${BUILT_PRODUCTS_DIR}/CNLiveServiceCenterModule/CNLiveServiceCenterModule.framework", |
| 390 | "${BUILT_PRODUCTS_DIR}/CNLiveTripartiteManagement/CNLiveTripartiteManagement.framework", | 516 | "${BUILT_PRODUCTS_DIR}/CNLiveTripartiteManagement/CNLiveTripartiteManagement.framework", |
| @@ -419,7 +545,6 @@ | @@ -419,7 +545,6 @@ | ||
| 419 | name = "[CP] Embed Pods Frameworks"; | 545 | name = "[CP] Embed Pods Frameworks"; |
| 420 | outputPaths = ( | 546 | outputPaths = ( |
| 421 | "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/AFNetworking.framework", | 547 | "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/AFNetworking.framework", |
| 422 | - "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/CNLiveBPersonalVerificationModule.framework", | ||
| 423 | "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/CNLiveBaseKit.framework", | 548 | "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/CNLiveBaseKit.framework", |
| 424 | "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/CNLiveBaseTools.framework", | 549 | "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/CNLiveBaseTools.framework", |
| 425 | "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/CNLiveBeeHive.framework", | 550 | "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/CNLiveBeeHive.framework", |
| @@ -430,7 +555,6 @@ | @@ -430,7 +555,6 @@ | ||
| 430 | "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/CNLiveCustomUI.framework", | 555 | "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/CNLiveCustomUI.framework", |
| 431 | "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/CNLiveEnvironment.framework", | 556 | "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/CNLiveEnvironment.framework", |
| 432 | "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/CNLiveImagePickerController.framework", | 557 | "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/CNLiveImagePickerController.framework", |
| 433 | - "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/CNLiveOrganizationValidationModule.framework", | ||
| 434 | "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/CNLiveRequestBastKit.framework", | 558 | "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/CNLiveRequestBastKit.framework", |
| 435 | "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/CNLiveServiceCenterModule.framework", | 559 | "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/CNLiveServiceCenterModule.framework", |
| 436 | "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/CNLiveTripartiteManagement.framework", | 560 | "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/CNLiveTripartiteManagement.framework", |
Example/CNLiveServiceCenterModule/CNLIVEBAppDelegate.m
| @@ -52,13 +52,17 @@ static NSString * uuid; | @@ -52,13 +52,17 @@ static NSString * uuid; | ||
| 52 | } | 52 | } |
| 53 | 53 | ||
| 54 | - (void)networkParamAction { | 54 | - (void)networkParamAction { |
| 55 | + | ||
| 56 | +// [CNLiveUserSystemCenter setAppId:AppId appKey:APPKey appSecret:AppSecret isTestEnvironment:TestEnvironment]; | ||
| 57 | +// | ||
| 58 | +// | ||
| 55 | NSMutableDictionary * mDict = [[NSMutableDictionary alloc] init]; | 59 | NSMutableDictionary * mDict = [[NSMutableDictionary alloc] init]; |
| 56 | [mDict setValue:@"10514333" forKey:@"loginSid"]; | 60 | [mDict setValue:@"10514333" forKey:@"loginSid"]; |
| 57 | [mDict setValue:[[[NSBundle mainBundle] infoDictionary] objectForKey:@"CFBundleIdentifier"] forKey:@"platform_id"]; | 61 | [mDict setValue:[[[NSBundle mainBundle] infoDictionary] objectForKey:@"CFBundleIdentifier"] forKey:@"platform_id"]; |
| 58 | [mDict setValue:[self appUUIDString] forKey:@"uuid"]; | 62 | [mDict setValue:[self appUUIDString] forKey:@"uuid"]; |
| 59 | [mDict setValue:@"i" forKey:@"plat"]; | 63 | [mDict setValue:@"i" forKey:@"plat"]; |
| 60 | [mDict setValue:[[[NSBundle mainBundle] infoDictionary] objectForKey:@"CFBundleVersion"] forKey:@"ver"]; | 64 | [mDict setValue:[[[NSBundle mainBundle] infoDictionary] objectForKey:@"CFBundleVersion"] forKey:@"ver"]; |
| 61 | - [mDict setObject:AppId forKey:@"appId"]; | 65 | + [mDict setObject:@"802_k8ho7qks68" forKey:@"appId"]; |
| 62 | [CNLiveNetworking setupDefaultParam:mDict]; | 66 | [CNLiveNetworking setupDefaultParam:mDict]; |
| 63 | [CNLiveNetworking setupShowResult:NO]; | 67 | [CNLiveNetworking setupShowResult:NO]; |
| 64 | [CNLiveNetworking setupSignKey:APPKey]; | 68 | [CNLiveNetworking setupSignKey:APPKey]; |
Example/Podfile
| @@ -8,19 +8,34 @@ target 'CNLiveServiceCenterModule_Example' do | @@ -8,19 +8,34 @@ target 'CNLiveServiceCenterModule_Example' do | ||
| 8 | pod 'CNLiveServiceCenterModule', :path => '../' | 8 | pod 'CNLiveServiceCenterModule', :path => '../' |
| 9 | 9 | ||
| 10 | #依赖三方私有库,如果里面有.a的时候加上这个 | 10 | #依赖三方私有库,如果里面有.a的时候加上这个 |
| 11 | - pre_install do |installer| Pod::Installer::Xcode::TargetValidator.send(:define_method, :verify_no_static_framework_transitive_dependencies) {} | ||
| 12 | - end | ||
| 13 | - | ||
| 14 | - | ||
| 15 | - target 'CNLiveServiceCenterModule_Tests' do | ||
| 16 | - inherit! :search_paths | 11 | + pre_install do |installer| Pod::Installer::Xcode::TargetValidator.send(:define_method, :verify_no_static_framework_transitive_dependencies) {} |
| 12 | + | ||
| 17 | 13 | ||
| 18 | #TODO:后面都注释掉直接在主工程导入 | 14 | #TODO:后面都注释掉直接在主工程导入 |
| 19 | #认证模块 | 15 | #认证模块 |
| 20 | pod 'CNLiveOrganizationValidationModule' | 16 | pod 'CNLiveOrganizationValidationModule' |
| 21 | #用户认证模块 | 17 | #用户认证模块 |
| 22 | pod 'CNLiveBPersonalVerificationModule' | 18 | pod 'CNLiveBPersonalVerificationModule' |
| 23 | - | 19 | + |
| 20 | + #用户内容 | ||
| 21 | + pod 'CNLiveSDKs' | ||
| 22 | + | ||
| 23 | + | ||
| 24 | + end | ||
| 25 | + | ||
| 26 | + | ||
| 27 | + target 'CNLiveServiceCenterModule_Tests' do | ||
| 28 | + inherit! :search_paths | ||
| 29 | + | ||
| 30 | + | ||
| 31 | + #TODO:后面都注释掉直接在主工程导入 | ||
| 32 | + #认证模块 | ||
| 33 | + pod 'CNLiveOrganizationValidationModule' | ||
| 34 | + #用户认证模块 | ||
| 35 | + pod 'CNLiveBPersonalVerificationModule' | ||
| 36 | + | ||
| 37 | + #用户内容 | ||
| 38 | + pod 'CNLiveSDKs' | ||
| 24 | 39 | ||
| 25 | end | 40 | end |
| 26 | end | 41 | end |