Ver código fonte

update podspec

wenweiwei 3 anos atrás
pai
commit
75aa6d43f0

+ 79 - 0
.gitignore

@@ -0,0 +1,79 @@
+# Miscellaneous
+*.class
+*.log
+*.pyc
+*.swp
+.DS_Store
+.atom/
+.buildlog/
+.history
+.svn/
+# Xcode
+#
+# gitignore contributors: remember to update Global/Xcode.gitignore, Objective-C.gitignore & Swift.gitignore
+
+## Build generated
+build/
+DerivedData/
+
+## Various settings
+*.pbxuser
+!default.pbxuser
+*.mode1v3
+!default.mode1v3
+*.mode2v3
+!default.mode2v3
+*.perspectivev3
+!default.perspectivev3
+xcuserdata/
+
+## Other
+*.moved-aside
+*.xccheckout
+*.xcscmblueprint
+
+## Obj-C/Swift specific
+*.hmap
+*.ipa
+*.dSYM.zip
+*.dSYM
+
+## Playgrounds
+timeline.xctimeline
+playground.xcworkspace
+
+# Swift Package Manager
+#
+# Add this line if you want to avoid checking in source code from Swift Package Manager dependencies.
+# Packages/
+# Package.pins
+# Package.resolved
+.build/
+
+# CocoaPods
+#
+# We recommend against adding the Pods directory to your .gitignore. However
+# you should judge for yourself, the pros and cons are mentioned at:
+# https://guides.cocoapods.org/using/using-cocoapods.html#should-i-check-the-pods-directory-into-source-control
+#
+Pods/
+Podfile.lock
+
+# Carthage
+#
+# Add this line if you want to avoid checking in source code from Carthage dependencies.
+# Carthage/Checkouts
+
+Carthage/Build
+
+# fastlane
+#
+# It is recommended to not store the screenshots in the git repo. Instead, use fastlane to re-generate the
+# screenshots whenever they are needed.
+# For more information about the recommended setup visit:
+# https://docs.fastlane.tools/best-practices/source-control/#source-control
+
+fastlane/report.xml
+fastlane/Preview.html
+fastlane/screenshots/**/*.png
+fastlane/test_output

+ 64 - 0
BFCommonKit/1.5.2/BFCommonKit.podspec

@@ -0,0 +1,64 @@
+#
+# Be sure to run `pod lib lint BFCommonKit.podspec' to ensure this is a
+# valid spec before submitting.
+#
+# Any lines starting with a # are optional, but their use is encouraged
+# To learn more about a Podspec see https://guides.cocoapods.org/syntax/podspec.html
+#
+# update framework 2021.11.1
+Pod::Spec.new do |s|
+  s.name             = 'BFCommonKit'
+  s.version          = '1.5.2'
+  s.summary          = '基础库'
+  s.swift_version    = '5.0'
+  s.description      = <<-DESC
+TODO: Add long description of the pod here.
+                       DESC
+
+  s.homepage         = 'https://git.yishihui.com/iOS'
+  s.license          = { :type => 'MIT', :file => 'LICENSE' }
+  s.author           = { 'wenweiwei' => 'wenweiwei@piaoquantv.com' }
+  s.source           = { :git => 'https://git.yishihui.com/iOS/BFCommonKit.git', :tag => s.version.to_s }
+  s.ios.deployment_target = '10.0'
+  s.subspec 'BFConfig' do |gg|
+    gg.source_files = 'BFCommonKit/Classes/BFConfig/*'
+    gg.frameworks = 'UIKit'
+  end
+  s.subspec 'BFBase' do |bb|
+    bb.source_files = 'BFCommonKit/Classes/BFBase/**/*'
+    bb.frameworks = 'UIKit', 'WebKit'
+    bb.dependency 'Alamofire','5.4.4'
+    bb.dependency 'SnapKit','5.0.1'
+    bb.dependency 'BFCommonKit/BFUtility'
+    bb.dependency 'BFCommonKit/BFConfig'
+    bb.dependency 'BFCommonKit/BFCategorys'
+  end
+  s.subspec 'BFEnums' do |ee|
+    ee.source_files = 'BFCommonKit/Classes/BFEnums/*'
+    ee.frameworks = 'Foundation'
+  end
+  s.subspec 'BFCategorys' do |cc|
+    cc.source_files = 'BFCommonKit/Classes/BFCategorys/*'
+    cc.frameworks = 'Foundation','UIKit','MobileCoreServices' # ,'CommonCrypto'
+    cc.dependency 'KingfisherWebP','1.3.0'
+  end
+  s.subspec 'BFUtility' do |uu|
+    uu.source_files = 'BFCommonKit/Classes/BFUtility/*'
+    uu.frameworks = 'Foundation','UIKit','AdSupport','Photos','AudioToolbox','AVKit'
+    uu.dependency 'KingfisherWebP','1.3.0'
+    uu.dependency 'Alamofire','5.4.4'
+    uu.dependency 'KeychainAccess','4.2.2'
+    uu.dependency 'Kingfisher','6.3.1'
+    uu.dependency 'Toast-Swift','5.0.1'
+    uu.dependency 'BFCommonKit/BFCategorys'
+    uu.dependency 'BFCommonKit/BFConfig'
+  end
+  s.subspec 'BFDebug' do |dd|
+    dd.source_files = 'BFCommonKit/Classes/BFDebug/*'
+    dd.frameworks = 'UIKit','MessageUI','WebKit'
+    dd.dependency 'BFCommonKit/BFCategorys'
+  end
+   s.resource_bundles = {
+      'BFCommonKit_Resources' => ['BFCommonKit/Assets/*']
+    }
+end

