You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Native module is not found while using expo run:ios, but it works if using Xcode build.
# example error:
No native ExponentConstants module found, are you sure the expo-constants's module is linked properly
Issue 2
I followed all the steps listed in the official doc .
But it doesn't work
* Metro (the local dev server) is run from the wrong folder. Check if Metro is running, stop it and restart it in the current project.
* A module failed to load due to an error and `AppRegistry.registerComponent` wasn't called., js engine: hermes
Summary
Issue 1
Native module is not found while using
expo run:ios
, but it works if using Xcode build.Issue 2
I followed all the steps listed in the official doc .
But it doesn't work
What platform(s) does this occur on?
iOS
SDK Version
50.0.17
Environment
expo-env-info 1.2.0 environment info:
System:
OS: macOS 14.4
Shell: 5.9 - /bin/zsh
Binaries:
Node: 20.12.2 - ~/.nvm/versions/node/v20.12.2/bin/node
Yarn: 1.22.22 - ~/.nvm/versions/node/v20.12.2/bin/yarn
npm: 10.5.0 - ~/.nvm/versions/node/v20.12.2/bin/npm
Watchman: 2024.04.22.00 - /opt/homebrew/bin/watchman
Managers:
CocoaPods: 1.14.3 - /Users/iancosnaye/.rbenv/shims/pod
SDKs:
iOS SDK:
Platforms: DriverKit 22.4, iOS 16.4, macOS 13.3, tvOS 16.4, watchOS 9.4
IDEs:
Android Studio: 2023.1 AI-231.9392.1.2311.11330709
Xcode: 14.3/14E222b - /usr/bin/xcodebuild
npmPackages:
expo: ^50.0.0 => 50.0.17
expo-router: ~3.4.10 => 3.4.10
react: 18.2.0 => 18.2.0
react-native: 0.73.8 => 0.73.8
npmGlobalPackages:
eas-cli: 7.8.5
Expo Workflow: bare
Minimal reproducible example
https://github.com/CoSNaYe/expo-bare-flow
1st commit:
init the project with
npx [email protected] init wuapp --version 0.73.8
2nd commit: c237978148
runs
npx [email protected]
this shows the issue 1: native module not found while using
expo run:ios
3rd commit: 05900a609607
this shows the issue 2: expo-router v3 doesn't work
The text was updated successfully, but these errors were encountered: