<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: UNVERCO</title>
    <description>The latest articles on DEV Community by UNVERCO (@unverco).</description>
    <link>https://dev.to/unverco</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4269792%2F860e1141-f385-4f38-9b40-418a09c2ab92.jpg</url>
      <title>DEV Community: UNVERCO</title>
      <link>https://dev.to/unverco</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/unverco"/>
    <language>en</language>
    <item>
      <title>Test iPhone Safari on GitHub Actions without a Mac (a working workflow and the limits)</title>
      <dc:creator>UNVERCO</dc:creator>
      <pubDate>Fri, 27 Nov 2026 23:22:34 +0000</pubDate>
      <link>https://dev.to/unverco/test-iphone-safari-on-github-actions-without-a-mac-a-working-workflow-and-the-limits-3gbf</link>
      <guid>https://dev.to/unverco/test-iphone-safari-on-github-actions-without-a-mac-a-working-workflow-and-the-limits-3gbf</guid>
      <description>&lt;p&gt;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.&lt;/p&gt;

&lt;h2&gt;
  
  
  Why desktop emulation is not enough
&lt;/h2&gt;

&lt;p&gt;Device emulation changes the user agent, screen size, viewport and touch support. It does &lt;strong&gt;not&lt;/strong&gt; change the engine. WebKit on Linux is the same engine family as Safari, but it is not iOS Safari. Typical iPhone-only bugs:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;code&gt;100vh&lt;/code&gt; includes the toolbar, so the bottom of a full-height screen is hidden (&lt;code&gt;100dvh&lt;/code&gt; usually fixes it)&lt;/li&gt;
&lt;li&gt;content under the notch or home bar when &lt;code&gt;env(safe-area-inset-*)&lt;/code&gt; is missing&lt;/li&gt;
&lt;li&gt;the page zooms when you tap an input with a font smaller than 16 px&lt;/li&gt;
&lt;li&gt;tap targets smaller than 44 × 44 px&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  A minimal iPhone Safari workflow
&lt;/h2&gt;

&lt;p&gt;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.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight yaml"&gt;&lt;code&gt;&lt;span class="na"&gt;name&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s"&gt;iPhone Safari smoke test&lt;/span&gt;
&lt;span class="na"&gt;on&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
  &lt;span class="na"&gt;workflow_dispatch&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
&lt;span class="na"&gt;jobs&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
  &lt;span class="na"&gt;ios&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
    &lt;span class="na"&gt;runs-on&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s"&gt;macos-15&lt;/span&gt;
    &lt;span class="na"&gt;steps&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
      &lt;span class="p"&gt;-&lt;/span&gt; &lt;span class="na"&gt;name&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s"&gt;Boot an iPhone simulator&lt;/span&gt;
        &lt;span class="na"&gt;run&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;|&lt;/span&gt;
          &lt;span class="s"&gt;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')))")&lt;/span&gt;
          &lt;span class="s"&gt;xcrun simctl boot "$UDID"&lt;/span&gt;
          &lt;span class="s"&gt;xcrun simctl bootstatus "$UDID" -b&lt;/span&gt;
          &lt;span class="s"&gt;echo "UDID=$UDID" &amp;gt;&amp;gt; "$GITHUB_ENV"&lt;/span&gt;
      &lt;span class="p"&gt;-&lt;/span&gt; &lt;span class="na"&gt;name&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s"&gt;Open your site in Mobile Safari and take a screenshot&lt;/span&gt;
        &lt;span class="na"&gt;run&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;|&lt;/span&gt;
          &lt;span class="s"&gt;xcrun simctl openurl "$UDID" "https://example.com"&lt;/span&gt;
          &lt;span class="s"&gt;sleep 20&lt;/span&gt;
          &lt;span class="s"&gt;xcrun simctl io "$UDID" screenshot iphone-safari.png&lt;/span&gt;
      &lt;span class="p"&gt;-&lt;/span&gt; &lt;span class="na"&gt;uses&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s"&gt;actions/upload-artifact@v4&lt;/span&gt;
        &lt;span class="na"&gt;with&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
          &lt;span class="na"&gt;name&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s"&gt;iphone-safari-screenshot&lt;/span&gt;
          &lt;span class="na"&gt;path&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s"&gt;iphone-safari.png&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;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, &lt;code&gt;reactivecircus/android-emulator-runner&lt;/code&gt; starts an emulator on a Linux runner.&lt;/p&gt;

&lt;h2&gt;
  
  
  Time and cost (measured, your project will differ)
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;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.&lt;/li&gt;
&lt;li&gt;Web-only check: about 2 minutes.&lt;/li&gt;
&lt;li&gt;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.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Limits
&lt;/h2&gt;

&lt;p&gt;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.&lt;/p&gt;

&lt;h2&gt;
  
  
  Disclosure
&lt;/h2&gt;

&lt;p&gt;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: &lt;a href="https://www.etsy.com/listing/4627175488" rel="noopener noreferrer"&gt;https://www.etsy.com/listing/4627175488&lt;/a&gt;. The steps above work without it.&lt;/p&gt;

&lt;p&gt;Longer guide with FAQ: &lt;a href="https://unvergroup.github.io/unverco-apps/guide/test-website-iphone-safari-without-mac/" rel="noopener noreferrer"&gt;https://unvergroup.github.io/unverco-apps/guide/test-website-iphone-safari-without-mac/&lt;/a&gt;&lt;/p&gt;

</description>
      <category>testing</category>
      <category>webdev</category>
      <category>githubactions</category>
      <category>pwa</category>
    </item>
  </channel>
</rss>
