ios – App runs on my machine, however not on testers machine

[ad_1]

An app I’ve has been engaged on my telephone, however crashing on different testers’ units with the identical model.

To see what was taking place, I constructed the app on each my telephone and a pal’s telephone (by plugging in every telephone to my pc and constructing through XCode). The identical construct labored on my telephone, however crashed on the opposite telephone.

I am unsure why that is, because it’s the identical construct on each units. I’ve an iPhone 12 and the opposite telephone is an iPhone 11, so I doubt there are {hardware}/software program variations inflicting the difficulty.

I believe the difficulty is that from testing unreleased builds incessantly on my telephone, I could have bizarre/totally different UserDefaults values alone machine that different units will not have, because the UserDefaults aren’t actually ever cleared, and so they construct up and alter over time. Nevertheless, TestFlight does not reset UserDefaults when a brand new model is put in, so I am questioning:

How can I reset the UserDefaults values on my machine, and if I can not, how can I replicate a brand new, un-tested machine within the simulator or on my telephone (to have the identical impact as somebody downloading the app for the primary time)?

[ad_2]

Leave a Reply

Your email address will not be published. Required fields are marked *