BFCommonKit.podspec 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  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.2'
  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 'BFEnums' do |ee|
  29. ee.source_files = 'BFCommonKit/Classes/BFEnums/*'
  30. ee.frameworks = 'Foundation'
  31. end
  32. s.subspec 'BFCategorys' do |cc|
  33. cc.source_files = 'BFCommonKit/Classes/BFCategorys/*'
  34. cc.frameworks = 'Foundation','UIKit','MobileCoreServices' # ,'CommonCrypto'
  35. cc.dependency 'KingfisherWebP','1.3.0'
  36. end
  37. s.subspec 'BFUtility' do |uu|
  38. uu.source_files = 'BFCommonKit/Classes/BFUtility/*'
  39. uu.frameworks = 'Foundation','UIKit','AdSupport','Photos','AudioToolbox','AVKit'
  40. uu.dependency 'KingfisherWebP','1.3.0'
  41. uu.dependency 'Alamofire','5.4.4'
  42. uu.dependency 'KeychainAccess','4.2.2'
  43. uu.dependency 'Kingfisher','6.3.1'
  44. uu.dependency 'Toast-Swift','5.0.1'
  45. uu.dependency 'BFCommonKit/BFCategorys'
  46. uu.dependency 'BFCommonKit/BFConfig'
  47. end
  48. s.pod_target_xcconfig = { 'skip_validation' => true }
  49. s.resource_bundles = {
  50. 'BFCommonKit_Resources' => ['BFCommonKit/Assets/*']
  51. }
  52. # s.prepare_command = '/usr/local/bin/Python3 BFShell/build_lib.py'
  53. end