I have solved the issue by just simply lowering the version of the iPhone Simulator from 18.4 to 18.3. I think the issue was related to the expo version that I was using which is 52.