---
title: "Tophat: Crafting a Delightful Mobile Developer Experience"
description: "Shopify built Tophat, a macOS menu bar app that installs CI-built iOS and Android artifacts from GitHub PRs onto simulators, emulators or real devices with one click, eliminating local branch switching and compilation during manual PR testing (\"tophatting\")."
url: "https://swe.quest/articles/tophat-crafting-a-delightful-mobile-developer-experience-ce22d4499b0e4671"
canonical: "https://shopify.engineering/shopify-tophat-mobile-developer-testing"
source: "Shopify Engineering"
published: "2024-08-23"
difficulty: "medium"
kind: "Case study"
reading_minutes: 13
tags: ["mobile","developer-productivity","developer-tools","code-review","ci-cd"]
---

# Tophat: Crafting a Delightful Mobile Developer Experience

A post on [Shopify Engineering](https://swe.quest/sources/shopify.md), published 2024-08-23, 13 min read, Case study. Original: [https://shopify.engineering/shopify-tophat-mobile-developer-testing](https://shopify.engineering/shopify-tophat-mobile-developer-testing)

## Summary

Shopify built Tophat, a macOS menu bar app that installs CI-built iOS and Android artifacts from GitHub PRs onto simulators, emulators or real devices with one click, eliminating local branch switching and compilation during manual PR testing ("tophatting"). A lightweight local HTTP server receives links posted by a CI bot pointing at GCS-stored artifacts, and installation steps run in parallel. For real iOS devices it bundles ios-deploy to reach the private MobileDevice.framework, and it signs builds in CI with an Apple Development certificate managed by Fastlane match rather than relying on fragile, undocumented Apple Developer Portal APIs. Zero-setup rollout via the internal Dev tool, a tophatctl CLI and Shipit Mobile integration makes it available to every mobile project by default.

Written by swe.quest, not by the author.

**Difficulty:** Medium: assumes a working developer; shows how it is built or done

## Topics

- [Mobile](https://swe.quest/tags/mobile.md) (Web & mobile)
- [Developer productivity](https://swe.quest/tags/developer-productivity.md) (Engineering practices)
- [Developer tools](https://swe.quest/tags/developer-tools.md) (Engineering practices)
- [Code review](https://swe.quest/tags/code-review.md) (Engineering practices)
- [CI/CD](https://swe.quest/tags/ci-cd.md) (Reliability & operations)

## Prerequisites

- iOS code signing basics
- Android adb ([easy posts on Mobile](https://swe.quest/tags/mobile.md?difficulty=easy))
- CI artifact pipelines ([easy posts on CI/CD](https://swe.quest/tags/ci-cd.md?difficulty=easy))

## Keywords

Tophat, ios-deploy, Fastlane match, adb, simctl, MobileDevice.framework, React Native, Shipit Mobile

## Related posts

- [How we rebuilt the Shopify app in 12 weeks](https://swe.quest/articles/how-we-rebuilt-the-shopify-app-in-12-weeks-08ae147088c9e21e.md): Shopify Engineering · 2026-11-10 · Medium · 15 min read · AI for coding, Mobile, Refactoring & migrations, Developer productivity, Code review
  Thirty engineers rebuilt the 300+ screen Shopify mobile app from React Native to native Swift and Kotlin in 12 weeks, with agents writing most of the code.
- [We gave AI agents a mobile dev environment](https://swe.quest/articles/we-gave-ai-agents-a-mobile-dev-environment-e8b96ac4decaf1a3.md): Shopify Engineering · 2026-10-22 · Medium · 9 min read · AI agents, Mobile, Developer productivity, Virtualization, AI for coding
  Shopify built Remote Dev so its Slack-based coding agent River can build and test iOS and Android apps in parallel on a fleet of remote Macs instead of developers' laptops.
- [How GitHub reduced testing time for iOS apps with new runner features](https://swe.quest/articles/how-github-reduced-testing-time-for-ios-apps-with-new-runner-features-6d60c9cbd2f8be42.md): GitHub Engineering · 2024-06-03 · Medium · 4 min read · CI/CD, Mobile, Performance engineering, Developer productivity
  GitHub's iOS team cut CI testing time by 60%, from 38 to 15 minutes, by moving to Apple silicon M1 macOS runners (macos-14-xlarge) and splitting a single monolithic build-and-test job into per-module jobs across roughly 60 first-party modules.
- [How we ship GitHub Mobile every week](https://swe.quest/articles/how-we-ship-github-mobile-every-week-01e30a6ee9b48c0b.md): GitHub Engineering · 2022-01-12 · Medium · 7 min read · CI/CD, Mobile, Deployment
  GitHub Mobile ships weekly iOS and Android releases using a single GitHub Actions workflow that runs every Saturday.
- [Helix: The internal tool powering our Shopify app's native migration](https://swe.quest/articles/helix-the-internal-tool-powering-our-shopify-app-s-native-migration-db9fcd596ae9b1fc.md): Shopify Engineering · 2026-09-21 · Medium · 8 min read · AI for coding, AI agents, Mobile, Refactoring & migrations, React
  Helix is Shopify's internal LLM tooling for rebuilding its 300+ screen React Native app in native Swift and Kotlin.

Browse: [Latest posts](https://swe.quest/index.md) · [Topics](https://swe.quest/tags.md) · [Sources](https://swe.quest/sources.md) · [Topic map](https://swe.quest/map.md) · [Site guide (llms.txt)](https://swe.quest/llms.txt)
