Pod::Spec.new do |s| s.name = 'yx_asr' s.version = '1.0.0' s.summary = 'A Flutter plugin for speech-to-text (ASR) functionality.' s.description = <<-DESC A Flutter plugin for speech-to-text (ASR) functionality with real-time recognition support. DESC s.homepage = 'https://github.com/yuanxuan/yx_asr' s.license = { :file => '../LICENSE' } s.author = { 'Yuanxuan' => 'contact@yuanxuan.com' } s.source = { :path => '.' } s.source_files = 'Classes/**/*' s.dependency 'Flutter' s.platform = :ios, '13.0' # 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' end