Commit bae7ed1c3017dd58ce2de0969d51e0bd5a27577e

Authored by zhangxiaowen
1 parent 850294d4

no message

CNLivePlayer.podspec
... ... @@ -44,4 +44,6 @@ Pod::Spec.new do |s|
44 44 s.frameworks = 'Foundation', 'UIKit', 'AVFoundation', 'AVKit', 'MediaPlayer', 'VideoToolbox', 'CoreTelephony', 'CoreMedia', 'OpenGLES', 'QuartzCore', 'Accelerate', 'AudioToolbox', 'CoreAudio','CoreGraphics'
45 45  
46 46 s.static_framework = true
  47 + s.pod_target_xcconfig = { 'VALID_ARCHS[sdk=iphonesimulator*]' => 'PLPlayerKit' }
  48 +
47 49 end
... ...
Example/Podfile
... ... @@ -6,7 +6,10 @@ platform :ios, '9.0'
6 6  
7 7 target 'CNLivePlayer_Example' do
8 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 13 target 'CNLivePlayer_Tests' do
11 14 inherit! :search_paths
12 15  
... ...