BFMediaKit.podspec 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. #
  2. # Be sure to run `pod lib lint BFMediaKit.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 = 'BFMediaKit'
  10. s.version = '0.1.0'
  11. s.summary = '媒体处理库'
  12. s.swift_version = '5.0'
  13. s.description = <<-DESC
  14. TODO: Add long description of the pod here.
  15. DESC
  16. s.homepage = 'https://github.com/iOS/BFMediaKit'
  17. # s.screenshots = 'www.example.com/screenshots_1', 'www.example.com/screenshots_2'
  18. s.license = { :type => 'MIT', :file => 'LICENSE' }
  19. s.author = { 'wenweiwei' => 'wenweiwei@piaoquantv.com' }
  20. s.source = { :git => 'https://github.com/iOS/BFMediaKit.git', :tag => s.version.to_s }
  21. # s.social_media_url = 'https://twitter.com/<TWITTER_USERNAME>'
  22. s.ios.deployment_target = '10.0'
  23. s.requires_arc = true
  24. s.static_framework = true
  25. s.frameworks = 'UIKit', 'AVFoundation','OpenGLES', 'CoreMedia', 'QuartzCore'
  26. s.pod_target_xcconfig = { 'OTHER_LDFLAGS' => '-all_load'}
  27. s.xcconfig = { 'CLANG_MODULES_AUTOLINK' => 'YES',
  28. 'OTHER_SWIFT_FLAGS' => "$(inherited) -DGLES",
  29. 'VALIDATE_WORKSPACE_SKIPPED_SDK_FRAMEWORKS' => "OpenGLES"
  30. }
  31. s.resource_bundles = {
  32. 'BFMediaKit_Resources' => ['BFMediaKit/Assets/**/*']
  33. }
  34. s.source_files = 'BFMediaKit/Classes/**/*'
  35. s.dependency 'BFCommonKit'
  36. s.dependency 'ObjectMapper' ,'4.2.0' # json转model库
  37. s.dependency 'RealmSwift' ,'10.7.6'
  38. s.dependency 'NuiSDK' ,'2.5.14'
  39. end