Skip to main content

No podspec found for ReactAppDependencyProvider (Old Architecture Solution)

Image of Madeline Watts
Madeline Watts
Software Engineer
Hello! I'm Madeline, the founder of AppHelion and full time app developer. I have developed and published several apps using a variety of frameworks and I started AppHelion to share what I've learned!

Last updated: May 2025

The Error 🧌​

✖ Installing CocoaPods dependencies with New Architecture (this may take a few minutes)
error link_native_modules! {:ios_packages=>[], :ios_project_root_path=>"/Users/userName/EyeminderReactNative/ios", :react_native_path=>"../node_modules/react-native"}
Framework build type is static library
Configuring the target with the New Architecture
Analyzing dependencies
Fetching podspec for `DoubleConversion` from `../node_modules/react-native/third-party-podspecs/DoubleConversion.podspec`
Fetching podspec for `RCT-Folly` from `../node_modules/react-native/third-party-podspecs/RCT-Folly.podspec`
[!] No podspec found for `ReactAppDependencyProvider` in `build/generated/ios`
error Installing Cocoapods failed. This doesn't affect project initialization and you can safely proceed. However, you will need to install Cocoapods manually when running iOS, follow additional steps in "Run instructions for iOS" section.

Error: Looks like your iOS environment is not properly set. Please go to https://reactnative.dev/docs/environment-setup?os=macos&platform=ios&guide=native and follow the React Native CLI QuickStart guide for macOS and iOS.

This error is encountered after initializing a React Native project using the community CLI, npx @react-native-community/cli@latest init ProjectName,

What does this error mean?​

This error is caused when React Native's new architecture hasn't been fully set up. ReactAppDependencyProvider is generated during this set up process, so this error is thrown when CocoaPods cannot find this file.

How to Resolve this Error?​

In this guide, I'll show you how to solve this error by bypassing the additional set up and instead use the old architecture

tip

If you're interested in resolving this error by using the new architecture, check out this guide.

  1. Open ios/Podfile
  2. Add this line :fabric_enabled => false here:
use_react_native!(
:path => config[:reactNativePath],
# An absolute path to your application root.
:app_path => "#{Pod::Config.instance.installation_root}/..", #Add this comma too!
:fabric_enabled => false #ADD THIS LINE
)
  1. Run the following commands to get your IOS project running:
cd ios
rm -rf Pods Podfile.lock build
pod install
cd ..
npx react-native run-ios
  1. Ensure this worked by running npx react-native run-ios

Following the steps above should resolve the error.