BFFramework.podspec 3.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  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', :git => 'https://github.com/jsonwang/NXFramework-Swift.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 = 'BFFramework/Classes/**/*'
  29. s.resource_bundles = {
  30. 'BFFramework' => ['BFFramework/Assets/*.png']
  31. }
  32. s.static_framework = true
  33. s.xcconfig = { 'CLANG_MODULES_AUTOLINK' => 'YES',
  34. 'OTHER_SWIFT_FLAGS' => "$(inherited) -DGLES"}
  35. s.public_header_files = 'BFFramework/Classes/**/*.h'
  36. s.frameworks = 'UIKit', 'AVFoundation','OpenGLES', 'CoreMedia', 'QuartzCore'
  37. # 排除非 ios 平台的文件
  38. # s.ios.exclude_files = 'framework/Source/Mac', 'framework/Source/Linux', 'framework/Source/Operations/Shaders/ConvertedShaders_GL.swift'
  39. s.dependency 'Alamofire','4.9.1' # 网络请求库
  40. s.dependency 'SnapKit','4.2.0' # 布局库
  41. s.dependency 'Kingfisher','4.10.1' # 图片加载库
  42. s.dependency 'RealmSwift','10.7.2' # Realm数据库
  43. s.dependency 'ObjectMapper','4.2.0' # json转model库
  44. s.dependency 'KeychainAccess','4.2.2' # 钥匙串库
  45. s.dependency 'Toast-Swift','5.0.1' # Toast提示组件
  46. s.dependency 'AliyunOSSiOS','2.10.8' # 阿里云组件
  47. s.dependency 'WechatOpenSDK-Swift','1.8.7.1' # 微信组件
  48. s.dependency 'MJRefresh','3.5.0' # 刷新组件
  49. s.dependency 'FDFullscreenPopGesture'
  50. s.dependency 'LMJHorizontalScrollText'
  51. # s.dependency 'UMCommon','7.2.5' # 友盟基础组件
  52. # s.dependency 'UMDevice','1.1.0' # 友盟基础组件
  53. # s.dependency 'UMCSecurityPlugins','1.0.6' # 友盟安全组件
  54. # s.dependency 'UMAPM','1.1.1' # 友盟统计分析组件
  55. # s.dependency 'UMPush','3.3.1' # 友盟推送组件
  56. # s.dependency 'Bugly','2.5.71' # 奔溃分析组件
  57. s.dependency "NXFramework-Swift"
  58. # s.dependency 'KingfisherWebP','0.4.2' # 加载WebP格式图片库 使用https://github.com/webmproject/libwebp.git地址可以不翻
  59. end