减少过多的 dependency
Showing
... | ... | @@ -8,7 +8,8 @@ Pod::Spec.new do |s| |
s.license = { :type => 'MIT', :file => 'LICENSE' } | ||
s.author = { '辛亚鹏' => 'xinyapeng@baijiahulian.com' } | ||
s.source = { :git => 'https://git.baijiashilian.com/open-ios/BJVideoPlayerUI.git', :tag => s.version.to_s } | ||
s.frameworks = ['CoreGraphics', 'Foundation', 'MobileCoreServices', 'Photos', 'UIKit', 'CoreTelephony', 'CoreMedia', 'AVFoundation', 'AVKit', 'MediaPlayer'] | ||
s.platform = :ios, "9.0" | ||
s.ios.deployment_target = "9.0" | ||
... | ... | @@ -18,6 +19,7 @@ Pod::Spec.new do |s| |
s.pod_target_xcconfig = { | ||
"CLANG_ALLOW_NON_MODULAR_INCLUDES_IN_FRAMEWORK_MODULES" => "YES", # requies both `user_target_xcconfig` and `pod_target_xcconfig` | ||
"GCC_PREPROCESSOR_DEFINITIONS" => "$(inherited) BJVIDEOPLAYERUI_NAME=#{s.name} BJVIDEOPLAYERUI_VERSION=#{s.version}" | ||
} | ||
s.user_target_xcconfig = { | ||
"CLANG_ALLOW_NON_MODULAR_INCLUDES_IN_FRAMEWORK_MODULES" => "YES" # requies both `user_target_xcconfig` and `pod_target_xcconfig` | ||
... | ... | @@ -52,7 +54,6 @@ Pod::Spec.new do |s| |
ss.ios.public_header_files = 'frameworks/BJVideoPlayerUI.framework/Versions/A/Headers/**/*.h' | ||
ss.ios.resource = 'frameworks/BJVideoPlayerUI.framework/Versions/A/Resources/BJVideoPlayerUI.bundle' | ||
ss.ios.vendored_frameworks = 'frameworks/BJVideoPlayerUI.framework' | ||
ss.frameworks = ['Foundation', 'UIKit', 'CoreTelephony', 'CoreMedia', 'AVFoundation', 'AVKit', 'MediaPlayer'] | ||
end | ||
## 源码集成 | ||
... | ... | @@ -64,9 +65,5 @@ Pod::Spec.new do |s| |
ss.dependency "BJVideoPlayerCore", "~> 2.10.1" | ||
end | ||
s.dependency "BJLiveBase", '~> 2.10.0' | ||
s.dependency "BJLiveBase/Base", '~> 2.10.0' | ||
s.dependency "BJLiveBase/HUD", '~> 2.10.0' | ||
s.dependency "BJLiveBase/Networking", '~> 2.10.0' | ||
s.dependency "BJLiveBase/Networking+BaijiaYun", '~> 2.10.0' | ||
s.dependency "BJLiveBase/HUD",'~> 2.10.0' | ||
end |
Please register or sign in to comment