| 12345678910111213141516171819202122232425262728293031323334 |
- # map_amap_ios.podspec
- Pod::Spec.new do |s|
- s.name = 'map_amap_ios'
- s.version = '0.0.1'
- s.summary = 'A new Flutter plugin project.'
- s.description = <<-DESC
- A new Flutter plugin 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.dependency 'Flutter'
- s.dependency 'AMap3DMap'#, '~> 10.1.200' # 3D地图SDK
- s.static_framework = true # 官方推荐方式[4](@ref)
- s.platform = :ios, '12.0'
- # Flutter.framework does not contain a i386 slice.
- s.pod_target_xcconfig = { 'DEFINES_MODULE' => 'YES', 'EXCLUDED_ARCHS[sdk=iphonesimulator*]' => 'i386' }
- s.swift_version = '5.0'
-
- s.resource_bundles = {
- 'map_amap_ios_image_source' => ['MapAmapImageSource/**/*']
- }
- # If your plugin requires a privacy manifest, for example if it uses any
- # required reason APIs, update the PrivacyInfo.xcprivacy file to describe your
- # plugin's privacy impact, and then uncomment this line. For more information,
- # see https://developer.apple.com/documentation/bundleresources/privacy_manifest_files
- # s.resource_bundles = {'map_amap_ios_privacy' => ['Resources/PrivacyInfo.xcprivacy']}
- end
|