diff --git a/react-native-quick-sqlite.podspec b/react-native-quick-sqlite.podspec index 7774844..f9059c8 100644 --- a/react-native-quick-sqlite.podspec +++ b/react-native-quick-sqlite.podspec @@ -26,9 +26,13 @@ Pod::Spec.new do |s| s.header_mappings_dir = "cpp" s.source_files = "ios/**/*.{h,hpp,m,mm}", "cpp/**/*.{h,cpp,c}" - s.dependency "React-callinvoker" - s.dependency "React" - s.dependency "React-Core" + if defined?(install_modules_dependencies()) + install_modules_dependencies(s) + else + s.dependency "React-callinvoker" + s.dependency "React" + s.dependency "React-Core" + end s.dependency "powersync-sqlite-core", "~> 0.2.1" if ENV['QUICK_SQLITE_USE_PHONE_VERSION'] == '1' then