我创建了一个带有“FacebookShare”依赖项的flutter插件。我的吊舱规格如下,
Pod::Spec.new do |s|
s.name = '{plugin name}'
s.version = '0.0.2'
s.summary = 'A new Flutter plugin for share image and text in social media'
s.description = <<-DESC A new Flutter plugin for share image and text in social media
DESC
s.homepage = 'https://github.com/jayarajm/flutter_share_social_media.git'
s.license = { :file => '../LICENSE' }
s.author = { '...' => '...' }
s.source = { :path => '.' }
s.source_files = 'Classes/**/*'
s.public_header_files = 'Classes/**/*.h'
s.dependency 'Flutter'
s.dependency 'FacebookShare'
s.ios.deployment_target = '8.0'
s.static_framework = …Run Code Online (Sandbox Code Playgroud)