While running sudo yarn ios
and even when Xcode being already installed, it prompts :
Xcode needs to be installed (don’t worry, you won’t have to use it), would you like to continue to the App Store? … yes
And upon force update/ install Expo client to the latest version in iOS simulator it prompts:
You are currently using SDK 40.0.0. Would you like to install client 2.18.4 released for this SDK? … yes
again then prompts next …
Xcode needs to be installed (don’t worry, you won’t have to use it), would you like to continue to the App Store? … yes
Expo diagnostics -
Expo CLI 4.4.3 environment info:
System:
OS: macOS 11.2.3
Shell: 3.2.57 - /bin/sh
Binaries:
Node: 14.16.1 - /usr/local/bin/node
Yarn: 1.22.10 - /usr/local/bin/yarn
npm: 6.14.12 - /usr/local/bin/npm
IDEs:
Xcode: /undefined - /usr/bin/xcodebuild
npmPackages:
expo: ~40.0.0 => 40.0.0
react: 16.13.1 => 16.13.1
react-dom: 16.13.1 => 16.13.1
react-native: https://github.com/expo/react-native/archive/sdk-40.0.1.tar.gz => 0.63.2
react-native-web: ~0.13.12 => 0.13.18
npmGlobalPackages:
expo-cli: 4.4.3
Expo Workflow: managed
How to mitigate this situation in order for the iOS simulator to work seamlessly. Thanks in advance!