chivox_aiengine.podspec 1.13 KB
#
# To learn more about a Podspec see http://guides.cocoapods.org/syntax/podspec.html.
# Run `pod lib lint chivox_aiengine.podspec` to validate before publishing.
#
Pod::Spec.new do |s|
  s.name             = 'chivox_aiengine'
  s.version          = '1.0.0'
  s.summary          = 'Chivox AIEngine Flutter SDK.'
  s.description      = <<-DESC
A new Flutter plugin project.
                       DESC
  s.homepage         = 'https://www.chivox.com/'
  s.license          = { :file => '../LICENSE' }
  s.author           = { 'Your Company' => 'email@example.com' }
  s.source           = { :path => '.' }
  s.source_files = 'Classes/**/*.{h,m}'
  s.public_header_files = 'Classes/**/*.h'
  s.vendored_libraries  = 'Classes/Lib/*.{a}'
  s.static_framework = true
  s.libraries = 'c++', 'z', 'sqlite3'
  s.frameworks = 'SystemConfiguration'
  s.dependency 'Flutter'
  s.platform = :ios, '11.0'

  # Flutter.framework does not contain a i386 slice.
  # 官方静态库的 arm64 slice 是设备架构;模拟器使用 x86_64 slice。
  s.pod_target_xcconfig = {
    'DEFINES_MODULE' => 'YES',
    'EXCLUDED_ARCHS[sdk=iphonesimulator*]' => 'arm64 i386'
  }
end