Blame view

packages/chivox_aiengine/ios/chivox_aiengine.podspec 1.13 KB
0fa4e405   吴启风   feat: 将语音评测从先声迁移至驰声
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
  #
  # 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