2023-12-22 21:23:24 +08:00
|
|
|
#
|
|
|
|
# To learn more about a Podspec see http://guides.cocoapods.org/syntax/podspec.html.
|
|
|
|
# Run `pod lib lint amap_map.podspec' to validate before publishing.
|
|
|
|
#
|
|
|
|
Pod::Spec.new do |s|
|
|
|
|
s.name = 'amap_map'
|
2024-01-03 18:52:32 +08:00
|
|
|
s.version = '1.0.3'
|
2023-12-22 21:23:24 +08:00
|
|
|
s.summary = 'A new Flutter plugin.'
|
|
|
|
s.description = <<-DESC
|
2024-01-03 18:52:32 +08:00
|
|
|
A new Flutter plugin for AMap.
|
2023-12-22 21:23:24 +08:00
|
|
|
DESC
|
2023-12-23 10:41:20 +08:00
|
|
|
s.homepage = 'https://github.com/kuloud/amap_map'
|
2024-01-03 18:52:32 +08:00
|
|
|
s.license = { :type => 'Apache License, Version 2.0', :file => '../LICENSE' }
|
2023-12-23 10:41:20 +08:00
|
|
|
s.author = { 'kuloud' => 'kuloud@outlook.com' }
|
2024-01-03 18:52:32 +08:00
|
|
|
s.source = { :git => 'https://github.com/kuloud/amap_map.git', :tag => 'v1.0.3' }
|
2023-12-22 21:23:24 +08:00
|
|
|
s.source_files = 'Classes/**/*'
|
|
|
|
s.public_header_files = 'Classes/**/*.h'
|
|
|
|
s.dependency 'Flutter'
|
|
|
|
s.dependency 'AMap3DMap'
|
|
|
|
s.static_framework = true
|
2024-01-03 18:52:32 +08:00
|
|
|
s.platform = :ios, '12.0'
|
2023-12-22 21:23:24 +08:00
|
|
|
|
|
|
|
s.static_framework = true
|
|
|
|
# Flutter.framework does not contain a i386 slice.
|
|
|
|
s.pod_target_xcconfig = { 'DEFINES_MODULE' => 'YES', 'EXCLUDED_ARCHS[sdk=iphonesimulator*]' => 'i386' }
|
|
|
|
end
|