BFCommonKit.podspec 2.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  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.3'
  12. s.summary = '基础库'
  13. s.swift_version = '5.0'
  14. s.description = <<-DESC
  15. TODO: Add long description of the pod here.
  16. DESC
  17. s.homepage = 'https://git.yishihui.com/iOS'
  18. s.license = { :type => 'MIT', :file => 'LICENSE' }
  19. s.author = { 'wenweiwei' => 'wenweiwei@piaoquantv.com' }
  20. s.source = { :git => 'https://git.yishihui.com/iOS/BFCommonKit.git', :tag => s.version.to_s }
  21. s.ios.deployment_target = '10.0'
  22. s.subspec 'BFConfig' do |gg|
  23. gg.source_files = 'BFCommonKit/Classes/BFConfig/*'
  24. gg.frameworks = 'UIKit'
  25. end
  26. s.subspec 'BFBase' do |bb|
  27. bb.source_files = 'BFCommonKit/Classes/BFBase/**/*'
  28. bb.frameworks = 'UIKit', 'WebKit'
  29. bb.dependency 'Alamofire','5.4.4'
  30. bb.dependency 'SnapKit','5.0.1'
  31. bb.dependency 'BFCommonKit/BFUtility'
  32. bb.dependency 'BFCommonKit/BFConfig'
  33. bb.dependency 'BFCommonKit/BFCategorys'
  34. end
  35. s.subspec 'BFEnums' do |ee|
  36. ee.source_files = 'BFCommonKit/Classes/BFEnums/*'
  37. ee.frameworks = 'Foundation'
  38. end
  39. s.subspec 'BFCategorys' do |cc|
  40. cc.source_files = 'BFCommonKit/Classes/BFCategorys/*'
  41. cc.frameworks = 'Foundation','UIKit','MobileCoreServices' # ,'CommonCrypto'
  42. cc.dependency 'KingfisherWebP','1.3.0'
  43. end
  44. s.subspec 'BFUtility' do |uu|
  45. uu.source_files = 'BFCommonKit/Classes/BFUtility/*'
  46. uu.frameworks = 'Foundation','UIKit','AdSupport','Photos','AudioToolbox','AVKit'
  47. uu.dependency 'KingfisherWebP','1.3.0'
  48. uu.dependency 'Alamofire','5.4.4'
  49. uu.dependency 'KeychainAccess','4.2.2'
  50. uu.dependency 'Kingfisher','6.3.1'
  51. uu.dependency 'Toast-Swift','5.0.1'
  52. uu.dependency 'BFCommonKit/BFCategorys'
  53. uu.dependency 'BFCommonKit/BFConfig'
  54. end
  55. s.subspec 'BFDebug' do |dd|
  56. dd.source_files = 'BFCommonKit/Classes/BFDebug/*'
  57. dd.frameworks = 'UIKit','MessageUI','WebKit'
  58. dd.dependency 'BFCommonKit/BFCategorys'
  59. end
  60. s.resource_bundles = {
  61. 'BFCommonKit_Resources' => ['BFCommonKit/Assets/*']
  62. }
  63. end