Commit bae7ed1c3017dd58ce2de0969d51e0bd5a27577e

Authored by zhangxiaowen
1 parent 850294d4

no message

CNLivePlayer.podspec
@@ -44,4 +44,6 @@ Pod::Spec.new do |s| @@ -44,4 +44,6 @@ Pod::Spec.new do |s|
44 s.frameworks = 'Foundation', 'UIKit', 'AVFoundation', 'AVKit', 'MediaPlayer', 'VideoToolbox', 'CoreTelephony', 'CoreMedia', 'OpenGLES', 'QuartzCore', 'Accelerate', 'AudioToolbox', 'CoreAudio','CoreGraphics' 44 s.frameworks = 'Foundation', 'UIKit', 'AVFoundation', 'AVKit', 'MediaPlayer', 'VideoToolbox', 'CoreTelephony', 'CoreMedia', 'OpenGLES', 'QuartzCore', 'Accelerate', 'AudioToolbox', 'CoreAudio','CoreGraphics'
45 45
46 s.static_framework = true 46 s.static_framework = true
  47 + s.pod_target_xcconfig = { 'VALID_ARCHS[sdk=iphonesimulator*]' => 'PLPlayerKit' }
  48 +
47 end 49 end
Example/Podfile
@@ -6,7 +6,10 @@ platform :ios, '9.0' @@ -6,7 +6,10 @@ platform :ios, '9.0'
6 6
7 target 'CNLivePlayer_Example' do 7 target 'CNLivePlayer_Example' do
8 pod 'CNLivePlayer', :path => '../' 8 pod 'CNLivePlayer', :path => '../'
9 - 9 + #依赖三方私有库,如果里面有.a的时候加上这个
  10 + pre_install do |installer| Pod::Installer::Xcode::TargetValidator.send(:define_method, :verify_no_static_framework_transitive_dependencies) {}
  11 + end
  12 +
10 target 'CNLivePlayer_Tests' do 13 target 'CNLivePlayer_Tests' do
11 inherit! :search_paths 14 inherit! :search_paths
12 15