# # To learn more about a Podspec see http://guides.cocoapods.org/syntax/podspec.html. # Run `pod lib lint gravity_engine.podspec` to validate before publishing. # Pod::Spec.new do |s| s.name = 'gravity_engine' s.version = '0.0.1' s.summary = '引力引擎SDK插件' s.description = <<-DESC 引力引擎SDK插件 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.platform = :ios, '12.0' # 引入 GravityEngineSDK.framework指定其相对路径 s.vendored_frameworks = 'GravityEngineSDK.framework' # 添加系统库依赖 s.frameworks = ['Security', 'SystemConfiguration', 'AppTrackingTransparency', 'AdSupport','AdServices'] # 对应 libz.tbd 和 libsqlite3.tbd s.libraries = ['z', 'sqlite3'] s.xcconfig = { 'OTHER_LDFLAGS' => '-ObjC' } # 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' # 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 = {'gravity_engine_privacy' => ['Resources/PrivacyInfo.xcprivacy']} end