map_amap_ios.podspec 1.3 KB

12345678910111213141516171819202122232425262728293031323334
  1. # map_amap_ios.podspec
  2. Pod::Spec.new do |s|
  3. s.name = 'map_amap_ios'
  4. s.version = '0.0.1'
  5. s.summary = 'A new Flutter plugin project.'
  6. s.description = <<-DESC
  7. A new Flutter plugin project.
  8. DESC
  9. s.homepage = 'http://example.com'
  10. s.license = { :file => '../LICENSE' }
  11. s.author = { 'Your Company' => 'email@example.com' }
  12. s.source = { :path => '.' }
  13. s.source_files = 'Classes/**/*'
  14. s.dependency 'Flutter'
  15. s.dependency 'AMap3DMap'#, '~> 10.1.200' # 3D地图SDK
  16. s.static_framework = true # 官方推荐方式[4](@ref)
  17. s.platform = :ios, '12.0'
  18. # Flutter.framework does not contain a i386 slice.
  19. s.pod_target_xcconfig = { 'DEFINES_MODULE' => 'YES', 'EXCLUDED_ARCHS[sdk=iphonesimulator*]' => 'i386' }
  20. s.swift_version = '5.0'
  21. s.resource_bundles = {
  22. 'map_amap_ios_image_source' => ['MapAmapImageSource/**/*']
  23. }
  24. # If your plugin requires a privacy manifest, for example if it uses any
  25. # required reason APIs, update the PrivacyInfo.xcprivacy file to describe your
  26. # plugin's privacy impact, and then uncomment this line. For more information,
  27. # see https://developer.apple.com/documentation/bundleresources/privacy_manifest_files
  28. # s.resource_bundles = {'map_amap_ios_privacy' => ['Resources/PrivacyInfo.xcprivacy']}
  29. end