apache/cordova-ios

Show [ios-sim] Simulator already running error if simulator is already running when execute cordova run ios

EzioLi01 opened this issue · 4 comments

Hey experts,

Please check this if it's a bug or the expected behavior. Thanks!

  1. Create sample app and add iOS platform
  2. Open simulator
  3. Execute cordova run ios in this target simulator
  4. Build successfully
  5. Show error [ios-sim] Simulator already running
  6. App cannot auto-open in simulator

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')