-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathreact-native-fluidaudio.podspec
More file actions
37 lines (28 loc) · 1.09 KB
/
react-native-fluidaudio.podspec
File metadata and controls
37 lines (28 loc) · 1.09 KB
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
32
33
34
35
36
37
require 'json'
package = JSON.parse(File.read(File.join(__dir__, 'package.json')))
Pod::Spec.new do |s|
s.name = "react-native-fluidaudio"
s.version = package['version']
s.summary = package['description']
s.homepage = package['homepage']
s.license = package['license']
s.authors = package['author']
s.platforms = { :ios => "17.0" }
s.source = { :git => package['repository']['url'], :tag => "#{s.version}" }
s.swift_version = "5.10"
# React Native dependencies
s.dependency "React-Core"
# FluidAudio dependency (fetched from GitHub)
s.dependency "FluidAudio", "~> 0.7"
s.ios.frameworks = "CoreML", "AVFoundation", "Accelerate", "UIKit"
# Source files - Legacy Bridge architecture only
s.source_files = "ios/**/*.{h,m,mm,swift}"
s.pod_target_xcconfig = {
'DEFINES_MODULE' => 'YES',
'SWIFT_COMPILATION_MODE' => 'wholemodule',
'CLANG_CXX_LANGUAGE_STANDARD' => 'c++17',
'ARCHS[sdk=iphonesimulator*]' => 'arm64',
'EXCLUDED_ARCHS[sdk=iphonesimulator*]' => 'i386 x86_64',
'ARCHS[sdk=iphoneos*]' => 'arm64'
}
end