Commit 1b934acf414a71db2bb5a574ccaba2837d780c17

Authored by 张旭
1 parent 511070ea

0.2.8

CNLiveNewIMAManagerKit.podspec
... ... @@ -8,7 +8,7 @@
8 8  
9 9 Pod::Spec.new do |s|
10 10 s.name = 'CNLiveNewIMAManagerKit'
11   - s.version = '0.2.7'
  11 + s.version = '0.2.8'
12 12 s.summary = 'A short description of CNLiveNewIMAManagerKit.'
13 13  
14 14 # This description is used to generate tags and improve search results.
... ... @@ -31,25 +31,14 @@ s.ios.deployment_target = '10.0'
31 31 s.source_files = "CNLiveNewIMAManagerKit/PCH/*.{h,m,mm,pch}",
32 32 "CNLiveNewIMAManagerKit/Classes/**/*.{h,m}"
33 33  
34   -# s.public_header_files = "CNLiveNewIMAManagerKit/Classes/**/*.h"
35   -
36 34 s.prefix_header_contents = '#import "CNLiveNewIMAManagerPCH.h"'
37   -# s.resource_bundles = {
38   -# 'CNLiveNewIMAManagerKit' => ['CNLiveNewIMAManagerKit/Assets/*.png']
39   -# }
40   -
41 35  
42 36 s.static_framework = true
43 37  
44   -#s.pod_target_xcconfig = {
45   -# 'DERIVE_MACCATALYST_PRODUCT_BUNDLE_IDENTIFIER' => 'NO'
46   -#}
47   -
48   -
49 38 s.dependency 'CNLiveBaseKit'
50 39 s.dependency 'CNLiveUserManagement'
51 40 s.dependency 'TXIMSDK_iOS', '4.7.2'
52   -s.dependency 'CNLiveTripartiteManagement/FMDB'
  41 +s.dependency 'CNLiveNewTripartiteManagement/FMDB'
53 42 s.dependency 'CNLiveCacheManagerKit'
54 43 s.dependency 'CNLiveCommonCategory'
55 44 s.dependency 'CNLiveUserManagement'
... ...
Example/CNLiveNewIMAManagerKit.xcodeproj/project.pbxproj
... ... @@ -207,8 +207,8 @@
207 207 6003F586195388D20070C39A /* Sources */,
208 208 6003F587195388D20070C39A /* Frameworks */,
209 209 6003F588195388D20070C39A /* Resources */,
210   - 55FC9554E1D9BFAD5B2E0980 /* [CP] Embed Pods Frameworks */,
211   - AE6FF84304CF69EB1F2F79E1 /* [CP] Copy Pods Resources */,
  210 + E8A9796D270F45C1CB475BB0 /* [CP] Embed Pods Frameworks */,
  211 + C2F33B874AB1DC32FED2F23A /* [CP] Copy Pods Resources */,
