提问人:Amadeu Cavalcante Filho 提问时间:5/1/2020 更新时间:10/10/2023 访问量:4297
如何使用模块化标头配置来构建 pod 框架的 pod 依赖项?
How to use modular headers configuration for pod dependency of my pod framework?
问:
我的 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 protected]' }
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
如何设置 ?我试着用喜欢:modular_headers => true
s.dependency 'MobileVLCKit', '~> 3.3.10'
s.dependency 'MobileVLCKit', '~> 3.3.10', :modular_headers => true
以我在 podfile 中执行的相同方式,但它不起作用。
我知道我可以在 中使用,但是由于依赖性,它并没有解决非模块化标头的问题。'DEFINES_MODULE' => 'YES'
pod_target_xcconfig
MobileVLCKit
答: 暂无答案
评论