Please provide the following:
- SDK Version: Expo SDK 48
- Platforms(Android/iOS/web/all): iOS
After migrating from SDK 47 to SDK 48 by following the official guide, my local build on a MacBook Pro M1 for iOS while running the command npx expo run:ios
, every execution is returning the following errors after failing:
app/ios/Pods/Target Support Files/Pods-app/ExpoModulesProvider.swift:8:8)
6 | */
7 |
> 8 | import ExpoModulesCore
| ^ could not find module 'ExpoModulesCore' for target 'x86_64-apple-ios-simulator'; found: arm64-apple-ios-simulator, at: /Users/emmanueldadem/Library/Developer/Xcode/DerivedData/app-dyswmhrcweyfiybusnlyoknopvfn/Build/Products/Debug-iphonesimulator/ExpoModulesCore/ExpoModulesCore.swiftmodule
9 | import EXAV
10 | import EXCamera
11 | import ExpoClipboard
I already ran $ expo doctor
many times & all my dependencies are satisfying.
I am not sure if I missed something during the migration.
I already tried removing my package-lock.json
/ yarn.lock
and node_modules
and re-installing the dependencies many times, but unsuccessfully.
Here are my dependencies:
"dependencies": {
"@expo/react-native-action-sheet": "^4.0.1",
"@expo/vector-icons": "^13.0.0",
"@manu_omg/react-native-emoji-selector": "^1.0.3",
"@miblanchard/react-native-slider": "^2.1.0",
"@react-native-async-storage/async-storage": "~1.17.11",
"@react-native-community/datetimepicker": "6.5.2",
"@react-native-community/netinfo": "9.3.5",
"@react-native-community/slider": "4.2.4",
"@react-navigation/bottom-tabs": "^6.2.0",
"@react-navigation/native": "^6.0.8",
"@react-navigation/stack": "^6.1.1",
"@rneui/base": "^0.0.0-edge.2",
"@rneui/themed": "^0.0.0-edge.2",
"@sentry/react-native": "4.9.0",
"@shopify/flash-list": "1.3.1",
"axios": "^0.21.1",
"deprecated-react-native-prop-types": "^2.3.0",
"expo": "~47.0.3",
"expo-application": "~5.0.1",
"expo-asset": "~8.7.0",
"expo-av": "~13.0.1",
"expo-camera": "~13.1.0",
"expo-clipboard": "~4.0.1",
"expo-constants": "~14.0.2",
"expo-dev-client": "~2.0.0",
"expo-device": "~5.0.0",
"expo-facebook": "~12.2.0",
"expo-firebase-analytics": "~8.0.0",
"expo-font": "~11.0.1",
"expo-image-picker": "~14.0.1",
"expo-keep-awake": "~11.0.1",
"expo-linear-gradient": "~12.0.1",
"expo-linking": "~3.3.1",
"expo-localization": "~14.0.0",
"expo-location": "~15.0.1",
"expo-modules-core": "^1.2.6",
"expo-notifications": "~0.17.0",
"expo-secure-store": "~12.0.0",
"expo-speech": "~11.0.0",
"expo-splash-screen": "~0.17.4",
"expo-status-bar": "~1.4.2",
"expo-updates": "~0.15.4",
"expo-video-thumbnails": "~7.0.0",
"i18n-js": "^3.8.0",
"jwt-decode": "^3.1.2",
"link-preview-js": "^2.1.13",
"lodash": "^4.17.21",
"moment": "^2.29.1",
"patch-package": "^6.5.0",
"postinstall-postinstall": "^2.1.0",
"react": "18.1.0",
"react-dom": "18.1.0",
"react-native": "0.70.8",
"react-native-3dcube-navigation": "^1.0.5",
"react-native-agora": "^3.7.1",
"react-native-animatable": "^1.3.3",
"react-native-background-actions": "^2.6.5",
"react-native-collapsible-tab-view": "^4.5.2",
"react-native-deck-swiper": "^2.0.12",
"react-native-draggable": "^3.3.0",
"react-native-fast-image": "^8.6.3",
"react-native-flash-message": "^0.3.1",
"react-native-gesture-handler": "~2.8.0",
"react-native-image-crop-picker": "^0.38.1",
"react-native-image-keyboard": "^2.2.0",
"react-native-image-zoom-viewer": "^3.0.1",
"react-native-loading-spinner-overlay": "^3.0.1",
"react-native-mmkv": "~2.5.1",
"react-native-modal": "^13.0.1",
"react-native-modalbox": "^2.0.2",
"react-native-modalize": "^2.1.1",
"react-native-pager-view": "6.0.1",
"react-native-paper": "^4.12.5",
"react-native-parsed-text": "^0.0.22",
"react-native-popover-view": "^5.1.7",
"react-native-portalize": "^1.0.7",
"react-native-progress-steps": "^1.3.4",
"react-native-reanimated": "~2.12.0",
"react-native-root-toast": "^3.4.0",
"react-native-safe-area-context": "4.4.1",
"react-native-screens": "~3.18.0",
"react-native-share-menu": "^6.0.0",
"react-native-snap-carousel": "^3.9.1",
"react-native-status-bar-height": "^2.6.0",
"react-native-svg": "13.4.0",
"react-native-swipe-gestures": "^1.0.5",
"react-native-tab-view": "^3.3.0",
"react-native-text-ticker": "^1.14.0",
"react-native-timeago": "^0.5.0",
"react-native-track-player": "^3.2.0",
"react-native-video": "^5.2.1",
"react-native-video-controls": "^2.8.1",
"react-native-web": "~0.18.7",
"react-native-webview": "11.23.1",
"react-number-format": "^5.1.1",
"react-redux": "^7.1.3",
"redux": "^4.0.5",
"rxjs": "^6.5.5",
"sentry-expo": "~6.0.0",
"socket.io-client": "^4.6.0",
"url": "^0.11.0"
},
"devDependencies": {
"@babel/core": "^7.19.3",
"@types/lodash": "^4.14.179",
"@types/react": "~18.0.24",
"@types/react-native-snap-carousel": "^3.8.5",
"@types/react-redux": "^7.1.7",
"@types/socket.io-client": "^1.4.33",
"babel-preset-expo": "~9.2.1",
"jest-expo": "^47.0.0",
"metro-minify-terser": "^0.66.2",
"swagger-axios-codegen": "^0.11.16",
"typescript": "^4.6.3"
},