EAS build works in Expo Go & Simulator, TestFlight app crashes on open

I am very new to the iOS coding world, however, I've run into a problem on my Expo build. It works in simulators and Expo Go on iOS, but when I run an EAS build and download the app from TestFlight, it will show the splash screen and immediately crash. This is the crash log I receive, and the app was built on VsCode and I can't seem to move it or open it on Xcode to get a better read on the crash. Any help would be greatly appreciated.

Solved this one myself, but for anyone experiencing an operator() crash, be sure to read through the react navigation docs, then find exactly which part of react navigation you used (ie. Stack, Drawer, etc) as there can be some additional packages to add to ensure it runs cleanly on TestFlight. My problem was one missing package that needed to be added.

Can you give some example? I am running in to similar situation. Expo build:iOS works but eas build —platform iOS crashes on TestFlight like you said. However the crash report is diff than yours.

Its taken me ages to sort this:

The main thing I was missing as

npm install expo-modules-core npm install expo-contants

Think its pretty poor the way the eas upgrade works if Im honest. The original expo build worked well.

I have also done a shed load of other dependencies so the above on its own may not help you so please upvote if it does so that others know.

Thank you so much. This worked. I was banging my head against the wall for 2 weeks.

EAS build works in Expo Go & Simulator, TestFlight app crashes on open
 
 
Q