gravity_engine.podspec 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. #
  2. # To learn more about a Podspec see http://guides.cocoapods.org/syntax/podspec.html.
  3. # Run `pod lib lint gravity_engine.podspec` to validate before publishing.
  4. #
  5. Pod::Spec.new do |s|
  6. s.name = 'gravity_engine'
  7. s.version = '0.0.1'
  8. s.summary = '引力引擎SDK插件'
  9. s.description = <<-DESC
  10. 引力引擎SDK插件
  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.platform = :ios, '12.0'
  19. # 引入 GravityEngineSDK.framework指定其相对路径
  20. s.vendored_frameworks = 'GravityEngineSDK.framework'
  21. # 添加系统库依赖
  22. s.frameworks = ['Security', 'SystemConfiguration', 'AppTrackingTransparency', 'AdSupport','AdServices']
  23. # 对应 libz.tbd 和 libsqlite3.tbd
  24. s.libraries = ['z', 'sqlite3']
  25. s.xcconfig = {
  26. 'OTHER_LDFLAGS' => '-ObjC'
  27. }
  28. # Flutter.framework does not contain a i386 slice.
  29. s.pod_target_xcconfig = { 'DEFINES_MODULE' => 'YES', 'EXCLUDED_ARCHS[sdk=iphonesimulator*]' => 'i386' }
  30. s.swift_version = '5.0'
  31. # If your plugin requires a privacy manifest, for example if it uses any
  32. # required reason APIs, update the PrivacyInfo.xcprivacy file to describe your
  33. # plugin's privacy impact, and then uncomment this line. For more information,
  34. # see https://developer.apple.com/documentation/bundleresources/privacy_manifest_files
  35. # s.resource_bundles = {'gravity_engine_privacy' => ['Resources/PrivacyInfo.xcprivacy']}
  36. end