+ 64 - 0
BFFramework/1.1.0/BFFramework.podspec

@@ -0,0 +1,64 @@
+#
+# Be sure to run `pod lib lint BFFramework.podspec' to ensure this is a
+# valid spec before submitting.
+#
+# Any lines starting with a # are optional, but their use is encouraged
+# To learn more about a Podspec see https://guides.cocoapods.org/syntax/podspec.html
+#
+
+Pod::Spec.new do |s|
+  s.name             = 'BFFramework'
+  s.version          = '1.1.0'
+  s.summary          = 'Byte fllow 基础组件库'
+  s.swift_version    = '5.0'
+# This description is used to generate tags and improve search results.
+#   * Think: What does it do? Why did you write it? What is the focus?
+#   * Try to keep it short, snappy and to the point.
+#   * Write the description between the DESC delimiters below.
+#   * Finally, don't worry about the indent, CocoaPods strips it!
+
+  s.description      = <<-DESC
+TODO: Add long description of the pod here.
+                       DESC
+
+  s.homepage         = 'https://git.yishihui.com/iOS'
+  # s.screenshots     = 'www.example.com/screenshots_1', 'www.example.com/screenshots_2'
+  s.license          = { :type => 'MIT', :file => 'LICENSE' }
+  s.author           = { '287971051@qq.com' => '287971051@qq.com' }
+  s.source           = { :git => 'https://git.yishihui.com/iOS/BFFramework.git'}
+  # s.social_media_url = 'https://twitter.com/<TWITTER_USERNAME>'
+
+  s.ios.deployment_target = '10.0'
+
+  s.source_files = 'BFFramework/Classes/**/*'
+
+  s.resource_bundles = {
+#     'BFFramework_Resources' => ['BFFramework/Assets/**/*.png','BFFramework/Assets/**/*.gif','BFFramework/Assets/**/*.mp3','BFFramework/Assets/**/*.mp4']
+    'BFFramework_Resources' => ['BFFramework/Assets/**/*.xcassets', 'BFFramework/Assets/Resources/*']
+  }
+  s.static_framework = true
+
+  s.xcconfig = { 'CLANG_MODULES_AUTOLINK' => 'YES',
+                  'OTHER_SWIFT_FLAGS' => "$(inherited) -DGLES",
+                   'VALIDATE_WORKSPACE_SKIPPED_SDK_FRAMEWORKS' => "OpenGLES"
+                 }
+#   s.pod_target_xcconfig = { 'OTHER_LDFLAGS' => '-all_load', 'VALID_ARCHS' => 'arm64 armv7' }
+  s.pod_target_xcconfig = { 'OTHER_LDFLAGS' => '-all_load'}
+  s.public_header_files = 'BFFramework/Classes/**/*.h'
+  # s.private_header_files = 'BFFramework/Classes/SupportFiles/AliyunOSSiOSAK_umbrella.h'
+  # s.preserve_paths = ['BFFramework/Classes/BFFrameworkPodHeader.h']
+  s.frameworks = 'UIKit', 'AVFoundation','OpenGLES', 'CoreMedia', 'QuartzCore'
+  
+  # 排除非 ios 平台的文件
+  # s.ios.exclude_files = 'framework/Source/Mac', 'framework/Source/Linux', 'framework/Source/Operations/Shaders/ConvertedShaders_GL.swift'
+  s.dependency 'BFCommonKit'
+  s.dependency 'BFNetRequestKit'
+  s.dependency 'BFMaterialKit'
+  s.dependency 'ObjectMapper'             ,'4.2.0'    # json转model库
+  s.dependency 'AliyunOSSiOS'             ,'2.10.10'  # 阿里云组件
+  s.dependency 'WechatOpenSDK-Swift'      ,'1.8.7.1'  # 微信组件
+  s.dependency 'MJRefresh'                ,'3.7.2'    # 刷新组件
+  s.dependency 'LMJHorizontalScrollText'  ,'2.0.2'
+  s.dependency 'TXLiteAVSDK_Player'       ,'9.3.10765' # 腾讯播放器组件
+  s.dependency 'Bugly'                    ,'2.5.90'   #crash log 收集
+end

