You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Bug]: cap run ios cannot open iOS simulators on Xcode 27聽#8620
fails when trying to open the selected iOS simulator.
Xcode 27 no longer includes Simulator.app and uses Device Hub instead, but cap run ios still attempts to open the removed application.
Expected Behavior
npx cap run ios should work with Xcode 27 and open the selected iOS simulator as expected.
Project Reproduction
N/A
Additional Information
@capacitor/cli uses native-run to run the app on the iOS simulator. The current simulator handling in native-run still expects Simulator.app to be available, which is no longer the case with Xcode 27.
This issue does not occur with previous Xcode versions where Simulator.app is still available.
It detects whether Simulator.app or Device Hub is available and uses the simulator UDID to open the requested simulator, without relying on Xcode version checks.
Activity
luisbytes commentedon Sep 22, 2026
I opened a PR in
native-runto add Xcode 27 support: ionic-team/native-run#408It detects whether
Simulator.appor Device Hub is available and uses the simulator UDID to open the requested simulator, without relying on Xcode version checks.luisbytes commentedon Sep 30, 2026
I鈥檓 leaving this patch here as a temporary workaround for the issue with Xcode 27.
To use it with pnpm, save the diff as
patches/native-run.patch, then add this to yourpnpm-workspace.yaml:Then run
pnpm installto apply the patch.luisbytes commentedon Oct 2, 2026
Hi @theproducer, could this be considered for the next release?