Xcode 27 replaced Simulator.app with Device Hub, so old keyboard shortcuts, launch scripts and tools that reach into the simulator stopped working, and the fixes arrived across 27.0, 27.1 and 27.2. Move to 27.2 if you can, set Keyboard Shortcut Behavior or Apple's defaults key for shortcuts, scan your repo for lines that assume Simulator.app, boot devices with one script that works on Xcode 26 and 27, and replace lost menu items with simctl and devicectl commands.
If you updated to Xcode 27 and pressed the shortcut you have used for years, you probably watched nothing happen. Xcode 27 removed Simulator.app and replaced it with Device Hub, as Expo's engineering post puts it, and Apple now says you manage "all the devices that appear in Xcode as run destinations" there (Apple's Device Hub documentation). Simulators and physical iPhones share one app, which is a sensible idea with a messy first release.
The messy part has mostly been fixed, but the fixes arrived across several versions, and advice written in June is often wrong for the Xcode you have today. This guide sorts out what works on which version, how to get your keyboard shortcuts back, and how to find every line in your repo that still assumes the old app exists. It includes three small scripts you can copy.
A note on testing: the three scripts were run on Linux with stand-in versions of xcrun, open and xcode-select, against sample files. Nothing here was run on a Mac with Xcode 27, so try each command on one machine before you put it in CI.
What changed, version by version
Check your version first with xcodebuild -version. Most of the complaints you will find online describe 27.0 or the summer betas.
| Xcode | What Apple's release notes say about Device Hub |
|---|---|
| 27.0 | Adds the hostKeybindingPolicy preference for key combos. Known issues: Controls > Shake does not work, no two-finger touch, no keyboard or mouse input for simulators older than iOS 18. |
| 27.1 | No Device Hub section at all. Simulator known issues only, including an initial launch that "can take several minutes". |
| 27.2 | The big catch-up: Slow Motion Animation, Simulate Shake, Simulate Fall, Simulate Memory Pressure, Hide Device Bezels, and an App Settings pane with Keyboard Shortcut Behavior, Quit Behavior for Booted Simulators, Secure Keyboard Entry, Hardware Keyboard Simulation and Screen Capture Save Location. Input for iOS 17 simulators works again. Device > Simulate Memory Warning is fixed. |
| 27.3 beta | Drag and drop returns: drop an .app or .ipa to install it, a link to open it, and on iOS simulators any other file to save it in Files. Option-drag now simulates two-finger gestures on iPhone and iPad. |
If you are on 27.0 or 27.1, moving to 27.2 solves more than any workaround below. Xcode 27.2 requires macOS Tahoe 26.6 or later, the same floor as 27.0, so your Mac is very likely able to run it already.
Get your keyboard shortcuts back
On Xcode 27.2 or later, open Device Hub's Settings and look for Keyboard Shortcut Behavior. That setting came in with 27.2, and Jeremy Huddleston mentions it in the comments on Kris Slazinski's widely shared post. Use the setting when you have it.
On 27.0 or 27.1 you need the preference from the Xcode 27 release notes. This is Apple's exact form:
defaults -container com.apple.dt.Devices write com.apple.dt.Devices hostKeybindingPolicy -int 0
The notes define three values:
| Value | Apple's description |
|---|---|
0 | Device Hub uses rich key combo shortcuts. |
1 | Minimized when interacting with device. |
2 | Device Hub uses minimal key combo shortcuts. |
Two details trip people up. The first is the value: 1 does not give you the old behaviour, so use 0. The second is the -container flag. In the comments on that same post, one reader was told the -container form was the wrong one and a shorter command without it was suggested. Apple's notes include the flag, so start with Apple's version. Quit and reopen Device Hub afterwards.
Some keys never moved. An Apple engineer confirmed on the developer forums that the screenshot command is a Screenshot menu item, Shift-Command-S, sitting right below device rotation. Apple's docs also list a Screenshot button below the device, with files saved to your Desktop unless you set another location.
Capture Keyboard and Secure Keyboard Entry fight each other
If keys go to the wrong place, check which mode you are in. Capture Keyboard routes your Mac's keystrokes straight to the device, which is what you want when testing key commands in your app, and it can get in the way when you expect a shortcut to reach Device Hub itself. Secure Keyboard Entry stops other apps on the Mac from intercepting keystrokes before Device Hub sends them on. Apple lists a known issue in 27.2: the two cannot be used at the same time.
Also in 27.2, on the iPhone Duo simulator, modifier keys such as Shift and Command might stop working after you switch between the inner and outer display. Apple's workaround is to click once on the visible screen.
Make a shortcut for any menu item
When a menu command exists and the shortcut does not, macOS can add one. Go to System Settings, Keyboard, Keyboard Shortcuts, App Shortcuts, click the plus button, then pick Device Hub under Application. If it is not listed, choose Other. Apple's Mac guide says to type the menu title exactly as it appears, using -> for a submenu. The command names to try are the ones in Apple's interaction guide, such as Home and Lock under the Controls menu. To find where the app lives on your machine:
mdfind "kMDItemCFBundleIdentifier == 'com.apple.dt.Devices'"
The bundle identifier comes from the defaults domain in Apple's notes and from a bug report on the Argent project. Avoid assigning a combination that the device needs while Capture Keyboard is on.
Find the lines in your repo that assume Simulator.app
Shortcuts are annoying. Broken scripts cost more, because they fail somewhere nobody is watching. Expo CLI hit this directly: pressing i in npx expo start did nothing because the tool opened Simulator.app by name. Your own Makefile, Fastfile and CI steps may do the same thing. This script walks a repo and lists them:
#!/usr/bin/env python3
"""List lines in a repo that assume Simulator.app still exists."""
import os
import re
import sys
RULES = [
(r"open\s+(-a\s+)?[\"']?Simulator(\.app)?\b", "launch",
"Use open-sim.sh, or: open -b com.apple.dt.Devices"),
(r"(killall|pkill)\s+(-\w+\s+)*[\"']?Simulator\b", "quit",
"xcrun simctl shutdown all"),
(r"tell application [\"']Simulator[\"']", "applescript",
"AppleScript aimed at Simulator: rewrite with simctl or devicectl"),
(r"Developer/Applications/Simulator\.app", "path",
"Hard-coded path that is gone in Xcode 27"),
(r"com\.apple\.iphonesimulator", "defaults",
"Check it: Device Hub's domain is com.apple.dt.Devices"),
(r"Library/PrivateFrameworks/SimulatorKit", "framework",
"SimulatorKit moved under Contents/SharedFrameworks"),
]
SKIP_DIRS = {".git", "node_modules", "Pods", "DerivedData", "build", ".build"}
SUFFIXES = (".sh", ".bash", ".zsh", ".rb", ".py", ".js", ".ts", ".mjs",
".json", ".yml", ".yaml", ".swift", ".toml",
".pbxproj", ".xcscheme", ".applescript")
NAMES = {"Fastfile", "Makefile", "Brewfile", "Justfile"}
COMPILED = [(re.compile(p), kind, fix) for p, kind, fix in RULES]
def scan(root):
hits = []
for folder, dirs, files in os.walk(root):
dirs[:] = [d for d in dirs if d not in SKIP_DIRS]
for name in files:
if name not in NAMES and not name.endswith(SUFFIXES):
continue
path = os.path.join(folder, name)
try:
with open(path, encoding="utf-8", errors="ignore") as f:
lines = f.readlines()
except OSError:
continue
for number, line in enumerate(lines, 1):
for pattern, kind, fix in COMPILED:
if pattern.search(line):
rel = os.path.relpath(path, root)
hits.append((rel, number, kind, line.strip(), fix))
return sorted(hits)
def main():
root = sys.argv[1] if len(sys.argv) > 1 else "."
hits = scan(root)
for rel, number, kind, text, fix in hits:
print(f"{rel}:{number} [{kind}] {text[:80]}\n -> {fix}")
print(f"\n{len(hits)} line(s) to review")
return 1 if hits else 0
if __name__ == "__main__":
sys.exit(main())
Run it with python3 find_simulator_refs.py . from the repo root. It exits with status 1 if it found anything, so it can fail a CI step while you migrate. On a sample repo with shell scripts, a Fastfile, a package.json and a GitHub Actions workflow, it found all 11 planted lines and skipped node_modules, a README and an unrelated open -a Safari. It only reads the file types listed near the top, so add yours if you keep scripts somewhere unusual. It also misses anything built up at run time, such as a variable holding the app name.
A hit on com.apple.iphonesimulator needs a closer look. The Argent report says Xcode 27 no longer reads that domain, and for most keys that seems to be how it behaves. Apple's notes describe one exception: Device Hub checks ScreenShotSaveLocation there, after its own screenCaptureLocation and before the system-wide screenshot location. An old screenshot folder may keep working while your other preferences quietly do nothing.
One boot script for Xcode 26 and Xcode 27
If your team has both versions during the move, branch on whether the old app exists. A forum report notes that Simulator.app is gone from Contents/Developer/Applications, and that is the path this checks:
#!/bin/sh
# Boot a simulator by name and show it, on Xcode 26 or Xcode 27.
# Usage: open-sim.sh "iPhone 17"
set -eu
name="${1:?usage: open-sim.sh \"device name\"}"
udid=$(xcrun simctl list devices available -j | python3 -c '
import json, sys
wanted = sys.argv[1]
data = json.load(sys.stdin)
matches = [d["udid"] for group in data["devices"].values()
for d in group if d["name"] == wanted]
print(matches[-1] if matches else "")
' "$name")
if [ -z "$udid" ]; then
echo "No available simulator named: $name" >&2
exit 1
fi
# bootstatus -b boots the device if needed and waits until it is ready.
xcrun simctl bootstatus "$udid" -b
developer_dir=$(xcode-select -p)
if [ -d "$developer_dir/Applications/Simulator.app" ]; then
open -a Simulator --args -CurrentDeviceUDID "$udid"
else
open -b com.apple.dt.Devices
fi
echo "$udid"
With the stand-in commands, the script called open -b com.apple.dt.Devices when the old app folder was absent and open -a Simulator with the device ID when it was present. It exited with an error for a name that does not exist. When two runtimes have a device with the same name, it takes the last one in the list, which is usually the newer runtime but is not guaranteed. Pass a UDID if you need certainty. On Xcode 27, opening by bundle ID brings up the app, and the device you booted may still need selecting in the sidebar. Expo focuses the right device with a devices:// deep link, but Apple's documentation pages listed in Sources do not describe that URL, so this script leaves it out.
For headless CI you can drop the open lines completely. Apple's command line guide still says to start simulated devices with simctl.
The boot script and the scanner on an Xcode 26.2 Mac
Xcode 27 was not available on the Mac used for this check, but Xcode 26.2 was, which is the other half of the boot script and the starting point for the scanner. Both were run there.
open-sim.sh. It ran with the real xcrun, xcode-select and Python, and with a stand-in open that only logged its arguments, so no window opened. Asked for "iPhone 17 Pro", it booted the device, waited 44 seconds until bootstatus reported it ready, found Simulator.app under Contents/Developer/Applications, called open -a Simulator --args -CurrentDeviceUDID with the device's ID and printed the ID. Asked for a device that does not exist, it printed "No available simulator named: iPhone 99" and exited 1.
One detail is worth a look if you have several runtimes. On that Mac, simctl list devices available -j listed the iOS 26.2 runtime before iOS 18.0. The script takes the last match, so if the same device name existed in both runtimes, it would boot the iOS 18.0 one. No name was in both there, so it made no difference; if it might on your Mac, pick the runtime explicitly.
find_simulator_refs.py. A sample repo held the usual suspects: a Fastfile lane, a shell script with open -a Simulator.app, killall Simulator and a defaults write com.apple.iphonesimulator line, plus three places iOS projects often hide the same commands: a Run Script build phase in project.pbxproj, a scheme pre-action in an .xcscheme file, and an .applescript file. The first run found 5 lines and missed all three of those, because their file types were not in the list. The scanner above now reads .pbxproj, .xcscheme and .applescript files too, and the second run found 9 lines. A comment that mentioned open -a Simulator was reported as well, which is the kind of hit you read and skip.
The simctl help on Xcode 26.2 lists openurl, addmedia, push, io, ui and shutdown, so the commands in the next section work on both versions. It does not list reboot, which fits the note below that Xcode 27 added it.
Replace the menu items you lost with commands
simctl remains fully functional, according to Bitrise's notes on the Xcode 27 change. These commands cover most of what people did by hand, and the forms below follow a long-standing reference:
xcrun simctl openurl booted "https://example.com/deep/link"
xcrun simctl addmedia booted ~/Desktop/photo.png
xcrun simctl push <udid> com.example.MyApp ~/Downloads/notification.apns
xcrun simctl io booted screenshot ~/Desktop/shot.png
xcrun simctl io booted recordVideo ~/Desktop/run.mp4
xcrun simctl ui booted appearance dark
xcrun simctl shutdown all
simctl also gained a reboot command in Xcode 27, and devicectl accepts it as well. devicectl can now drive simulators too. Bitrise shows devicectl device settings appearance and devicectl device orientation set working against both kinds of device, though it warned that some file and profile commands failed on simulators during the early beta. Test those on your version.
If you script devicectl, Apple gives one firm rule: use --json-output and do not parse the Terminal text, "because the output may not be consistent in each release". The tool also supports sending that JSON to standard output since 27.0.
| Old habit | On Xcode 27 |
|---|---|
| Device > Shake | Broken in 27.0. Simulate Shake arrives in 27.2. |
| Slow animations | Device > Slow Animations in Apple's guide. The 27.2 notes list it for simulators only. |
| Memory warning | Device > Simulate Memory Warning, fixed in 27.2. |
| Drag a file or app onto the window | 27.3 beta. Before that, use simctl addmedia or simctl openurl, or install a third-party helper such as the free SimParcel. |
| Drag a .cer to trust a certificate | Collin Allen, quoted by Michael Tsai, says to add a .mobileconfig in the Profiles section of the device inspector. |
| Quit leaves nothing running | Craig Hockenberry saw CoreSimulator processes left behind. Use Shut Down from the sidebar or simctl shutdown all. 27.2 adds a Quit Behavior setting. |
RocketSim 16.5 also restored several of these commands, including Shake and appearance toggles, per iPhoneSoft's October write-up. That helps on 27.0 and 27.1 if you can't update yet. Once you are on 27.2, compare it against the built-in menus before paying for anything.
Tools that reach inside the simulator
Some breakage sits deeper than a launch command. The Argent report says the private SimulatorKit framework moved to Xcode.app/Contents/SharedFrameworks/, so a prebuilt helper looking in the old Developer/Library/PrivateFrameworks/ path fails to load, even though booting still reports success. The symptom there was screenshots and touch tools failing while boot-device looked fine. If a third-party tool breaks only after boot, check its release notes for Xcode 27 support before you start debugging your own project.
Custom device sets are another gap. A July forum post reports that simulators started from a simctl device set run headless and do not appear in Device Hub, and that open -a DeviceHub.app --args -DeviceSetPath ... ignores the argument. Nobody from Apple had answered when this was written, and the thread dates from the beta period, so retest on 27.2. Apple's docs do say the sidebar only shows simulators you added there or previously chose as run destinations, which explains some "my simulator vanished" reports.
Expo users have the simplest path. According to Expo, upgrading to SDK 58 is enough for expo start, expo run:ios and expo start --ios, with no configuration. SDK 58 also fixes expo run:ios treating simulators as physical devices. Expo's optional expo-device-hub plugin adds a local dashboard, though it is pre-1.0 and does not stream physical iOS devices yet.
AI agents have a related problem. A Cursor forum report from October, on Xcode 27.1, says Computer Use clicks on a Device Hub simulator did not register as taps while screenshots worked. Cursor staff said the clicks were not reaching the simulator and suggested sending taps through Maestro from the shell and using screenshots to check the result. If your agent loop depends on clicking a simulator window, test that loop before you rely on it overnight. Glasshand Rents Real iPhones to AI Agents is one way around it when an agent needs a device it can really tap.
Convert a downloaded app container
The Apps panel can download an app's data container, which is handy for reproducing a bug from a known state. In the 27.0 notes, Apple lists a known issue: the download lands in a folder named after the bundle identifier and is not an .xcappdata bundle that Xcode's Run action can use. The workaround is to rename the folder and move its contents into an AppData subfolder, which this does:
#!/usr/bin/env python3
"""Turn a Device Hub container download into an .xcappdata bundle."""
import os
import shutil
import sys
def convert(source):
source = source.rstrip("/")
target = source + ".xcappdata"
if os.path.exists(target):
sys.exit(f"Already exists: {target}")
os.rename(source, target)
app_data = os.path.join(target, "AppData")
os.mkdir(app_data)
for item in os.listdir(target):
if item != "AppData":
shutil.move(os.path.join(target, item), app_data)
return target
if __name__ == "__main__":
if len(sys.argv) != 2 or not os.path.isdir(sys.argv[1]):
sys.exit("usage: to_xcappdata.py path/to/com.example.MyApp")
print(convert(sys.argv[1]))
On a sample folder, com.example.MyApp/Documents became com.example.MyApp.xcappdata/AppData/Documents, matching the example in Apple's note. It refuses to run if the target already exists. The issue is not repeated in the 27.2 notes, so check whether your download is already in the right format before running it.
What still has no good answer
CarPlay is the hardest stop. Apple's 27.2 and 27.3 beta notes both say Device Hub's CarPlay support needs a device physically connected over USB, and that the iOS Simulator is not supported for CarPlay. Rob Napier reported that this broke his team's testing. If CarPlay is part of your app, plan for a real device.
Gestures with three or more fingers are also limited. Through Sidecar or a Mac with Touch, only two touches reach the device, and more are read by macOS as a system gesture. Apple's workaround is to turn off touch gestures in Settings under Touch Display. The Touchscreen MacBook Pro Is Here: What to Fix in Your Mac App First covers what that Mac changes for your own apps.
Heavy resource use is reported but unresolved. One developer on an M1 MacBook Pro with 8GB of memory described DeviceHub, diskimagesiod and CoreDeviceService each taking 50 to 95 percent of a CPU, along with input that stopped responding. That thread had no replies and no Apple response when it was read, and one machine does not tell you how common this is. If it matches what you see, collect a sysdiagnose and file Feedback.
Missing simulator runtimes are a separate headache. In another thread, developers on macOS 27.0 and 27.0.1 saw "No Runtimes Available". The original poster got simulators back by removing and re-downloading runtimes in Xcode's Components settings and rebooting, though only iOS 26.0 returned for them. Run xcrun simctl runtime list first so you know what the system thinks is installed. One commenter credited restoring Full Security in Startup Security Utility. That changes your Mac's boot security, nobody at Apple confirmed it, and other posters did not report the same result, so treat it as a last resort.
Should you keep Xcode 26 around?
Some developers do. In the "Device Hub sucks" thread, posters said an iOS 27 runtime runs fine in Xcode 26's Simulator app, and one keeps a second copy of Xcode 26 for screenshots. That thread is from July, during the beta, so its complaints do not all apply to 27.2. A spare Xcode is a reasonable safety net for a team that depends on one missing feature, but it is a stopgap, and it means two toolchains to keep track of.
An order of work that holds up
- Run
xcodebuild -versionon every machine and CI image. Move what you can to 27.2. - Set Keyboard Shortcut Behavior in Device Hub's Settings, or use Apple's
defaultscommand on older versions. - Run
find_simulator_refs.pyand fix each hit. - Replace launches with
open-sim.shlocally and plainsimctlin CI. - Update Expo to SDK 58 and any third-party tool that touches the simulator.
- List what you still can't do, such as CarPlay, and make sure a real device covers it.
If you use Claude Code on an iOS project, Jerry PM's Gumroad store has a paid kit for that setup: Claude Code + Xcode: The Production iOS Workflow Kit. Its product page describes it as a way to stop re-explaining your iOS codebase to Claude, since coding tools often don't know a project's architecture or who owns which state. It is a general workflow product and it isn't a Device Hub fix, so read the page to see whether it matches what you need.
Keep reading on JR Devhub
Sources
- Apple: Device Hub documentation
- Apple: Xcode 27 release notes
- Apple: Xcode 27.1 release notes
- Apple: Xcode 27.2 release notes
- Apple: Xcode 27.3 beta release notes
- Apple: Interacting with your app in Device Hub
- Apple: Interacting with devices using the command line
- Apple: Capturing screenshots and videos from devices
- Apple: Managing your simulated and physical devices in Device Hub
- Apple: Get the most out of Device Hub, WWDC26
- Apple Support: Create keyboard shortcuts for apps on Mac
- Apple Developer Forums: Device Hub sucks
- Apple Developer Forums: CPU usage and broken shortcuts report
- Apple Developer Forums: DeviceHub and simctl device sets
- Apple Developer Forums: missing simulator runtimes
- Expo: Xcode 27 and Device Hub
- Bitrise: Device Hub and CI/CD
- Michael Tsai: Xcode 27's Device Hub
- Kris Slazinski: How to re-enable keyboard shortcuts in Device Hub
- Argent issue 406
- Cursor forum: Computer Use clicks on Device Hub
- iPhoneSoft: RocketSim and Xcode 27
- Notificare: Using iOS Simulator with the command line

Comments