BFCommonKit.podspec 2.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  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. gg.dependency 'BFCommonKit/BFEnums'
  26. gg.dependency 'BFCommonKit/BFCategorys'
  27. end
  28. s.subspec 'BFBase' do |bb|
  29. bb.source_files = 'BFCommonKit/Classes/BFBase/**/*'
  30. bb.frameworks = 'UIKit', 'WebKit'
  31. bb.dependency 'Alamofire','5.4.4'
  32. bb.dependency 'SnapKit','5.0.1'
  33. bb.dependency 'BFCommonKit/BFUtility'
  34. bb.dependency 'BFCommonKit/BFConfig'
  35. bb.dependency 'BFCommonKit/BFCategorys'
  36. end
  37. s.subspec 'BFEnums' do |ee|
  38. ee.source_files = 'BFCommonKit/Classes/BFEnums/*'
  39. ee.frameworks = 'Foundation'
  40. end
  41. s.subspec 'BFCategorys' do |cc|
  42. cc.source_files = 'BFCommonKit/Classes/BFCategorys/*'
  43. cc.frameworks = 'Foundation','UIKit','MobileCoreServices' # ,'CommonCrypto'
  44. cc.dependency 'KingfisherWebP','1.3.0'
  45. end
  46. s.subspec 'BFUtility' do |uu|
  47. uu.source_files = 'BFCommonKit/Classes/BFUtility/*'
  48. uu.frameworks = 'Foundation','UIKit','AdSupport','Photos','AudioToolbox','AVKit'
  49. uu.dependency 'KingfisherWebP','1.3.0'
  50. uu.dependency 'Alamofire','5.4.4'
  51. uu.dependency 'KeychainAccess','4.2.2'
  52. uu.dependency 'Kingfisher','6.3.1'
  53. uu.dependency 'Toast-Swift','5.0.1'
  54. uu.dependency 'BFCommonKit/BFCategorys'
  55. uu.dependency 'BFCommonKit/BFConfig'
  56. end
  57. s.resource_bundles = {
  58. 'BFCommonKit_Resources' => ['BFCommonKit/Assets/*']
  59. }
  60. s.prepare_command = '/usr/local/bin/Python3 build_lib.py'
  61. end