aliyun_face_plugin.podspec 1.5 KB
Newer Older
shixiaochen's avatar
shixiaochen committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
#
# To learn more about a Podspec see http://guides.cocoapods.org/syntax/podspec.html.
# Run `pod lib lint aliyun_face_plugin.podspec` to validate before publishing.
#
Pod::Spec.new do |s|
  s.name             = 'aliyun_face_plugin'
  s.version          = '2.2.2'
  s.summary          = 'A new Flutter plugin project.'
  s.description      = <<-DESC
A new Flutter plugin project.
                       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.public_header_files = 'Classes/**/*.h'
  s.dependency 'Flutter'
  s.platform = :ios, '9.0'
20
  # s.swift_version = '4.0'
shixiaochen's avatar
shixiaochen committed
21 22

  # Flutter.framework does not contain a i386 slice.
23 24 25
  s.pod_target_xcconfig = {
        'DEFINES_MODULE' => 'YES',
        'EXCLUDED_ARCHS[sdk=iphonesimulator*]' => 'i386',
26
        'OTHER_LDFLAGS' => '-ObjC',
27
        }
shixiaochen's avatar
shixiaochen committed
28 29 30 31 32 33 34 35 36 37 38 39 40

  # 实人认证SDK framework库
  s.vendored_frameworks = 'Products/*.framework'

  # 系统framework库
  s.frameworks = 'ReplayKit', 'CoreGraphics', 'Accelerate', 'SystemConfiguration', 'AssetsLibrary',
                'CoreTelephony', 'QuartzCore', 'CoreFoundation', 'CoreLocation',
                'ImageIO', 'CoreMedia', 'CoreMotion', 'AVFoundation', 'WebKit',
                'AudioToolbox', 'CFNetwork', 'MobileCoreServices', 'AdSupport'
  # 系统C库              
  s.libraries = 'resolv', 'z', 'c++', 'c++.1', 'c++abi', 'z.1.2.8'

end