skip to Main Content

I have a problem with expo go application on IOS device (Android is working). When i try to connect to my project using expo start or expo start --tunnel it throw following error: error in expo go ios app

What I miss? When i open app using android device eveything is working fine. I try to solve it but no progress. Here are my package.json and app.json with eas.json:

package.json:


{
  "name": "prometeuszai",
  "version": "1.0.0",
  "scripts": {
    "start": "expo start --dev-client",
    "android": "expo run:android",
    "ios": "expo run:ios",
    "web": "expo start --web"
  },
  "dependencies": {
    "@react-native-async-storage/async-storage": "^1.21.0",
    "@react-native-picker/picker": "2.4.10",
    "@react-navigation/native": "^6.1.6",
    "@react-navigation/native-stack": "^6.9.12",
    "@rneui/base": "^0.0.0-edge.2",
    "@rneui/themed": "^0.0.0-edge.2",
    "axios": "^1.4.0",
    "buffer": "^6.0.3",
    "expo": "~49.0.15",
    "expo-av": "~13.4.1",
    "expo-file-system": "~15.4.3",
    "expo-privacy-manifest-polyfill-plugin": "^0.0.2",
    "expo-splash-screen": "~0.20.5",
    "expo-status-bar": "~1.6.0",
    "firebase": "^9.7.0",
    "firebase-admin": "^11.8.0",
    "react": "18.2.0",
    "react-native": "0.72.6",
    "react-native-dropdown-picker": "^5.4.6",
    "react-native-media-query": "^2.0.1",
    "react-native-progress": "^5.0.1",
    "react-native-purchases": "^7.27.1",
    "react-native-really-awesome-button": "^2.0.4",
    "react-native-sound": "^0.11.2",
    "react-native-svg": "^14.1.0",
    "react-native-three-dots-loader": "^1.0.1",
    "react-native-uuid": "^2.0.1"
  },
  "devDependencies": {
    "@babel/core": "^7.20.0",
    "prettier": "^2.4.1"
  },
  "private": true
}

app.json:

{
  "expo": {
    "name": "Prometeusz Ai",
    "slug": "prometeuszai",
    "version": "1.0.0",
    "orientation": "portrait",
    "icon": "./assets/images/bot.png",
    "userInterfaceStyle": "light",
    "splash": {
      "image": "./assets/images/bot.png",
      "resizeMode": "contain",
      "backgroundColor": "#ffffff"
    },
    "plugins": ["expo-privacy-manifest-polyfill-plugin"],
    "runtimeVersion": "@string/expo_runtime_version",
    "extra": { "eas": { "projectId": "c5fc9c8a-f854-4529-9c0b-6964b1da2ade" } },
    "assetBundlePatterns": ["**/*"],
    "ios": {
      "supportsTablet": true,
      "bundleIdentifier": "com.kliemk.prometeuszai",
      "privacyManifests": {
        "NSPrivacyAccessedAPITypes": [
          {
            "NSPrivacyAccessedAPIType": "NSPrivacyAccessedAPICategoryFileTimestamp",
            "NSPrivacyAccessedAPITypeReasons": ["CA92.1"]
          },
          {
            "NSPrivacyAccessedAPIType": "NSPrivacyAccessedAPICategoryDiskSpace",
            "NSPrivacyAccessedAPITypeReasons": ["CA92.1"]
          }
        ]
      }
    },
    "android": {
      "adaptiveIcon": {
        "foregroundImage": "./assets/images/bot.png",
        "backgroundColor": "#ffffff"
      },
      "package": "com.kliemk.prometeuszai"
    },
    "web": {
      "favicon": "./assets/images/bot.png"
    }
  }
}

eas.json:

{
  "cli": {
    "version": ">= 3.16.0"
  },
  "build": {
    "development": {
      "distribution": "internal",
      "android": {
        "gradleCommand": ":app:assembleDebug"
      },
      "ios": {
        "buildConfiguration": "Debug"
      }
    },
    "preview": {
      "distribution": "internal"
    },
    "production": {}
  },
  "submit": {
    "production": {}
  }
}

Thank you for help!

I expected to open application on IOS Expo Go app like on Android.

2

Answers


  1. Chosen as BEST ANSWER

    Here is the link with this issue if you want to update dependencies to 51. (I use this guy solution and it's working). Gl everybody!

    https://stackoverflow.com/a/78457601/17590035


  2. Were all screwed. We HAVE to update our project to expo 51… there is a big reddit on this. Bunch of ppl stuck updating dependencies all day

    https://www.reddit.com/r/reactnative/s/VVEuuPyl7o

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search