Skip to content

Build failing for ios xcode react native #9052

Closed as duplicate
Closed as duplicate

Description

@YMCPlusPlus

I update my xcode to 26.5 and react-native to 0.84.0 but I am getting build errors

Here is my package.json file
{
"name": "com.invertase.testing",
"version": "0.0.1",
"private": true,
"scripts": {
"android": "react-native run-android",
"ios": "react-native run-ios",
"lint": "eslint .",
"start": "react-native start",
"test": "jest"
},
"dependencies": {
"@here/flexpolyline": "^0.1.0",
"@hookform/resolvers": "^5.2.2",
"@invertase/react-native-apple-authentication": "^2.5.1",
"@react-native-async-storage/async-storage": "^2.2.0",
"@react-native-camera-roll/camera-roll": "^7.10.2",
"@react-native-community/datetimepicker": "^8.6.0",
"@react-native-community/geolocation": "^3.4.0",
"@react-native-firebase/analytics": "24.1.1",
"@react-native-firebase/app": "24.1.1",
"@react-native-firebase/app-check": "24.1.1",
"@react-native-firebase/auth": "24.1.1",
"@react-native-firebase/crashlytics": "24.1.1",
"@react-native-firebase/perf": "24.1.1",
"@react-native-google-signin/google-signin": "^16.0.0",
"@react-native-ml-kit/text-recognition": "^2.0.0",
"@react-native-vector-icons/material-icons": "^12.4.0",
"@react-navigation/drawer": "^7.7.4",
"@react-navigation/native": "^7.1.22",
"@react-navigation/stack": "^7.6.7",
"@reduxjs/toolkit": "^2.10.1",
"@rnmapbox/maps": "^10.3.0",
"axios": "^1.13.2",
"prop-types": "^15.8.1",
"react": "19.1.1",
"react-hook-form": "^7.66.1",
"react-native": "0.84.0",
"react-native-actions-sheet": "^10.0.0-alpha.6",
"react-native-bootsplash": "^6.3.11",
"react-native-device-country": "^2.0.1",
"react-native-device-info": "^15.0.1",
"react-native-dotenv": "^3.4.11",
"react-native-flash-message": "^0.4.2",
"react-native-geolocation-service": "^5.3.1",
"react-native-gesture-handler": "^2.29.1",
"react-native-get-location": "^6.0.1",
"react-native-get-random-values": "^2.0.0",
"react-native-html-to-pdf": "^1.3.0",
"react-native-image-picker": "^8.2.1",
"react-native-linear-gradient": "^2.8.3",
"react-native-map-link": "^3.11.0",
"react-native-maps": "^1.26.20",
"react-native-orientation-locker": "^1.7.0",
"react-native-photo-manipulator": "^1.9.2",
"react-native-print": "^0.11.0",
"react-native-purchases": "^9.6.12",
"react-native-purchases-ui": "^9.6.12",
"react-native-reanimated": "4.4.1",
"react-native-safe-area-context": "^5.5.2",
"react-native-screens": "^4.18.0",
"react-native-size-matters": "^0.4.2",
"react-native-vector-icons": "^10.3.0",
"react-native-vision-camera": "^4.7.3",
"react-native-webview": "^13.16.0",
"react-native-worklets": "0.9.2",
"react-redux": "^9.2.0",
"redux": "^5.0.1",
"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",
"@types/jest": "^29.5.13",
"@types/mapbox__polyline": "^1",
"@types/react": "^19.1.1",
"@types/react-native-vector-icons": "^6.4.18",
"@types/react-test-renderer": "^19.1.0",
"eslint": "^8.19.0",
"jest": "^29.6.3",
"patch-package": "^8.0.1",
"prettier": "2.8.8",
"react-test-renderer": "19.1.1",
"typescript": "^5.8.3"
},
"engines": {
"node": ">=20"
}
}

Here is my podfile

`# Resolve react_native_pods.rb with node to allow for hoisting
require Pod::Executable.execute_command('node', ['-p',
'require.resolve(
"react-native/scripts/react_native_pods.rb",
{paths: [process.argv[1]]},
)', dir]).strip

platform :ios, '16.0'
prepare_react_native_project!

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

#$FirebaseSDKVersion = '12.6.0'

target 'delivo' do
config = use_native_modules!
use_frameworks! :linkage => :static
$RNFirebaseAsStaticFramework = true

use_react_native!(
:path => config[:reactNativePath],
# An absolute path to your application root.
:app_path => "#{Pod::Config.instance.installation_root}/.."
)
pre_install do |installer|
$RNMapboxMaps.pre_install(installer)
end

post_install do |installer|
installer.pods_project.targets.each do |target|
target.build_configurations.each do |config|
config.build_settings["GCC_WARN_INHIBIT_ALL_WARNINGS"] = "YES"
end
end
$RNMapboxMaps.post_install(installer)

react_native_post_install(
  installer,
  config[:reactNativePath],
  :mac_catalyst_enabled => false,
  :ccache_enabled => true
)

end
end`

Here is the error I am getting

Image

Activity

  1. mikehardy commented on Jun 14, 2026

    @mikehardy
    Collaborator

    Thanks for the report. This matches a known React Native 0.84 iOS compatibility issue (#8883), not a Crashlytics-specific bug in 24.1.1.

    RN 0.84 enables precompiled RNCore by default, which breaks RNFB's legacy <React/...> header imports under static frameworks. Your Podfile already has $RNFirebaseAsStaticFramework = true, but you also need one of:

    1. Add ENV['RCT_USE_PREBUILT_RNCORE'] = '0' at the top of your Podfile, then pod install --clean, or
    2. Add the RNFB pre_install hook from #8883.

    We're tracking a proper library-side fix in #8883 / PR #9024. Closing as duplicate — please follow #8883 for updates.

  2. YMCPlusPlus commented on Jun 14, 2026

    @YMCPlusPlus
    Author

    Thanks, it solved the problem

  3. InvertaseBot commented on Jun 14, 2026

    @InvertaseBot
    Collaborator

    In order to prioritize work in this repository, closed issues and pull requests do not regularly receive attention.

    If the underlying issue or pull request still requires attention, opening a new issue with a reproduction
    after testing with current versions, or reposting the pull request as a new PR may be the most effective way forward.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions