I build web apps and PWAs and I do not own a Mac or an iPhone. Desktop device emulation kept telling me everything was fine, until a user said a button was hidden on their iPhone. Here is what I use now.
Why desktop emulation is not enough
Device emulation changes the user agent, screen size, viewport and touch support. It does not change the engine. WebKit on Linux is the same engine family as Safari, but it is not iOS Safari. Typical iPhone-only bugs:
-
100vhincludes the toolbar, so the bottom of a full-height screen is hidden (100dvhusually fixes it) - content under the notch or home bar when
env(safe-area-inset-*)is missing - the page zooms when you tap an input with a font smaller than 16 px
- tap targets smaller than 44 × 44 px
A minimal iPhone Safari workflow
GitHub Actions has macOS runners with the iOS Simulator. This boots an iPhone, opens your site in Mobile Safari and uploads a screenshot. I ran this exact file on GitHub before posting.
name: iPhone Safari smoke test
on:
workflow_dispatch:
jobs:
ios:
runs-on: macos-15
steps:
- name: Boot an iPhone simulator
run: |
UDID=$(xcrun simctl list devices available -j | python3 -c "import json,sys; d=json.load(sys.stdin)['devices']; print(next(x['udid'] for r in d.values() for x in r if x['name'].startswith('iPhone')))")
xcrun simctl boot "$UDID"
xcrun simctl bootstatus "$UDID" -b
echo "UDID=$UDID" >> "$GITHUB_ENV"
- name: Open your site in Mobile Safari and take a screenshot
run: |
xcrun simctl openurl "$UDID" "https://example.com"
sleep 20
xcrun simctl io "$UDID" screenshot iphone-safari.png
- uses: actions/upload-artifact@v4
with:
name: iphone-safari-screenshot
path: iphone-safari.png
For real checks (tap through a journey, overflow, tap targets, console errors) you need a WebDriver session, for example Appium with the XCUITest driver. For Android, reactivecircus/android-emulator-runner starts an emulator on a Linux runner.
Time and cost (measured, your project will differ)
- Full run in parallel (Chromium/Firefox/WebKit + Android 14 emulator + iOS Simulator): about 10 to 13 minutes on my repo; the iOS part is the slowest.
- Web-only check: about 2 minutes.
- Public repos: standard runners are free. Private repos: when I checked (Nov 28, 2026), GitHub Free included $12 of Actions usage a month and macOS minutes cost $0.062 each, about 10× a Linux minute.
Limits
Simulators and emulators are not physical phones: no real hardware, network, camera or push notifications, and no native apps. A pass means the checks that ran passed.
Disclosure
I packaged my full setup (four workflows, a settings file, a SHIP / DON'T SHIP report, a ready-to-paste fix prompt for an AI assistant per failure, and an offline panel) as a paid kit on Etsy: https://www.etsy.com/listing/4627175488. The steps above work without it.
Longer guide with FAQ: https://unvergroup.github.io/unverco-apps/guide/test-website-iphone-safari-without-mac/
Top comments (0)