BFFramework.podspec 3.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  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 = '1.0.9'
  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://git.yishihui.com/iOS'
  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.com/iOS/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_Resources' => ['BFFramework/Assets/**/*.png','BFFramework/Assets/**/*.gif','BFFramework/Assets/**/*.mp3','BFFramework/Assets/**/*.mp4']
  31. 'BFFramework_Resources' => ['BFFramework/Assets/**/*.xcassets', 'BFFramework/Assets/Resources/*']
  32. }
  33. s.static_framework = true
  34. s.xcconfig = { 'CLANG_MODULES_AUTOLINK' => 'YES',
  35. 'OTHER_SWIFT_FLAGS' => "$(inherited) -DGLES",
  36. 'VALIDATE_WORKSPACE_SKIPPED_SDK_FRAMEWORKS' => "OpenGLES"
  37. }
  38. # s.pod_target_xcconfig = { 'OTHER_LDFLAGS' => '-all_load', 'VALID_ARCHS' => 'arm64 armv7' }
  39. s.pod_target_xcconfig = { 'OTHER_LDFLAGS' => '-all_load'}
  40. s.public_header_files = 'BFFramework/Classes/**/*.h'
  41. # s.private_header_files = 'BFFramework/Classes/SupportFiles/AliyunOSSiOSAK_umbrella.h'
  42. # s.preserve_paths = ['BFFramework/Classes/BFFrameworkPodHeader.h']
  43. s.frameworks = 'UIKit', 'AVFoundation','OpenGLES', 'CoreMedia', 'QuartzCore'
  44. # 排除非 ios 平台的文件
  45. # s.ios.exclude_files = 'framework/Source/Mac', 'framework/Source/Linux', 'framework/Source/Operations/Shaders/ConvertedShaders_GL.swift'
  46. s.dependency 'BFCommonKit'
  47. s.dependency 'BFNetRequestKit'
  48. s.dependency 'BFMaterialKit'
  49. s.dependency 'ObjectMapper' ,'4.2.0' # json转model库
  50. s.dependency 'AliyunOSSiOS' ,'2.10.10' # 阿里云组件
  51. s.dependency 'WechatOpenSDK-Swift' ,'1.8.7.1' # 微信组件
  52. s.dependency 'MJRefresh' ,'3.7.2' # 刷新组件
  53. s.dependency 'LMJHorizontalScrollText' ,'2.0.2'
  54. s.dependency 'TXLiteAVSDK_Player' ,'9.3.10765' # 腾讯播放器组件
  55. s.dependency 'Bugly' ,'2.5.90' #crash log 收集
  56. s.dependency 'NuiSDK' ,'2.5.14'
  57. end