[Bug]: cap run ios cannot open iOS simulators on Xcode 27
Capacitor Version
Capacitor Doctor
Latest Dependencies:
@capacitor/cli: 8.5.2 @capacitor/core: 8.5.2 @capacitor/android: 8.5.2 @capacitor/ios: 8.5.2
Installed Dependencies:
@capacitor/cli: 8.5.1 @capacitor/core: 8.5.1 @capacitor/android: 8.5.1 @capacitor/ios: 8.5.1
[success] iOS looking great! [success] Android looking great!
Other API Details
Xcode: 27
macOS: 27Platforms Affected
- iOS
- Android
- Web
Current Behavior
With Xcode 27, running:
npx cap run ios
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.
Source: ionic-team/capacitor