Open rricamar opened 10 months ago
Hey, we're running in to the same error at this moment. Did you find any solution?
Hey, we're running in to the same error at this moment. Did you find any solution?
Hi @dirkkelderman, sorry for the late response.
In the end, it was a problem with my Xcode installation. It is more likely to happen if you have had various versions or have been playing intensively by removing and adding simulators.
Some workmates with a fresh Xcode installation had it working without any problems. Anyway, at least for me, I prefer manually to launch the app from the Xcode, since it has all the logging and editor features, giving the developer more overall control.
The issue got completely ignored by the Capacitor team 😢 so I hope it helps 🙏
Bug Report
Capacitor Version
Platform(s)
iOS
Current Behavior
When I try to run
npx cap run ios
it doesn't work/provide any information about the given error:Expected Behavior
npx cap run ios
should deploy the iOS project into one of the simulators.Code Reproduction
Reproduced in a fresh capacitor installation, no minimal sample is required.
Other Technical Details
npm --version
output: 10.2.5node --version
output: v20.10.0pod --version
output (iOS issues only): 1.14.3Additional Context
I suspect that
native-run
is not able to find any simulator. In another Ionic project that I have, the information that the Ionic wrapper provides is more specific (ionic cap run ios --verbose
):But, according to
xcrun simctl list
:Note: If I open the native iOS project by running
npx cap open ios
and I run directly on the given simulator, it works fine.