diff --git a/RNSound.podspec b/RNSound.podspec index 1432387c..d45d5f89 100644 --- a/RNSound.podspec +++ b/RNSound.podspec @@ -17,6 +17,8 @@ Pod::Spec.new do |s| s.source = { :git => "https://github.com/zmxv/react-native-sound.git" } s.source_files = "ios/**/*.{h,m,mm,cpp}" + s.frameworks = "AVFoundation" + # Use install_modules_dependencies helper to install the dependencies if React Native version >=0.71.0. # See https://github.com/facebook/react-native/blob/febf6b7f33fdb4904669f99d795eba4c0f95d7bf/scripts/cocoapods/new_architecture.rb#L79. if respond_to?(:install_modules_dependencies, true)