map_amap_ios.podspec 1.4 KB

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