BFFramework.podspec 3.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  1. #
  2. # Be sure to run `pod lib lint BFFramework.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 = 'BFFramework'
  10. s.version = '0.1.0'
  11. s.summary = 'Byte fllow 基础组件库'
  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://github.com/287971051@qq.com/BFFramework'
  22. # s.screenshots = 'www.example.com/screenshots_1', 'www.example.com/screenshots_2'
  23. s.license = { :type => 'MIT', :file => 'LICENSE' }
  24. s.author = { '287971051@qq.com' => '287971051@qq.com' }
  25. s.source = { :git => 'https://git.yishihui.comiOS/BFFramework.git'}
  26. # s.social_media_url = 'https://twitter.com/<TWITTER_USERNAME>'
  27. s.ios.deployment_target = '10.0'
  28. s.source_files = 'BFFramework/Classes/**/*'
  29. s.resource_bundles = {
  30. 'BFFramework' => ['BFFramework/Assets/**/*.png','BFFramework/Assets/**/*.gif']
  31. }
  32. s.static_framework = true
  33. s.xcconfig = { 'CLANG_MODULES_AUTOLINK' => 'YES',
  34. 'OTHER_SWIFT_FLAGS' => "$(inherited) -DGLES",
  35. 'VALIDATE_WORKSPACE_SKIPPED_SDK_FRAMEWORKS' => "OpenGLES"
  36. }
  37. s.pod_target_xcconfig = { 'OTHER_LDFLAGS' => '-all_load' }
  38. s.public_header_files = 'BFFramework/Classes/**/*.h'
  39. # s.private_header_files = 'BFFramework/Classes/SupportFiles/AliyunOSSiOSAK_umbrella.h'
  40. # s.preserve_paths = ['BFFramework/Classes/BFFrameworkPodHeader.h']
  41. s.frameworks = 'UIKit', 'AVFoundation','OpenGLES', 'CoreMedia', 'QuartzCore'
  42. # 排除非 ios 平台的文件
  43. # s.ios.exclude_files = 'framework/Source/Mac', 'framework/Source/Linux', 'framework/Source/Operations/Shaders/ConvertedShaders_GL.swift'
  44. s.dependency 'Alamofire','4.9.1' # 网络请求库
  45. s.dependency 'SnapKit','4.2.0' # 布局库
  46. s.dependency 'Kingfisher','4.10.1' # 图片加载库
  47. s.dependency 'RealmSwift','10.7.2' # Realm数据库
  48. s.dependency 'ObjectMapper','4.2.0' # json转model库
  49. s.dependency 'KeychainAccess','4.2.2' # 钥匙串库
  50. s.dependency 'Toast-Swift','5.0.1' # Toast提示组件
  51. s.dependency 'AliyunOSSiOS','2.10.8' # 阿里云组件
  52. s.dependency 'WechatOpenSDK-Swift','1.8.7.1' # 微信组件
  53. s.dependency 'MJRefresh','3.5.0' # 刷新组件
  54. s.dependency 'FDFullscreenPopGesture' ,'1.1'
  55. s.dependency 'LMJHorizontalScrollText' ,'2.0.2'
  56. s.dependency 'Bugly','2.5.71' # 奔溃分析组件
  57. s.dependency 'TXLiteAVSDK_Player','8.4.9944' # 腾讯播放器组件
  58. s.dependency "NXFramework-Swift"
  59. s.dependency 'KingfisherWebP','0.4.2' # 加载WebP格式图片库 使用https://github.com/webmproject/libwebp.git地址可以不翻
  60. end