Relative Content

Tag Archive for iosswiftxcode

Archive is failing from Xcode command line tools

I’ve recently upgraded to MAC OS 14.5 and Xcode 15.3. My iOS project which was running properly on earlier Xcode versions started failing when I run archive command from command line tools. Still able to archive properly from Xcode directly.

How to persist simulated location after disconnecting iPhone from Xcode?

I want to simulate a location (longitude+latitude) on my iPhone. I created a small app in Xcode with a .gpx file containing the location, allowed location simulation and set default location for the app, then connected iPhone to Mac, ran the app on iPhone, and saw the location was being simulated on iPhone (such as with Google Maps). However, shortly after I disconnect iPhone from Mac, iPhone goes back to using its real location. Is there a way to persist the simulated location, such as until iPhone restart?