flutter_plugin_demo.podspec 依赖示例
2021-02-03 本文已影响0人
壹点微尘
#
# To learn more about a Podspec see http://guides.cocoapods.org/syntax/podspec.html
#
Pod::Spec.new do |s|
s.name = 'amap_map_fluttify'
s.version = '0.0.1'
s.summary = 'An `Amap` Map Component, Powered By `Fluttify` Compiler, A Dart Bindings Generator For Native SDK.'
s.description = <<-DESC
A new flutter plugin project.
DESC
s.homepage = 'https://github.com/fluttify-project/amap_map_fluttify'
s.license = { :file => '../LICENSE' }
s.author = { 'yohom' => 'yohombao@qq.com' }
s.source = { :path => '.' }
s.source_files = 'Classes/**/*'
s.public_header_files = ['Classes/**/*.h', 'Vendors/*.h'] # 只接收顶层的.h文件, 防止framework下面的.h文件被包含
s.dependency 'Flutter'
s.dependency 'foundation_fluttify'
# flutter plugin dependency
s.dependency 'amap_core_fluttify'
s.dependency 'amap_location_fluttify'
s.dependency 'amap_search_fluttify'
s.dependency 'url_launcher'
# sdk dependency
s.dependency 'AMap3DMap-NO-IDFA', '7.6.0'
s.static_framework = true
s.ios.deployment_target = '8.0'
# include project framework
s.vendored_frameworks = 'Vendors/*.framework'
# include project .a
s.vendored_libraries = 'Vendors/*.a'
# ios system framework
s.frameworks = [
]
# ios system library
s.libraries = [
]
# resources
s.resources = 'Vendors/**/*.bundle'
# s.resource_bundles = {
# 'amap_map_fluttify' => ['Vendors/*.framework/*.bundle']
# }
end