umeng_common.podspec 1.5 KB

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