+ 49 - 0
BFMaterialKit/0.1.7/BFMaterialKit.podspec

@@ -0,0 +1,49 @@
+#
+# Be sure to run `pod lib lint BFMaterialKit.podspec' to ensure this is a
+# valid spec before submitting.
+#
+# Any lines starting with a # are optional, but their use is encouraged
+# To learn more about a Podspec see https://guides.cocoapods.org/syntax/podspec.html
+#
+
+Pod::Spec.new do |s|
+  s.name             = 'BFMaterialKit'
+  s.version          = '0.1.7'
+  s.summary          = '素材加载库'
+  s.swift_version    = '5.0'
+  s.static_framework = true
+# This description is used to generate tags and improve search results.
+#   * Think: What does it do? Why did you write it? What is the focus?
+#   * Try to keep it short, snappy and to the point.
+#   * Write the description between the DESC delimiters below.
+#   * Finally, don't worry about the indent, CocoaPods strips it!
+
+  s.description      = <<-DESC
+TODO: Add long description of the pod here.
+                       DESC
+
+  s.homepage         = 'https://git.yishihui.com/iOS'
+  # s.screenshots     = 'www.example.com/screenshots_1', 'www.example.com/screenshots_2'
+  s.license          = { :type => 'MIT', :file => 'LICENSE' }
+  s.author           = { 'wenweiwei' => 'wenweiwei@piaoquantv.com' }
+  s.source           = { :git => 'https://git.yishihui.com/iOS/BFMaterialKit.git', :tag => s.version.to_s }
+  # s.social_media_url = 'https://twitter.com/<TWITTER_USERNAME>'
+  s.ios.deployment_target = '10.0'
+  s.source_files = 'BFMaterialKit/Classes/**/*'
+#  s.subspec 'Targets' do |ss|
+#        ss.source_files = 'Login/Classes/Targets/*.{h,m}'
+#        ss.dependency 'Login/ViewController'
+#    end
+#  s.resources = 'BFMaterialKit/Assets/Materails/*.{png,gif}'
+#  s.subspec 'Resources' do |rr|
+#    rr.resource_bundles = {
+#      'BFMaterialKit_Resources' => ['BFMaterialKit/Assets/Resources/*']
+#    }
+#  end
+  s.resource_bundles = {
+      'BFMaterialKit_Resources' => ['BFMaterialKit/Assets/Resources/*']
+  }
+#  s.public_header_files = 'Pod/Classes/**/*.h'
+  s.frameworks = 'UIKit', 'AVFoundation','CoreMedia', 'QuartzCore'
+  s.dependency 'BFCommonKit'
+end

+ 49 - 0
BFMaterialKit/0.1.8/BFMaterialKit.podspec

