BFCommonKit.podspec 2.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  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 = '0.1.6'
  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/wenweiwei/BFCommonKit'
  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/wenweiwei/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 = 'Classes/**/*'
  29. # subspec
  30. s.subspec 'Base' do |ss|
  31. ss.source_files = 'BFCommonKit/Classes/Base/**/*'
  32. ss.dependency 'Alamofire','4.9.1'
  33. ss.frameworks = 'UIKit', 'WebKit'
  34. end
  35. s.subspec 'BFCategorys' do |ss|
  36. ss.source_files = 'BFCommonKit/Classes/BFCategorys/*'
  37. end
  38. # s.resource_bundles = {
  39. # 'BFCommonKit' => ['BFCommonKit/Assets/*.png']
  40. # }
  41. # s.public_header_files = 'Pod/Classes/**/*.h'
  42. # s.frameworks = 'UIKit', 'MapKit'
  43. s.frameworks = 'UIKit', 'AVFoundation','CoreMedia', 'QuartzCore'
  44. # s.dependency 'AFNetworking', '~> 2.3'
  45. s.dependency 'Kingfisher','6.3.0'
  46. s.dependency 'KingfisherWebP','1.3.0'
  47. s.dependency 'SnapKit','5.0.1'
  48. s.dependency 'Alamofire','4.9.1'
  49. s.dependency 'KeychainAccess','4.2.2'
  50. s.dependency 'Toast-Swift','5.0.1'
  51. s.dependency 'FDFullscreenPopGesture'
  52. end