iOS app crashes after installing expo-updates inside bare react native project

iOS app crashes at start after installing expo-updates inside bare project.

error logs

[CoreFoundation] *** Terminating app due to uncaught exception 'NSInternalInconsistencyException',
reason: 'Cannot load configuration from Expo.plist. Please ensure you've followed the setup and
installation instructions for expo-updates to create Expo.plist and add it to your Xcode project.'
*** First throw call stack:
(
0   CoreFoundation                      0x00000001803e1188 __exceptionPreprocess + 236
1   libobjc.A.dylib                     0x0000000180193384 objc_exception_throw + 56
2   App3                                0x0000000104aa9a3c +[EXUpdatesConfig configWithExpoPlist] +
180
3   App3                                0x0000000104a9b14c -[EXUpdatesAppController init] + 116
4   App3                                0x0000000104a9b0b8 __40+[EXUpdatesAppController
sharedInstance]_block_invoke + 56
5   libdispatch.dylib                   0x000000018010a5a4 _dispatch_client_callout + 16
6   libdispatch.dylib                   0x000000018010bc18 _dispatch_once_callout + 28
7   App3                      <…>

package.json

{
  "name": "app3",
  "version": "0.0.1",
  "private": true,
  "expo": {
    "autolinking": {
      "exclude": [
        "expo-keep-awake",
        "expo-font"
      ]
    }
  },
  "scripts": {
    "pod-install": "cd ios && pod install && cd ..",
    "android": "react-native run-android",
    "ios": "react-native run-ios",
    "ios-device": "react-native run-ios --device",
    "iphone6": "react-native run-ios --uuid fc04bba97d5b77a776cf46eba619d60a979cb38e",
    "start": "react-native start",
    "test": "jest",
    "lint": "eslint ."
  },
  "dependencies": {
    "@react-native-async-storage/async-storage": "^1.16.1",
    "@react-navigation/bottom-tabs": "^6.2.0",
    "@react-navigation/native": "^6.0.6",
    "@react-navigation/stack": "^6.1.1",
    "axios": "^0.25.0",
    "lottie-react-native": "^5.0.1",
    "native-base": "^3.3.4",
    "react": "17.0.2",
    "react-native": "0.66.4",
    "react-native-android-open-settings": "^1.3.0",
    "react-native-gesture-handler": "^2.2.0",
    "react-native-keep-awake": "^4.0.0",
    "react-native-linear-gradient": "^2.5.6",
    "react-native-permissions": "^3.2.0",
    "react-native-reanimated": "^2.3.1",
    "react-native-redash": "^16.2.3",
    "react-native-safe-area-context": "^3.3.2",
    "react-native-screens": "^3.10.1",
    "react-native-sound-level": "^1.1.5",
    "react-native-splash-screen": "^3.3.0",
    "react-native-svg": "^12.1.0",
    "react-native-wifi-reborn": "^4.5.0",
    "react-redux": "^7.2.6",
    "redux": "^4.1.2",
    "redux-saga": "^1.1.3",
    "expo": "^44.0.0",
    "expo-updates": "~0.11.6"
  },
  "devDependencies": {
    "@babel/core": "^7.12.9",
    "@babel/runtime": "^7.12.5",
    "@bam.tech/react-native-make": "^3.0.3",
    "@react-native-community/eslint-config": "^2.0.0",
    "@types/jest": "^27.4.0",
    "@types/react": "^17.0.38",
    "@types/react-native": "^0.66.11",
    "@types/react-test-renderer": "^17.0.1",
    "babel-jest": "^26.6.3",
    "eslint": "7.14.0",
    "ios-deploy": "^1.11.4",
    "jest": "^26.6.3",
    "metro-react-native-babel-preset": "^0.66.2",
    "react-test-renderer": "17.0.2",
    "typescript": "^4.5.4"
  },
  "jest": {
    "preset": "react-native"
  }
}

react-native info

System:
    OS: macOS 11.5.2
    CPU: (8) arm64 Apple M1
    Memory: 158.36 MB / 8.00 GB
    Shell: 5.8 - /bin/zsh
  Binaries:
    Node: 17.3.1 - /opt/homebrew/bin/node
    Yarn: Not Found
    npm: 8.3.0 - /opt/homebrew/bin/npm
    Watchman: 2021.12.27.00 - /opt/homebrew/bin/watchman
  Managers:
    CocoaPods: 1.11.2 - /opt/homebrew/bin/pod
  SDKs:
    iOS SDK:
      Platforms: DriverKit 21.2, iOS 15.2, macOS 12.1, tvOS 15.2, watchOS 8.3
    Android SDK:
      API Levels: 23, 28, 29, 30, 32
      Build Tools: 30.0.2, 32.0.0
      System Images: android-32 | Google APIs ARM 64 v8a, android-32 | Google APIs Intel x86 Atom_64
      Android NDK: Not Found
  IDEs:
    Android Studio: 2021.1 AI-211.7628.21.2111.8139111
    Xcode: 13.2.1/13C100 - /usr/bin/xcodebuild
  Languages:
    Java: 1.8.0_292 - /usr/bin/javac
  npmPackages:
    @react-native-community/cli: Not Found
    react: 17.0.2 => 17.0.2 
    react-native: 0.66.4 => 0.66.4 
    react-native-macos: Not Found
  npmGlobalPackages:
    *react-native*: Not Found

Hey @abhi6676, as the error log indicates, have you double checked and ensured you’ve followed the setup steps and that your project is configured properly (specifically inside the native ios dir)?

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.