@@ -0,0 +1,49 @@
+#
+# Be sure to run `pod lib lint BFMaterialKit.podspec' to ensure this is a
+# valid spec before submitting.
+#
+# Any lines starting with a # are optional, but their use is encouraged
+# To learn more about a Podspec see https://guides.cocoapods.org/syntax/podspec.html
+#
+
+Pod::Spec.new do |s|
+  s.name             = 'BFMaterialKit'
+  s.version          = '0.1.8'
+  s.summary          = '素材加载库'
+  s.swift_version    = '5.0'
+  s.static_framework = true
+# This description is used to generate tags and improve search results.
+#   * Think: What does it do? Why did you write it? What is the focus?
+#   * Try to keep it short, snappy and to the point.
+#   * Write the description between the DESC delimiters below.
+#   * Finally, don't worry about the indent, CocoaPods strips it!
+
+  s.description      = <<-DESC
+TODO: Add long description of the pod here.
+                       DESC
+
+  s.homepage         = 'https://git.yishihui.com/iOS'
+  # s.screenshots     = 'www.example.com/screenshots_1', 'www.example.com/screenshots_2'
+  s.license          = { :type => 'MIT', :file => 'LICENSE' }
+  s.author           = { 'wenweiwei' => 'wenweiwei@piaoquantv.com' }
+  s.source           = { :git => 'https://git.yishihui.com/iOS/BFMaterialKit.git', :tag => s.version.to_s }
+  # s.social_media_url = 'https://twitter.com/<TWITTER_USERNAME>'
+  s.ios.deployment_target = '10.0'
+  s.source_files = 'BFMaterialKit/Classes/**/*'
+#  s.subspec 'Targets' do |ss|
+#        ss.source_files = 'Login/Classes/Targets/*.{h,m}'
+#        ss.dependency 'Login/ViewController'
+#    end
+#  s.resources = 'BFMaterialKit/Assets/Materails/*.{png,gif}'
+#  s.subspec 'Resources' do |rr|
+#    rr.resource_bundles = {
+#      'BFMaterialKit_Resources' => ['BFMaterialKit/Assets/Resources/*']
+#    }
+#  end
+  s.resource_bundles = {
+      'BFMaterialKit_Resources' => ['BFMaterialKit/Assets/Resources/**/*']
+  }
+#  s.public_header_files = 'Pod/Classes/**/*.h'
+  s.frameworks = 'UIKit', 'AVFoundation','CoreMedia', 'QuartzCore'
+  s.dependency 'BFUIKit'
+end

+ 49 - 0
BFMaterialKit/0.1.9/BFMaterialKit.podspec

@@ -0,0 +1,49 @@
+#
+# Be sure to run `pod lib lint BFMaterialKit.podspec' to ensure this is a
+# valid spec before submitting.
+#
+# Any lines starting with a # are optional, but their use is encouraged
+# To learn more about a Podspec see https://guides.cocoapods.org/syntax/podspec.html
+#
+
+Pod::Spec.new do |s|
+  s.name             = 'BFMaterialKit'
+  s.version          = '0.1.9'
+  s.summary          = '素材加载库'
+  s.swift_version    = '5.0'
+  s.static_framework = true
+# This description is used to generate tags and improve search results.
+#   * Think: What does it do? Why did you write it? What is the focus?
+#   * Try to keep it short, snappy and to the point.
+#   * Write the description between the DESC delimiters below.
+#   * Finally, don't worry about the indent, CocoaPods strips it!
+
+  s.description      = <<-DESC
+TODO: Add long description of the pod here.
+                       DESC
+
+  s.homepage         = 'https://git.yishihui.com/iOS'
+  # s.screenshots     = 'www.example.com/screenshots_1', 'www.example.com/screenshots_2'
+  s.license          = { :type => 'MIT', :file => 'LICENSE' }
+  s.author           = { 'wenweiwei' => 'wenweiwei@piaoquantv.com' }
+  s.source           = { :git => 'https://git.yishihui.com/iOS/BFMaterialKit.git', :tag => s.version.to_s }
+  # s.social_media_url = 'https://twitter.com/<TWITTER_USERNAME>'
+  s.ios.deployment_target = '10.0'
+  s.source_files = 'BFMaterialKit/Classes/**/*'
+#  s.subspec 'Targets' do |ss|
+#        ss.source_files = 'Login/Classes/Targets/*.{h,m}'
+#        ss.dependency 'Login/ViewController'
+#    end
+#  s.resources = 'BFMaterialKit/Assets/Materails/*.{png,gif}'
+#  s.subspec 'Resources' do |rr|
+#    rr.resource_bundles = {
+#      'BFMaterialKit_Resources' => ['BFMaterialKit/Assets/Resources/*']
+#    }
+#  end
+  s.resource_bundles = {
+      'BFMaterialKit_Resources' => ['BFMaterialKit/Assets/Resources/**/*']
+  }
+#  s.public_header_files = 'Pod/Classes/**/*.h'
+  s.frameworks = 'UIKit', 'AVFoundation','CoreMedia', 'QuartzCore'
+  s.dependency 'BFUIKit'
+end

