Description
I'm trying to upgrade the react native version to 0.76.3, but an error occurs in iOS and the build fails. What's the problem?
Steps to reproduce
- pod install
- bundle install && RCT_NEW_ARCH_ENABLED=1 bundle exec pod install
- Xcode ios build
React Native Version
0.76.3
Affected Platforms
Build - MacOS
Areas
Other (please specify)
Output of npx react-native info
System:
OS: macOS 14.6.1
CPU: (12) arm64 Apple M3 Pro
Memory: 114.44 MB / 36.00 GB
Shell:
version: "5.9"
path: /bin/zsh
Binaries:
Node:
version: 18.19.1
path: ~/.nvm/versions/node/v18.19.1/bin/node
Yarn:
version: 4.2.2
path: ~/.nvm/versions/node/v18.19.1/bin/yarn
npm:
version: 10.2.4
path: ~/.nvm/versions/node/v18.19.1/bin/npm
Watchman:
version: 2024.11.25.00
path: /opt/homebrew/bin/watchman
Managers:
CocoaPods:
version: 1.13.0
path: /Users/benji/.rbenv/shims/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 Found
IDEs:
Android Studio: 2024.1 AI-241.18034.62.2412.12266719
Xcode:
version: 16.1/16B40
path: /usr/bin/xcodebuild
Languages:
Java: Not Found
Ruby:
version: 2.7.4
path: /Users/benji/.rbenv/shims/ruby
npmPackages:
"@react-native-community/cli":
installed: 15.0.1
wanted: 15.0.1
react:
installed: 18.3.1
wanted: 18.3.1
react-native:
installed: 0.76.3
wanted: 0.76.3
react-native-macos: Not Found
npmGlobalPackages:
"*react-native*": Not Found
Android:
hermesEnabled: true
newArchEnabled: true
iOS:
hermesEnabled: true
newArchEnabled: true
Stacktrace or Logs
Missing '#include "ReactCommon/SchedulerPriority.h"'; 'SchedulerPriority' must be declared before it is used
Reproducer
private repository
Screenshots and Videos

Description
I'm trying to upgrade the react native version to 0.76.3, but an error occurs in iOS and the build fails. What's the problem?
Steps to reproduce
React Native Version
0.76.3
Affected Platforms
Build - MacOS
Areas
Other (please specify)
Output of
npx react-native infoStacktrace or Logs
Reproducer
private repository
Screenshots and Videos