Commit 252de4207a2b2a2a9e96ec009a69fab1fb342a5c

Authored by 张旭
1 parent 1bf814f5

0.0.9

CNLiveBaseClass.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 = 'CNLiveBaseClass' 10 s.name = 'CNLiveBaseClass'
11 - s.version = '0.0.8' 11 + s.version = '0.0.9'
12 s.summary = 'CNLiveBaseClass' 12 s.summary = 'CNLiveBaseClass'
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.
@@ -22,17 +22,12 @@ TODO: 网家家-基类. @@ -22,17 +22,12 @@ TODO: 网家家-基类.
22 DESC 22 DESC
23 23
24 s.homepage = 'http://bj.gitlab.cnlive.com/ios-team/CNLiveBaseClass' 24 s.homepage = 'http://bj.gitlab.cnlive.com/ios-team/CNLiveBaseClass'
25 - # s.screenshots = 'www.example.com/screenshots_1', 'www.example.com/screenshots_2'  
26 s.license = { :type => 'MIT', :file => 'LICENSE' } 25 s.license = { :type => 'MIT', :file => 'LICENSE' }
27 s.author = { '153993236@qq.com' => 'zhangxiaowen@cnlive.com' } 26 s.author = { '153993236@qq.com' => 'zhangxiaowen@cnlive.com' }
28 s.source = { :git => 'http://bj.gitlab.cnlive.com/ios-team/CNLiveBaseClass.git', :tag => s.version.to_s } 27 s.source = { :git => 'http://bj.gitlab.cnlive.com/ios-team/CNLiveBaseClass.git', :tag => s.version.to_s }
29 - # s.social_media_url = 'https://twitter.com/<TWITTER_USERNAME>'  
30 28
31 s.ios.deployment_target = '10.0' 29 s.ios.deployment_target = '10.0'
32 -  
33 -# s.source_files = 'CNLiveBaseClass/Classes/**/*'  
34 -  
35 - # Controller 30 +
36 s.subspec 'Controller' do |ss| 31 s.subspec 'Controller' do |ss|
37 ss.source_files = 'CNLiveBaseClass/Classes/Controller/*' 32 ss.source_files = 'CNLiveBaseClass/Classes/Controller/*'
38 ss.dependency 'CNLiveNewTripartiteManagement/WebViewJavascriptBridge' 33 ss.dependency 'CNLiveNewTripartiteManagement/WebViewJavascriptBridge'
@@ -40,13 +35,6 @@ TODO: 网家家-基类. @@ -40,13 +35,6 @@ TODO: 网家家-基类.
40 ss.dependency 'CNLiveCustomControl' 35 ss.dependency 'CNLiveCustomControl'
41 end 36 end
42 37
43 - # s.resource_bundles = {  
44 - # 'CNLiveBaseClass' => ['CNLiveBaseClass/Assets/*.png']  
45 - # }  
46 -  
47 - # s.public_header_files = 'Pod/Classes/**/*.h'  
48 - # s.frameworks = 'UIKit', 'MapKit'  
49 - # s.dependency 'AFNetworking', '~> 2.3'  
50 s.dependency 'CNLiveBaseKit' 38 s.dependency 'CNLiveBaseKit'
51 39
52 end 40 end
Example/CNLiveBaseClass.xcodeproj/project.pbxproj
@@ -207,7 +207,7 @@ @@ -207,7 +207,7 @@
207 6003F586195388D20070C39A /* Sources */, 207 6003F586195388D20070C39A /* Sources */,
208 6003F587195388D20070C39A /* Frameworks */, 208 6003F587195388D20070C39A /* Frameworks */,
209 6003F588195388D20070C39A /* Resources */, 209 6003F588195388D20070C39A /* Resources */,
210 - 762985650E3ADCD98FD70D0F /* [CP] Embed Pods Frameworks */, 210 + 6D1A2E2EAA421BCBAA426190 /* [CP] Embed Pods Frameworks */,
211 ); 211 );
212 buildRules = ( 212 buildRules = (
213 ); 213 );
@@ -320,7 +320,7 @@ @@ -320,7 +320,7 @@
320 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"; 320 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";
321 showEnvVarsInLog = 0; 321 showEnvVarsInLog = 0;
322 }; 322 };
323 - 762985650E3ADCD98FD70D0F /* [CP] Embed Pods Frameworks */ = { 323 + 6D1A2E2EAA421BCBAA426190 /* [CP] Embed Pods Frameworks */ = {
324 isa = PBXShellScriptBuildPhase; 324 isa = PBXShellScriptBuildPhase;
325 buildActionMask = 2147483647; 325 buildActionMask = 2147483647;
326 files = ( 326 files = (
@@ -331,9 +331,8 @@ @@ -331,9 +331,8 @@
331 "${BUILT_PRODUCTS_DIR}/CNLiveBaseKit/CNLiveBaseKit.framework", 331 "${BUILT_PRODUCTS_DIR}/CNLiveBaseKit/CNLiveBaseKit.framework",
332 "${BUILT_PRODUCTS_DIR}/CNLiveCategory/CNLiveCategory.framework", 332 "${BUILT_PRODUCTS_DIR}/CNLiveCategory/CNLiveCategory.framework",
333 "${BUILT_PRODUCTS_DIR}/CNLiveCustomControl/CNLiveCustomControl.framework", 333 "${BUILT_PRODUCTS_DIR}/CNLiveCustomControl/CNLiveCustomControl.framework",
334 - "${BUILT_PRODUCTS_DIR}/CNLiveTripartiteManagement/CNLiveTripartiteManagement.framework", 334 + "${BUILT_PRODUCTS_DIR}/CNLiveNewTripartiteManagement/CNLiveNewTripartiteManagement.framework",
335 "${BUILT_PRODUCTS_DIR}/MJExtension/MJExtension.framework", 335 "${BUILT_PRODUCTS_DIR}/MJExtension/MJExtension.framework",
336 - "${BUILT_PRODUCTS_DIR}/QMUIKit/QMUIKit.framework",  
337 "${BUILT_PRODUCTS_DIR}/WebViewJavascriptBridge/WebViewJavascriptBridge.framework", 336 "${BUILT_PRODUCTS_DIR}/WebViewJavascriptBridge/WebViewJavascriptBridge.framework",
338 ); 337 );
339 name = "[CP] Embed Pods Frameworks"; 338 name = "[CP] Embed Pods Frameworks";
@@ -342,9 +341,8 @@ @@ -342,9 +341,8 @@
342 "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/CNLiveBaseKit.framework", 341 "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/CNLiveBaseKit.framework",
343 "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/CNLiveCategory.framework", 342 "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/CNLiveCategory.framework",
344 "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/CNLiveCustomControl.framework", 343 "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/CNLiveCustomControl.framework",
345 - "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/CNLiveTripartiteManagement.framework", 344 + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/CNLiveNewTripartiteManagement.framework",
346 "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/MJExtension.framework", 345 "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/MJExtension.framework",
347 - "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/QMUIKit.framework",  
348 "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/WebViewJavascriptBridge.framework", 346 "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/WebViewJavascriptBridge.framework",
349 ); 347 );
350 runOnlyForDeploymentPostprocessing = 0; 348 runOnlyForDeploymentPostprocessing = 0;
Example/Podfile
@@ -2,7 +2,7 @@ use_frameworks! @@ -2,7 +2,7 @@ use_frameworks!
2 source 'https://github.com/CocoaPods/Specs.git' 2 source 'https://github.com/CocoaPods/Specs.git'
3 source 'http://bj.gitlab.cnlive.com/ios-team/CNLiveRepos.git' 3 source 'http://bj.gitlab.cnlive.com/ios-team/CNLiveRepos.git'
4 4
5 -platform :ios, '9.0' 5 +platform :ios, '10.0'
6 6
7 target 'CNLiveBaseClass_Example' do 7 target 'CNLiveBaseClass_Example' do
8 pod 'CNLiveBaseClass', :path => '../' 8 pod 'CNLiveBaseClass', :path => '../'