https://github.com/fb/react-native/points/36611
I attempted every part right here, nevertheless it did not work for me.
Individuals have skilled points whereas upgrading React Native to a more recent model, however I have not accomplished an improve. The issue happens after model 0.71, however I do not know what to do I solely upgraded to Xcode 16
Podfile
# Resolve react_native_pods.rb with node to permit 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, min_ios_version_supported
# Put together React Native mission
prepare_react_native_project!
# Framework linkage configuration
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
# Essential goal configuration
goal 'yourappname' do
config = use_native_modules!
# Use frameworks with static linkage
use_frameworks! :linkage => :static
$RNFirebaseAsStaticFramework = true
# Use React Native settings
use_react_native!(
:path => config[:reactNativePath],
# Specify absolutely the path to the appliance root
:app_path => "#{Pod::Config.occasion.installation_root}/.."
)
# Exams goal configuration
goal 'yourappnameTests' do
inherit! :full
# Pods for testing
finish
finish
# Publish-installation configurations
post_install do |installer|
installer.pods_project.targets.every do |goal|
goal.build_configurations.every do |config|
# Exclude arm64 structure for iPhone Simulator
config.build_settings['EXCLUDED_ARCHS[sdk=iphonesimulator*]'] = 'arm64'
finish
finish
finish
npx react-native-info
information Fetching system and libraries info...
System:
OS: macOS 14.5
CPU: (12) arm64 Apple M2 Professional
Reminiscence: 61.25 MB / 16.00 GB
Shell:
model: "5.9"
path: /bin/zsh
Binaries:
Node:
model: 18.20.4
path: ~/.nvm/variations/node/v18.20.4/bin/node
Yarn: Not Discovered
npm:
model: 10.9.1
path: ~/node_modules/.bin/npm
Watchman: Not Discovered
Managers:
CocoaPods:
model: 1.16.2
path: /choose/homebrew/bin/pod
SDKs:
iOS SDK:
Platforms:
- DriverKit 24.1
- iOS 18.1
- macOS 15.1
- tvOS 18.1
- visionOS 2.1
- watchOS 11.1
Android SDK: Not Discovered
IDEs:
Android Studio: 2022.3 AI-223.8836.35.2231.10811636
Xcode:
model: 16.1/16B40
path: /usr/bin/xcodebuild
Languages:
Java:
model: 17.0.10
path: /Library/Java/JavaVirtualMachines/jdk-17.jdk/Contents/Residence/bin/javac
Ruby:
model: 2.6.10
path: /usr/bin/ruby
npmPackages:
"@react-native-community/cli":
put in: 15.0.1
wished: 15.0.1
react:
put in: 18.3.1
wished: 18.3.1
react-native:
put in: 0.76.3
wished: 0.76.3
react-native-macos: Not Discovered
npmGlobalPackages:
"*react-native*": Not Discovered
Android:
hermesEnabled: true
newArchEnabled: true
iOS:
hermesEnabled: true
newArchEnabled: true
bundle.json
"dependencies": {
"@react-native-async-storage/async-storage": "^2.1.0",
"@react-native-firebase/app": "^19.0.0",
"@react-native-firebase/auth": "^19.0.0",
"@react-native-firebase/firestore": "^19.0.0",
"@react-navigation/bottom-tabs": "^7.0.12",
"@react-navigation/native": "^7.0.7",
"@react-navigation/native-stack": "^7.1.8",
"axios": "^1.7.8",
"second": "^2.30.1",
"react": "18.3.1",
"react-native": "0.76.3",
"react-native-calendars": "^1.1286.0",
"react-native-gesture-handler": "^2.21.2",
"react-native-get-random-values": "^1.11.0",
"react-native-linear-gradient": "^2.8.3",
"react-native-pdf": "^6.7.5",
"react-native-reanimated": "^3.16.3",
"react-native-safe-area-context": "^4.14.0",
"react-native-screens": "^4.3.0",
"react-native-svg": "^15.9.0",
"react-native-uuid": "^2.0.3",
"react-native-vector-icons": "^10.2.0",
"react-native-video": "^6.8.2",
"react-native-webview": "^13.12.4"
},
"devDependencies": {
"@babel/core": "^7.25.2",
"@babel/preset-env": "^7.25.3",
"@babel/runtime": "^7.25.0",
"@react-native-community/cli": "15.0.1",
"@react-native-community/cli-platform-android": "15.0.1",
"@react-native-community/cli-platform-ios": "15.0.1",
"@react-native/babel-preset": "0.76.3",
"@react-native/eslint-config": "0.76.3",
"@react-native/metro-config": "0.76.3",
"@react-native/typescript-config": "0.76.3",
"@sorts/react": "^18.2.6",
"@sorts/react-test-renderer": "^18.0.0",
"babel-jest": "^29.6.3",
"eslint": "^8.19.0",
"jest": "^29.6.3",
"prettier": "2.8.8",
"react-test-renderer": "18.3.1",
"typescript": "5.0.4"
},