Open
Description
Environment
react-native -v: 10.9.2
npm ls react-native-macos: react-native-macos@0.76.7
node -v: v23.10.0
npm -v: 10.9.2
yarn --version: -bash: yarn: command not found
xcodebuild -version: Xcode 16.2 \ Build version 16C5032a
Steps to reproduce the bug
- Follow the steps here to create a new project with a Turbo Native Module: https://reactnative.dev/docs/turbo-native-modules-introduction (but add an "npx react-native-macos-init" step and use the macOS project for the iOS steps)
- Start Metro ("npm start")
- Build the project in Xcode
Expected Behavior
App should load successfully
Actual Behavior
Metro gives an error: TurboModuleRegistry.getEnforcing(...): 'NativeLocalStorage' could not be found. Verify that a module by this name is registered in the native binary.
Reproducible Demo
No response
Additional context
No response