- SDK Version: 44
- Platforms: IOS
I am trying to use a plugin that requires WebRtc, this requires me to eject from managed workflow, but I keep getting “no such module ‘ExpoModulesCore’” every time I run the ‘expo run:ios’ command.
Here’s the full output from my Terminal:
✔ Created native project
⚠️ Skipped Metro config updates:
› Existing Metro config found; not overwriting.
› You will need to extend the default @expo/metro-config in your Metro config.
Learn more: https://docs.expo.dev/guides/customizing-metro
✔ Updated package.json and added index.js entry point for iOS and Android
› Removed "main": "node_modules/expo/AppEntry.js" from package.json because we recommend using index.js as main instead
🧶 Using Yarn to install packages. Pass --npm to use npm instead.
✔ Installed JavaScript dependencies 10144ms
✔ Config synced
✔ Installed pods and initialized Xcode workspace.
› Planning build
Capabilities for Signing & Capabilities may not function correctly because its entitlements use a placeholder team ID. To resolve this, select a development team in the MyProject editor. (in target 'MyProject' from project 'MyProject')
› Executing MyProject » [CP] Check Pods Manifest.lock
› Executing MyProject » Start Packager on http://localhost:8081
› Compiling MyProject » noop-file.swift
❌ (/Users/user/Documents/Frontend Projects/my-project/ios/Pods/Target Support Files/Pods-MyProject/ExpoModulesProvider.swift:8:8)
6 | */
7 |
> 8 | import ExpoModulesCore
| ^ no such module 'ExpoModulesCore'
9 | import ExpoLinearGradient
10 | import EXUpdates
11 |
› Compiling MyProject » ExpoModulesProvider.swift
❌ (/Users/user/Documents/Frontend Projects/my-project/ios/Pods/Target Support Files/Pods-MyProject/ExpoModulesProvider.swift:8:8)
6 | */
7 |
> 8 | import ExpoModulesCore
| ^ no such module 'ExpoModulesCore'
9 | import ExpoLinearGradient
10 | import EXUpdates
11 |
❌ (/Users/user/Documents/Frontend Projects/my-project/ios/Pods/Target Support Files/Pods-MyProject/ExpoModulesProvider.swift:8:8)
6 | */
7 |
> 8 | import ExpoModulesCore
| ^ no such module 'ExpoModulesCore'
9 | import ExpoLinearGradient
10 | import EXUpdates
11 |
❌ error: emit-module command failed with exit code 1 (use -v to see invocation)
› 4 error(s), and 1 warning(s)
Failed to build iOS project. "xcodebuild" exited with error code 65.
Package.json:
{
"name": "my-project",
"version": "1.0.0",
"scripts": {
"start": "expo start --dev-client",
"android": "expo run:android",
"ios": "expo run:ios",
"web": "expo start --web",
"eject": "expo eject"
},
"dependencies": {
"@eva-design/eva": "^2.1.1",
"@expo/vector-icons": "^12.0.5",
"@native-html/iframe-plugin": "^2.6.1",
"@react-native-async-storage/async-storage": "^1.15.17",
"@react-native-community/async-storage": "^1.12.1",
"@react-native-community/checkbox": "^0.5.9",
"@react-native-community/clipboard": "^1.5.1",
"@react-native-community/masked-view": "^0.1.11",
"@react-navigation/bottom-tabs": "^6.1.0",
"@react-navigation/drawer": "^6.2.0",
"@react-navigation/native": "^6.0.6",
"@react-navigation/stack": "^6.0.11",
"@twotalltotems/react-native-otp-input": "1.3.7",
"@ui-kitten/components": "^5.1.1",
"@ui-kitten/eva-icons": "^5.1.1",
"accordion-collapse-react-native": "^1.1.0",
"axios": "^0.25.0",
"expo": "~44.0.6",
"expo-activity-feed": "1.1.0",
"expo-app-auth": "~11.1.0",
"expo-apple-authentication": "~4.1.0",
"expo-auth-session": "~3.5.0",
"expo-blur": "^11.0.0",
"expo-checkbox": "^2.0.0",
"expo-constants": "~13.0.1",
"expo-device": "~4.1.0",
"expo-google-app-auth": "~8.3.0",
"expo-google-sign-in": "~10.1.0",
"expo-image-picker": "~12.0.1",
"expo-linear-gradient": "^11.0.0",
"expo-notifications": "~0.14.0",
"expo-permissions": "~13.1.0",
"expo-random": "~12.1.1",
"expo-status-bar": "~1.2.0",
"expo-updates": "^0.11.6",
"expo-web-browser": "~10.1.0",
"getstream": "^7.4.1",
"jwt-decode": "^3.1.2",
"link-preview-js": "^2.1.13",
"react": "17.0.1",
"react-dom": "17.0.1",
"react-native": "0.64.3",
"react-native-activity-feed": "^1.1.1",
"react-native-agora": "^3.5.3",
"react-native-anchor-carousel": "^4.0.1",
"react-native-calendars": "^1.1278.0",
"react-native-collapsible-tab-view": "^4.5.2",
"react-native-drop-shadow": "^0.0.4",
"react-native-dropdown-picker": "^5.3.0",
"react-native-elements": "^3.4.2",
"react-native-gesture-handler": "^2.2.0",
"react-native-modalbox": "^2.0.2",
"react-native-pager-view": "5.4.9",
"react-native-paper": "^4.11.2",
"react-native-phone-number-input": "^2.1.0",
"react-native-picker-select": "^8.0.4",
"react-native-reanimated": "^2.4.1",
"react-native-render-html": "^6.3.4",
"react-native-roulette": "^0.0.9",
"react-native-safe-area-context": "^3.3.2",
"react-native-screens": "^3.10.2",
"react-native-skeleton-content": "^1.0.24",
"react-native-svg": "^12.1.1",
"react-native-svg-transformer": "^1.0.0",
"react-native-tab-view": "^3.1.1",
"react-native-vector-icons": "^9.0.0",
"react-native-web": "0.17.1",
"react-native-webview": "^11.17.2",
"react-navigation-drawer": "^2.7.1",
"react-navigation-stack": "^2.10.4",
"react-navigation-tabs": "^2.11.1",
"react-redux": "^7.2.6",
"redux": "^4.1.2",
"redux-persist": "^6.0.0",
"redux-thunk": "^2.4.1",
"expo-splash-screen": "~0.14.1"
},
"devDependencies": {
"@babel/core": "^7.12.9"
},
"private": true,
"resolutions": {
"expo-linear-gradient": "~11.0.0",
"react-native-reanimated": "~2.4.0"
}
}
My Xcode version is 13.3
Please assist, I’ve been stuck on this for days now
Thank you