I almost finished developing my app, already have multiple testers on TestFlight, Today strange thing happened my app is crashing (it is not getting data from server when on main screen) on my iPhone only, It works fine even with the same account on other devices but it crashes on my specific iPhone, my friend had the same problem from the day 1 but I thought it was because of his device, but now I'm having the same problem.
- Tried installing on other phone via test flight and using same user, everything works.
- Tried building from Xcode on my iPhone - Still get error when trying to get entries from backend.
- Tried deleting and installing the same version that works on other phones via TestFlight and still get the same error
Can't seem to catch the error.
edit: Cocoa pods needed update sudo gem update cocoa pods edit2: Updated iPhone to the latest version, problem resurfaced
About the app: Authentication is done via AWS cognito. as our backend uses Graphql, I was wondering maybe it's something related.
Possible cause of the problem: What I've noticed is that, even if I delete the app and clear Safari cache, when I download the app again and launch it, it logs in with the last logged in account.
edit3: ok very strange but it started getting data and showing on main screen (so it works) it happened same time yesterday, starting to think that it's related to time somehow (we convert server time to actual location based time for user)