I'm working on a React Native project, and my iOS build keeps failing with the error:
Error: Cannot find native module 'ExpoSecureStore'
Error: Cannot find native module 'ExpoSecureStore'
This happens when running the app on an iOS simulator. Environment:
- Mac: M1
- Node.js: v22.12.0
- npm: 11.2.0
- React Native: 0.74.5
- Expo: ~51.0.39
- Hermes: Enabled
Steps Taken So Far:
- Ran pod install inside the ios/ directory
- Deleted node_modules, package-lock.json, and ios/Pods, then reinstalled with npm install and pod install
- Verified that expo-secure-store is listed in package.json
- Working on Android emulator
Any help is appreciated! Thanks!