Ionic 4 app stops working after a few days when deploying to iOS

I’m creating an Ionic 4/firebase project. It’s working fine on Android but iOS has been a huge headache from the start. I’m deploying to my android app via cmd line using ‘ionic cordova run android’. However, for iOS I have to deploy in xCode. When i initially deploy it’s working on the iOS device but after a few days when I try to launch the app from the iOS app the flash screen appears briefly then it just shuts down. I have to plug the device back in to the MAC and redeploy via xCode again, but again after a few days when I attempt to launch the app the flash screen appears briefly then it just shuts down without any error or warning. I’m not even sure how to debug this because I’m not getting any logs in xCode when it happens.

Yes, I have a profile provisioned with a dev team email address.