Commit 252de4207a2b2a2a9e96ec009a69fab1fb342a5c
1 parent
1bf814f5
0.0.9
Showing
3 changed files
with
7 additions
and
21 deletions
CNLiveBaseClass.podspec
| ... | ... | @@ -8,7 +8,7 @@ |
| 8 | 8 | |
| 9 | 9 | Pod::Spec.new do |s| |
| 10 | 10 | s.name = 'CNLiveBaseClass' |
| 11 | - s.version = '0.0.8' | |
| 11 | + s.version = '0.0.9' | |
| 12 | 12 | s.summary = 'CNLiveBaseClass' |
| 13 | 13 | |
| 14 | 14 | # This description is used to generate tags and improve search results. |
| ... | ... | @@ -22,17 +22,12 @@ TODO: 网家家-基类. |
| 22 | 22 | DESC |
| 23 | 23 | |
| 24 | 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 | 25 | s.license = { :type => 'MIT', :file => 'LICENSE' } |
| 27 | 26 | s.author = { '153993236@qq.com' => 'zhangxiaowen@cnlive.com' } |
| 28 | 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 | 29 | s.ios.deployment_target = '10.0' |
| 32 | - | |
| 33 | -# s.source_files = 'CNLiveBaseClass/Classes/**/*' | |
| 34 | - | |
| 35 | - # Controller | |
| 30 | + | |
| 36 | 31 | s.subspec 'Controller' do |ss| |
| 37 | 32 | ss.source_files = 'CNLiveBaseClass/Classes/Controller/*' |
| 38 | 33 | ss.dependency 'CNLiveNewTripartiteManagement/WebViewJavascriptBridge' |
| ... | ... | @@ -40,13 +35,6 @@ TODO: 网家家-基类. |
| 40 | 35 | ss.dependency 'CNLiveCustomControl' |
| 41 | 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 | 38 | s.dependency 'CNLiveBaseKit' |
| 51 | 39 | |
| 52 | 40 | end | ... | ... |
Example/CNLiveBaseClass.xcodeproj/project.pbxproj
| ... | ... | @@ -207,7 +207,7 @@ |
| 207 | 207 | 6003F586195388D20070C39A /* Sources */, |
| 208 | 208 | 6003F587195388D20070C39A /* Frameworks */, |
| 209 | 209 | 6003F588195388D20070C39A /* Resources */, |
| 210 | - 762985650E3ADCD98FD70D0F /* [CP] Embed Pods Frameworks */, | |
| 210 | + 6D1A2E2EAA421BCBAA426190 /* [CP] Embed Pods Frameworks */, | |
| 211 | 211 | ); |
| 212 | 212 | buildRules = ( |
| 213 | 213 | ); |
| ... | ... | @@ -320,7 +320,7 @@ |
| 320 | 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 | 321 | showEnvVarsInLog = 0; |
| 322 | 322 | }; |
| 323 | - 762985650E3ADCD98FD70D0F /* [CP] Embed Pods Frameworks */ = { | |
| 323 | + 6D1A2E2EAA421BCBAA426190 /* [CP] Embed Pods Frameworks */ = { | |
| 324 | 324 | isa = PBXShellScriptBuildPhase; |
| 325 | 325 | buildActionMask = 2147483647; |
| 326 | 326 | files = ( |
| ... | ... | @@ -331,9 +331,8 @@ |
| 331 | 331 | "${BUILT_PRODUCTS_DIR}/CNLiveBaseKit/CNLiveBaseKit.framework", |
| 332 | 332 | "${BUILT_PRODUCTS_DIR}/CNLiveCategory/CNLiveCategory.framework", |
| 333 | 333 | "${BUILT_PRODUCTS_DIR}/CNLiveCustomControl/CNLiveCustomControl.framework", |
| 334 | - "${BUILT_PRODUCTS_DIR}/CNLiveTripartiteManagement/CNLiveTripartiteManagement.framework", | |
| 334 | + "${BUILT_PRODUCTS_DIR}/CNLiveNewTripartiteManagement/CNLiveNewTripartiteManagement.framework", | |
| 335 | 335 | "${BUILT_PRODUCTS_DIR}/MJExtension/MJExtension.framework", |
| 336 | - "${BUILT_PRODUCTS_DIR}/QMUIKit/QMUIKit.framework", | |
| 337 | 336 | "${BUILT_PRODUCTS_DIR}/WebViewJavascriptBridge/WebViewJavascriptBridge.framework", |
| 338 | 337 | ); |
| 339 | 338 | name = "[CP] Embed Pods Frameworks"; |
| ... | ... | @@ -342,9 +341,8 @@ |
| 342 | 341 | "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/CNLiveBaseKit.framework", |
| 343 | 342 | "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/CNLiveCategory.framework", |
| 344 | 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 | 345 | "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/MJExtension.framework", |
| 347 | - "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/QMUIKit.framework", | |
| 348 | 346 | "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/WebViewJavascriptBridge.framework", |
| 349 | 347 | ); |
| 350 | 348 | runOnlyForDeploymentPostprocessing = 0; | ... | ... |
Example/Podfile
| ... | ... | @@ -2,7 +2,7 @@ use_frameworks! |
| 2 | 2 | source 'https://github.com/CocoaPods/Specs.git' |
| 3 | 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 | 7 | target 'CNLiveBaseClass_Example' do |
| 8 | 8 | pod 'CNLiveBaseClass', :path => '../' | ... | ... |