How to Test iOS Apps in Different Time Zones on a Physical iPhone - SwiftLee
Free NSSpain ticket up for grabs, enter in 10 seconds. Go to the giveaway →
Giveaway: Free NSSpain ticket giveaway.
-->
SwiftLee
The Swift Concurrency Playbook
A FREE 5-day email course revealing the 5 biggest mistakes iOS developers make with async/await that lead to App Store rejections And migration projects taking months instead of days (even if you've been writing Swift for years)
5 lessons | 100% free | For iOS developers
RocketSim: An Essential Developer Tool<br>as recommended by Apple
SwiftLee > Xcode > How to Test iOS Apps in Different Time Zones on a Physical iPhone
In this article
Subscribe to my YouTube Channel
Testing iOS Time Zones is a typical validation path that’s difficult without actually traveling yourself. You can apply all kinds of protocols and mock versions of your app, but having iOS act like it’s actually traveling between time zones is a real challenge. Ideally, you’d test apps like travel apps in such a way that it mimics a traveler who steps into a plane within one timezone, and steps out in another.
Xcode’s Simulator can launch your app in another time zone, but it won’t fully mimic a device traveling between zones. The Simulator remains tied to macOS for system behavior, while a physical device can automatically update its actual system time zone based on location. I’ve been developing RocketSim since 2019 and have tried to enable this workflow several times. With Xcode 27, I’ve finally found a way.Share your AI agent’s work with your teamYour agent generates a report, dashboard, or prototype as HTML or Markdown. display.dev turns it into a secure URL your team can open with their existing work login, comment on inline, and send back to any agent through MCP. Works with Cursor, Codex, Claude Code, and more. No viewer accounts, no seat management, no vendor lock-in. Learn more.
Testing another time zone on iPhone
Demonstrating location simulation on a physical device using RocketSim.
RocketSim allows you to simulate a location on a physical iPhone or iPad connected over USB. When you move the device to another simulated location, iOS can automatically update its system time zone accordingly. Like in the above video, where my personal device switches timezone, changes the system time, enables a different focus mode due to it, and enables driving mode due to thinking that it actually drives.
Another example: You can start in Amsterdam, launch your app, and simulate traveling to New York. Your device will eventually switch from Central European Time to Eastern Time, allowing you to validate how your app responds.
This workflow for iOS time zone testing requires:
RocketSim 16.4 or newer
Xcode 27
A physical iPhone or iPad connected over USB
Developer Mode enabled on the device
An app launched on the device from Xcode
At the time of writing, Xcode 27 is still in beta. Physical-device location simulation relies on the new device controlling capabilities and is unavailable in earlier Xcode versions.
FREE 5-Day Email Course: The Swift Concurrency Playbook<br>A FREE 5-day email course revealing the 5 biggest mistakes iOS developers make with with async/await that lead to App Store rejections And migration projects taking months instead of days (even if you've been writing Swift for years)
Get the Course
Enabling automatic time-zone changes
RocketSim does not directly change your device’s time zone. Instead, it simulates a location through Xcode. iOS then uses that coordinate to determine the matching system time zone.
You need to enable two settings for iOS time zone testing to work:
Open Settings → General → Date & Time and enable Set Automatically .
Open Settings → Privacy & Security → Location Services → System Services and enable Setting Time Zone .
These settings allow iOS to derive the system time zone from the simulated location. Without them, your app will receive the new coordinates while the device remains in its existing time zone.
You might expect the time zone to update immediately, but that’s not always the case. iOS controls the update and can take a short while to apply the new zone.
Simulating a new location
Start by running your app on the connected device from Xcode. RocketSim will add the build to the Recent Builds section next to your physical-device preview.
Select your app and open the Locations tab. From there, you can:
Select a coordinate from the map
Run a built-in location scenario
Activate a saved location
Simulate a car or walking route
Reset the device to its actual location
RocketSim simulating a driving route from San Francisco to Apple Park on a connected physical iPhone, working great for iOS time zone testing.
In the above screenshot, I’m simulating a route from SF to Apple Park. Since I’m normally in the Amsterdam time zone, my iPhone turns on Sleep Focus mode. It also enables Vehicle Motion Cues by detecting the driving mode.
Or imagine...