Мой подспе c выглядит так:
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
Как я могу установить :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
.