+ 30 - 0
BFMaterialKit/0.2.0/BFMaterialKit.podspec

@@ -0,0 +1,30 @@
+#
+# Be sure to run `pod lib lint BFMaterialKit.podspec' to ensure this is a
+# valid spec before submitting.
+#
+# Any lines starting with a # are optional, but their use is encouraged
+# To learn more about a Podspec see https://guides.cocoapods.org/syntax/podspec.html
+#
+
+Pod::Spec.new do |s|
+  s.name             = 'BFMaterialKit'
+  s.version          = '0.2.0'
+  s.summary          = '素材加载库'
+  s.swift_version    = '5.0'
+  s.static_framework = true
+  s.description      = <<-DESC
+TODO: Add long description of the pod here.
+                       DESC
+
+  s.homepage         = 'https://git.yishihui.com/iOS'
+  s.license          = { :type => 'MIT', :file => 'LICENSE' }
+  s.author           = { 'wenweiwei' => 'wenweiwei@piaoquantv.com' }
+  s.source           = { :git => 'https://git.yishihui.com/iOS/BFMaterialKit.git', :tag => s.version.to_s }
+  s.ios.deployment_target = '10.0'
+  s.source_files = 'BFMaterialKit/Classes/**/*'
+  s.resource_bundles = {
+      'BFMaterialKit_Resources' => ['BFMaterialKit/Assets/Resources/**/*']
+  }
+  s.frameworks = 'UIKit', 'AVFoundation','CoreMedia', 'QuartzCore'
+  s.dependency 'BFUIKit'
+end

+ 38 - 0
BFVideoEditKit/0.1.0/BFVideoEditKit.podspec

@@ -0,0 +1,38 @@
+#
+# Be sure to run `pod lib lint BFVideoEditKit.podspec' to ensure this is a
+# valid spec before submitting.
+#
+# Any lines starting with a # are optional, but their use is encouraged
+# To learn more about a Podspec see https://guides.cocoapods.org/syntax/podspec.html
+#
+
+Pod::Spec.new do |s|
+  s.name             = 'BFVideoEditKit'
+  s.version          = '0.1.0'
+  s.summary          = '创作工具库'
+  s.swift_version    = '5.0'
+  s.description      = <<-DESC
+TODO: Add long description of the pod here.
+                       DESC
+
+  s.homepage         = 'https://git.yishihui.com/iOS/BFVideoEditKit'
+  s.license          = { :type => 'MIT', :file => 'LICENSE' }
+  s.author           = { 'SanWCoder' => 'wenweiwei@piaoquantv.com' }
+  s.source           = { :git => 'https://git.yishihui.com/iOS/BFVideoEditKit.git', :tag => s.version.to_s }
+  s.ios.deployment_target = '10.0'
+#  s.frameworks = 'UIKit', 'AVFoundation','CoreMedia', 'QuartzCore','AudioToolbox','SystemConfiguration'
+#  s.libraries = 'stdc++','sqlite3.0'
+  s.resource_bundles = {
+      'BFVideoEditKit_Resources' => ['BFVideoEditKit/Assets/Resources/*']
+  }
+  s.dependency 'BFCommonKit'
+  s.dependency 'BFNetRequestKit'
+  s.dependency 'BFMaterialKit'
+  s.dependency 'BFFramework'
+  s.dependency 'BFUIKit'
+  s.dependency 'BFAliyunNlsSDK-Swift'
+  s.source_files = 'BFVideoEditKit/Classes/**/*'
+  s.requires_arc = true
+  s.static_framework = true
+  s.pod_target_xcconfig = { 'OTHER_LDFLAGS' => '-all_load','ENABLE_BITCODE' => 'NO' }
+end