212 212 );
213 213 buildRules = (
214 214 );
... ... @@ -299,56 +299,6 @@
299 299 /* End PBXResourcesBuildPhase section */
300 300  
301 301 /* Begin PBXShellScriptBuildPhase section */
302   - 55FC9554E1D9BFAD5B2E0980 /* [CP] Embed Pods Frameworks */ = {
303   - isa = PBXShellScriptBuildPhase;
304   - buildActionMask = 2147483647;
305   - files = (
306   - );
307   - inputPaths = (
308   - "${PODS_ROOT}/Target Support Files/Pods-CNLiveNewIMAManagerKit_Example/Pods-CNLiveNewIMAManagerKit_Example-frameworks.sh",
309   - "${BUILT_PRODUCTS_DIR}/AFNetworking/AFNetworking.framework",
310   - "${BUILT_PRODUCTS_DIR}/CNLiveBaseKit/CNLiveBaseKit.framework",
311   - "${BUILT_PRODUCTS_DIR}/CNLiveBeeHive/CNLiveBeeHive.framework",
312   - "${BUILT_PRODUCTS_DIR}/CNLiveBusinessTools/CNLiveBusinessTools.framework",
313   - "${BUILT_PRODUCTS_DIR}/CNLiveCacheManagerKit/CNLiveCacheManagerKit.framework",
314   - "${BUILT_PRODUCTS_DIR}/CNLiveCommonCategory/CNLiveCommonCategory.framework",
315   - "${BUILT_PRODUCTS_DIR}/CNLiveEnvironment/CNLiveEnvironment.framework",
316   - "${BUILT_PRODUCTS_DIR}/CNLiveRequestBastKit/CNLiveRequestBastKit.framework",
317   - "${BUILT_PRODUCTS_DIR}/CNLiveTripartiteManagement/CNLiveTripartiteManagement.framework",
318   - "${BUILT_PRODUCTS_DIR}/CNLiveUserManagement/CNLiveUserManagement.framework",
319   - "${BUILT_PRODUCTS_DIR}/FMDB/FMDB.framework",
320   - "${BUILT_PRODUCTS_DIR}/MJExtension/MJExtension.framework",
321   - "${BUILT_PRODUCTS_DIR}/QMUIKit/QMUIKit.framework",
322   - "${BUILT_PRODUCTS_DIR}/SDWebImage/SDWebImage.framework",
323   - "${PODS_ROOT}/TXIMSDK_iOS/ImSDK.framework",
324   - "${BUILT_PRODUCTS_DIR}/YBImageBrowser_DSCnliveShop/YBImageBrowser_DSCnliveShop.framework",
325   - "${BUILT_PRODUCTS_DIR}/YYKit/YYKit.framework",
326   - );
327   - name = "[CP] Embed Pods Frameworks";
328   - outputPaths = (
329   - "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/AFNetworking.framework",
330   - "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/CNLiveBaseKit.framework",
331   - "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/CNLiveBeeHive.framework",
332   - "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/CNLiveBusinessTools.framework",
333   - "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/CNLiveCacheManagerKit.framework",
334   - "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/CNLiveCommonCategory.framework",
335   - "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/CNLiveEnvironment.framework",
336   - "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/CNLiveRequestBastKit.framework",
337   - "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/CNLiveTripartiteManagement.framework",
338   - "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/CNLiveUserManagement.framework",
339   - "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/FMDB.framework",
340   - "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/MJExtension.framework",
341   - "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/QMUIKit.framework",
342   - "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/SDWebImage.framework",
343   - "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/ImSDK.framework",
344   - "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/YBImageBrowser_DSCnliveShop.framework",
345   - "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/YYKit.framework",
346   - );
347   - runOnlyForDeploymentPostprocessing = 0;
348   - shellPath = /bin/sh;
349   - shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-CNLiveNewIMAManagerKit_Example/Pods-CNLiveNewIMAManagerKit_Example-frameworks.sh\"\n";
350   - showEnvVarsInLog = 0;
351   - };
352 302 82CB990D38CC44C1D57DFB45 /* [CP] Check Pods Manifest.lock */ = {
353 303 isa = PBXShellScriptBuildPhase;
354 304 buildActionMask = 2147483647;
... ... @@ -393,7 +343,7 @@
393 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";
394 344 showEnvVarsInLog = 0;
395 345 };
396   - AE6FF84304CF69EB1F2F79E1 /* [CP] Copy Pods Resources */ = {
  346 + C2F33B874AB1DC32FED2F23A /* [CP] Copy Pods Resources */ = {
397 347 isa = PBXShellScriptBuildPhase;
398 348 buildActionMask = 2147483647;
399 349 files = (
... ... @@ -411,6 +361,56 @@
411 361 shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-CNLiveNewIMAManagerKit_Example/Pods-CNLiveNewIMAManagerKit_Example-resources.sh\"\n";
412 362 showEnvVarsInLog = 0;
413 363 };
  364 + E8A9796D270F45C1CB475BB0 /* [CP] Embed Pods Frameworks */ = {
  365 + isa = PBXShellScriptBuildPhase;
  366 + buildActionMask = 2147483647;
  367 + files = (
  368 + );
  369 + inputPaths = (
  370 + "${PODS_ROOT}/Target Support Files/Pods-CNLiveNewIMAManagerKit_Example/Pods-CNLiveNewIMAManagerKit_Example-frameworks.sh",
  371 + "${BUILT_PRODUCTS_DIR}/AFNetworking/AFNetworking.framework",
  372 + "${BUILT_PRODUCTS_DIR}/CNLiveBaseKit/CNLiveBaseKit.framework",
  373 + "${BUILT_PRODUCTS_DIR}/CNLiveBeeHive/CNLiveBeeHive.framework",
  374 + "${BUILT_PRODUCTS_DIR}/CNLiveBusinessTools/CNLiveBusinessTools.framework",
  375 + "${BUILT_PRODUCTS_DIR}/CNLiveCacheManagerKit/CNLiveCacheManagerKit.framework",
  376 + "${BUILT_PRODUCTS_DIR}/CNLiveCommonCategory/CNLiveCommonCategory.framework",
  377 + "${BUILT_PRODUCTS_DIR}/CNLiveEnvironment/CNLiveEnvironment.framework",
  378 + "${BUILT_PRODUCTS_DIR}/CNLiveNewTripartiteManagement/CNLiveNewTripartiteManagement.framework",
  379 + "${BUILT_PRODUCTS_DIR}/CNLiveRequestBastKit/CNLiveRequestBastKit.framework",
  380 + "${BUILT_PRODUCTS_DIR}/CNLiveUserManagement/CNLiveUserManagement.framework",
  381 + "${BUILT_PRODUCTS_DIR}/FMDB/FMDB.framework",
  382 + "${BUILT_PRODUCTS_DIR}/MJExtension/MJExtension.framework",
  383 + "${BUILT_PRODUCTS_DIR}/QMUIKit/QMUIKit.framework",
  384 + "${BUILT_PRODUCTS_DIR}/SDWebImage/SDWebImage.framework",
  385 + "${PODS_ROOT}/TXIMSDK_iOS/ImSDK.framework",
  386 + "${BUILT_PRODUCTS_DIR}/YBImageBrowser_DSCnliveShop/YBImageBrowser_DSCnliveShop.framework",
  387 + "${BUILT_PRODUCTS_DIR}/YYKit/YYKit.framework",
  388 + );
  389 + name = "[CP] Embed Pods Frameworks";
  390 + outputPaths = (
  391 + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/AFNetworking.framework",
  392 + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/CNLiveBaseKit.framework",
  393 + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/CNLiveBeeHive.framework",
  394 + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/CNLiveBusinessTools.framework",
  395 + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/CNLiveCacheManagerKit.framework",
  396 + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/CNLiveCommonCategory.framework",
  397 + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/CNLiveEnvironment.framework",
  398 + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/CNLiveNewTripartiteManagement.framework",
  399 + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/CNLiveRequestBastKit.framework",
  400 + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/CNLiveUserManagement.framework",
  401 + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/FMDB.framework",
  402 + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/MJExtension.framework",
  403 + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/QMUIKit.framework",
  404 + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/SDWebImage.framework",
  405 + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/ImSDK.framework",
  406 + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/YBImageBrowser_DSCnliveShop.framework",
  407 + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/YYKit.framework",
  408 + );
  409 + runOnlyForDeploymentPostprocessing = 0;
  410 + shellPath = /bin/sh;
  411 + shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-CNLiveNewIMAManagerKit_Example/Pods-CNLiveNewIMAManagerKit_Example-frameworks.sh\"\n";
  412 + showEnvVarsInLog = 0;
  413 + };
414 414 /* End PBXShellScriptBuildPhase section */
415 415  
416 416 /* Begin PBXSourcesBuildPhase section */
... ...
Example/Podfile
... ... @@ -2,7 +2,7 @@ source 'http://bj.gitlab.cnlive.com/ios-team/CNLiveRepos.git'
2 2 source 'https://mirrors.tuna.tsinghua.edu.cn/git/CocoaPods/Specs.git'
3 3 use_frameworks!
4 4  
5   -platform :ios, '9.0'
  5 +platform :ios, '10.0'
6 6  
7 7 target 'CNLiveNewIMAManagerKit_Example' do
8 8 pod 'CNLiveNewIMAManagerKit', :path => '../'
... ...
README.md
1 1 由于之前的 CNLiveIMAManagerKit 库主页打不开了,新建 CNLiveNewIMAManagerKit 来替换 CNLiveIMAManagerKit
  2 +
  3 +
  4 +本地验证
  5 +pod lib lint --allow-warnings --no-clean --use-libraries --skip-import-validation --sources=http://bj.gitlab.cnlive.com/ios-team/CNLiveRepos.git,https://github.com/CocoaPods/Specs.git,http://bj.gitlab.cnlive.com/DSIOSTeam/DSSpecRepos.git --verbose
  6 +
  7 +本地+远程验证
  8 +pod spec lint --allow-warnings --no-clean --use-libraries --skip-import-validation --sources=http://bj.gitlab.cnlive.com/ios-team/CNLiveRepos.git,https://github.com/CocoaPods/Specs.git,http://bj.gitlab.cnlive.com/DSIOSTeam/DSSpecRepos.git --verbose
  9 +
  10 +推送
  11 +pod repo push CNLiveRepos CNLiveNewIMAManagerKit --allow-warnings --use-libraries --skip-import-validation --sources=http://bj.gitlab.cnlive.com/ios-team/CNLiveRepos.git,https://github.com/CocoaPods/Specs.git,http://bj.gitlab.cnlive.com/DSIOSTeam/DSSpecRepos.git --verbose
  12 +
  13 +
... ...