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