Not authorised to send Apple events to System Events. When running expo project on iOS simulator

Hi there,

I get the following error when trying to open an expo project on the iOS simulator.

Command failed: osascript -e tell app "System Events" to count processes whose name is "Simulator"
28:69: execution error: Not authorised to send Apple events to System Events. (-1743)

undefined
undefined

It only seems to affect managed workflow projects. The ejected bare workflow projects I work on run fine on the sim when running

npm run ios

Any help would be appriciated.

Thank you