HomeiOS Developmentios - Error: Native module RNFBAppModule not discovered. Re-check module set up,...

ios – Error: Native module RNFBAppModule not discovered. Re-check module set up, linking, configuration, construct and set up steps


I’m working challenge. The challenge is in react-native not in expo. I get this error
Error: Native module RNFBAppModule not discovered. Re-check module set up, linking, configuration, construct and set up steps.

require Pod::Executable.execute_command('node', ['-p',
  'require.resolve(
    "react-native/scripts/react_native_pods.rb",
    {paths: [process.argv[1]]},
  )', __dir__]).strip

platform :ios, '15.1'
prepare_react_native_project!
use_frameworks! :linkage => :static

linkage = ENV['USE_FRAMEWORKS']
if linkage != nil
  Pod::UI.places "Configuring Pod with #{linkage}ally linked Frameworks".inexperienced
  use_frameworks! :linkage => linkage.to_sym
finish

goal 'delivo' do
  config = use_native_modules!
  pod 'RNFBApp', :path => '../node_modules/@react-native-firebase/app'

  use_react_native!(
    :path => config[:reactNativePath],
    # An absolute path to your utility root.
    :app_path => "#{Pod::Config.occasion.installation_root}/.."
  )

  post_install do |installer|
    react_native_post_install(
      installer,
      config[:reactNativePath],
      :mac_catalyst_enabled => false,
      # :ccache_enabled => true
    )
  finish
finish

Right here is my package deal.json

{
  "title": "delivo",
  "model": "0.0.1",
  "personal": true,
  "scripts": {
    "android": "react-native run-android",
    "ios": "react-native run-ios",
    "lint": "eslint .",
    "begin": "react-native begin",
    "take a look at": "jest"
  },
  "dependencies": {
    "@hookform/resolvers": "^5.2.2",
    "@react-native-async-storage/async-storage": "^2.2.0",
    "@react-native-firebase/analytics": "^23.5.0",
    "@react-native-firebase/app": "^23.5.0",
    "@react-native-firebase/auth": "^23.5.0",
    "@react-native-google-signin/google-signin": "^16.0.0",
    "@react-native/new-app-screen": "0.82.1",
    "@react-navigation/drawer": "^7.7.4",
    "@react-navigation/native": "^7.1.21",
    "@react-navigation/stack": "^7.6.7",
    "@reduxjs/toolkit": "^2.10.1",
    "firebase": "^12.6.0",
    "i18next": "^25.6.3",
    "react": "19.1.1",
    "react-hook-form": "^7.66.1",
    "react-i18next": "^16.3.5",
    "react-native": "0.82.1",
    "react-native-actions-sheet": "^10.0.0-alpha.6",
    "react-native-config": "^1.6.0",
    "react-native-dotenv": "^3.4.11",
    "react-native-flash-message": "^0.4.2",
    "react-native-gesture-handler": "^2.29.1",
    "react-native-reanimated": "^4.1.5",
    "react-native-safe-area-context": "^5.5.2",
    "react-native-size-matters": "^0.4.2",
    "react-native-vector-icons": "^10.3.0",
    "react-native-worklets": "^0.6.1",
    "react-redux": "^9.2.0",
    "redux-persist": "^6.0.0",
    "yup": "^1.7.1"
  },
  "devDependencies": {
    "@babel/core": "^7.25.2",
    "@babel/preset-env": "^7.25.3",
    "@babel/runtime": "^7.25.0",
    "@react-native-community/cli": "20.0.0",
    "@react-native-community/cli-platform-android": "20.0.0",
    "@react-native-community/cli-platform-ios": "20.0.0",
    "@react-native/babel-preset": "0.82.1",
    "@react-native/eslint-config": "0.82.1",
    "@react-native/metro-config": "0.82.1",
    "@react-native/typescript-config": "0.82.1",
    "@sorts/jest": "^29.5.13",
    "@sorts/node": "^24.10.1",
    "@sorts/react": "^19.1.1",
    "@sorts/react-native-vector-icons": "^6.4.18",
    "@sorts/react-test-renderer": "^19.1.0",
    "eslint": "^8.19.0",
    "jest": "^29.6.3",
    "prettier": "2.8.8",
    "react-test-renderer": "19.1.1",
    "typescript": "^5.8.3"
  },
  "engines": {
    "node": ">=20"
  }
}

I need to run on ios simulator. I’ve ios 26.1 and iphone 17 simulator. I attempted all of the attainable methods and now I’m crying. Please assist. Caught from final 4 days.

RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

- Advertisment -
Google search engine

Most Popular

Recent Comments