I did the following steps instead and they worked:
Run the dev build in XCode project directly
Run npx expo start
npx expo start