BFCommonKit.podspec 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687
  1. #
  2. # Be sure to run `pod lib lint BFCommonKit.podspec' to ensure this is a
  3. # valid spec before submitting.
  4. #
  5. # Any lines starting with a # are optional, but their use is encouraged
  6. # To learn more about a Podspec see https://guides.cocoapods.org/syntax/podspec.html
  7. #
  8. # update framework 2021.11.1
  9. Pod::Spec.new do |s|
  10. s.name = 'BFCommonKit'
  11. s.version = '1.5.0'
  12. s.summary = 'A short description of BFCommonKit.'
  13. s.swift_version = '5.0'
  14. # This description is used to generate tags and improve search results.
  15. # * Think: What does it do? Why did you write it? What is the focus?
  16. # * Try to keep it short, snappy and to the point.
  17. # * Write the description between the DESC delimiters below.
  18. # * Finally, don't worry about the indent, CocoaPods strips it!
  19. s.description = <<-DESC
  20. TODO: Add long description of the pod here.
  21. DESC
  22. s.homepage = 'https://git.yishihui.com/iOS'
  23. # s.screenshots = 'www.example.com/screenshots_1', 'www.example.com/screenshots_2'
  24. s.license = { :type => 'MIT', :file => 'LICENSE' }
  25. s.author = { 'wenweiwei' => 'wenweiwei@piaoquantv.com' }
  26. s.source = { :git => 'https://git.yishihui.com/iOS/BFCommonKit.git', :tag => s.version.to_s }
  27. # s.social_media_url = 'https://twitter.com/<TWITTER_USERNAME>'
  28. s.ios.deployment_target = '10.0'
  29. # s.source_files = 'BFCommonKit/Classes/BFConfig/*'
  30. # subspec
  31. s.subspec 'BFConfig' do |gg|
  32. gg.source_files = 'BFCommonKit/Classes/BFConfig/*'
  33. gg.frameworks = 'UIKit'
  34. end
  35. s.subspec 'BFBase' do |bb|
  36. bb.source_files = 'BFCommonKit/Classes/BFBase/**/*'
  37. bb.frameworks = 'UIKit', 'WebKit'
  38. bb.dependency 'Alamofire','5.4.4'
  39. bb.dependency 'SnapKit','5.0.1'
  40. bb.dependency 'RealmSwift','10.7.6'
  41. bb.dependency 'FDFullscreenPopGesture','1.1'
  42. bb.dependency 'BFCommonKit/BFUtility'
  43. bb.dependency 'BFCommonKit/BFConfig'
  44. bb.dependency 'BFCommonKit/BFCategorys'
  45. end
  46. s.subspec 'BFEnums' do |ee|
  47. ee.source_files = 'BFCommonKit/Classes/BFEnums/*'
  48. ee.frameworks = 'Foundation'
  49. end
  50. s.subspec 'BFCategorys' do |cc|
  51. cc.source_files = 'BFCommonKit/Classes/BFCategorys/*'
  52. cc.frameworks = 'Foundation','UIKit','MobileCoreServices' # ,'CommonCrypto'
  53. cc.dependency 'KingfisherWebP','1.3.0'
  54. end
  55. s.subspec 'BFUtility' do |uu|
  56. uu.source_files = 'BFCommonKit/Classes/BFUtility/*'
  57. uu.frameworks = 'Foundation','UIKit','AdSupport','Photos','AudioToolbox','AVKit'
  58. uu.dependency 'KingfisherWebP','1.3.0'
  59. uu.dependency 'Alamofire','5.4.4'
  60. uu.dependency 'KeychainAccess','4.2.2'
  61. uu.dependency 'Kingfisher','6.3.1'
  62. uu.dependency 'Toast-Swift','5.0.1'
  63. uu.dependency 'BFCommonKit/BFCategorys'
  64. uu.dependency 'BFCommonKit/BFConfig'
  65. end
  66. s.subspec 'BFDebug' do |dd|
  67. dd.source_files = 'BFCommonKit/Classes/BFDebug/*'
  68. dd.frameworks = 'UIKit','MessageUI','WebKit'
  69. dd.dependency 'BFCommonKit/BFCategorys'
  70. end
  71. # s.subspec 'Resources' do |rr|
  72. # rr.resource_bundles = {
  73. # 'BFCommonKit_Resources' => ['BFCommonKit/Assets/Resources/*']
  74. # }
  75. # end
  76. s.resource_bundles = {
  77. 'BFCommonKit_Resources' => ['BFCommonKit/Assets/Resources/*']
  78. }
  79. # s.resources = 'BFCommonKit/Assets/Resources/*.png'
  80. # s.public_header_files = 'Pod/Classes/**/*.h'
  81. # s.frameworks = 'UIKit', 'AVFoundation','CoreMedia', 'QuartzCore'
  82. # s.dependency 'Kingfisher','6.3.0'
  83. end