Ama*_*lho 12 objective-c ios cocoapods podspec swift
我的 podspec 看起来像这样:
Pod::Spec.new do |s|
s.name = 'flutter_vlc_player'
s.version = '0.0.3'
s.summary = 'A new Flutter project.'
s.description = <<-DESC
A new Flutter project.
DESC
s.homepage = 'http://example.com'
s.license = { :file => '../LICENSE' }
s.author = { 'Your Company' => 'email@example.com' }
s.source = { :path => '.' }
s.source_files = 'Classes/**/*'
s.public_header_files = 'Classes/**/*.h'
s.dependency 'Flutter'
s.dependency 'MobileVLCKit', '~> 3.3.10'
s.static_framework = true
s.ios.deployment_target = '9.0'
end
Run Code Online (Sandbox Code Playgroud)
如何设置:modular_headers => truefor s.dependency 'MobileVLCKit', '~> 3.3.10'?我试着用像
s.dependency 'MobileVLCKit', '~> 3.3.10', :modular_headers => true
Run Code Online (Sandbox Code Playgroud)
就像我在 podfile 中所做的那样,但它不起作用。
我知道,我可以使用'DEFINES_MODULE' => 'YES'的pod_target_xcconfig,但是它并没有解决与非模块化的报头中的问题,因为的MobileVLCKit依赖。
| 归档时间: |
|
| 查看次数: |
1979 次 |
| 最近记录: |