最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

React Native iOS Build Fails: "Cannot find native module 'ExpoSecureStore'" (Hermes, M1 Mac) -

programmeradmin3浏览0评论

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!

与本文相关的文章

发布评论

评论列表(0)

  1. 暂无评论