Show [ios-sim] Simulator already running error if simulator is already running when execute cordova run ios
EzioLi01 opened this issue · 4 comments
EzioLi01 commented
Hey experts,
Please check this if it's a bug or the expected behavior. Thanks!
- Create sample app and add iOS platform
- Open simulator
- Execute cordova run ios in this target simulator
- Build successfully
- Show error [ios-sim] Simulator already running
- App cannot auto-open in simulator
cgimenez commented
Hi ! Same problem here with latest cordova tooling, and no matter the ios simulator used
cordova emulate ios
[.. bunch of output]
** BUILD SUCCEEDED **
Deploying to simulator
No target specified for emulator. Deploying to "iPhone-SE-3rd-generation, 17.0" simulator.
[ios-sim] device.name: iPhone SE (3rd generation)
[ios-sim] device.runtime: iOS 17.0
[ios-sim] device.id: 5B995DC7-5578-438D-AB4E-EE4248886DBC
Error: Unhandled error. ('[ios-sim] Simulator already running.\n')