xcrun: error: unable to find utility "simctl
See original GitHub issueTell us about the problem
Can’t launch The Sidekick successfully or the tns devices
command, I get this error :
Connected devices & emulators
Searching for devices...
Error: Error while executing command 'xcrun simctl list devices'. Please ensure your tools are configured correctly. More info: xcrun: error: unable to find utility "simctl", not a developer tool or in PATH
at Simctl.simctlExec (/usr/local/lib/node_modules/nativescript/node_modules/ios-sim-portable/lib/simctl.js:116:19)
at Simctl.getDevices (/usr/local/lib/node_modules/nativescript/node_modules/ios-sim-portable/lib/simctl.js:51:31)
at XCodeSimctlSimulator.getBootedDevices (/usr/local/lib/node_modules/nativescript/node_modules/ios-sim-portable/lib/iphone-simulator-xcode-simctl.js:184:37)
at Timeout.setInterval [as _onTimeout] (/usr/local/lib/node_modules/nativescript/node_modules/ios-sim-portable/lib/ios-sim.js:39:63)
at ontimeout (timers.js:482:11)
at tryOnTimeout (timers.js:317:5)
at Timer.listOnTimeout (timers.js:277:5)
same error also comes out in the sidekick main logs.
Which platform(s) does your issue occur on?
Both
Please provide the following version numbers that your issue occurs with:
- CLI: 4.0.1
- Cross-platform modules: No project yet. just trying to run the sidekick to create a project using it.
- Runtime(s): No project yet. just trying to run the sidekick to create a project using it.
- Plugin(s): No project yet. just trying to run the sidekick to create a project using it.
Please tell us how to recreate the issue in as much detail as possible.
Install nativescript sidekick on macOS 10.13
Is there code involved? If so, please share the minimal amount of code needed to recreate the problem.
No code.
Issue Analytics
- State:
- Created 5 years ago
- Comments:5 (3 by maintainers)
Top Results From Across the Web
How do I fix the xcrun unable to find simctl error?
open terminal on your mac · type cd.. 2 times · Now go to /Applications/Xcode. · Now type ls, you will find sdk's...
Read more >How to Fix: xcrun: error: unable to find utility "simctl", not a ...
Xcode > Preferences > Location and if you see the Command Line Tools selector is empty you are at the right place. Thank...
Read more >Ios – How to fix the xcrun unable to find simctl error - iTecNote
Select the object in IB and go to the 'Connections Inspector'. · Under 'Referencing Outlets' make sure that your object isn't still connected...
Read more >Error running xcrun simctl and ValueError: No JSON object ...
xcrun: error: unable to find utility “simctl”, not a developer tool or in PATH. Something is wrong with the Xcode command line utilities....
Read more >simctl not working in Xcode 7.0 an… | Apple Developer Forums
$ xcrun simctl install $DEVICE $PATH An error was encountered processing the command (domain=NSPOSIXErrorDomain, code=2): Failed to install the requested ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Hey @moda20 , Can you try executing
xcodebuild -version
? I believe it will show an error that the Developer directory is not set correctly. If that’s the case, you can try executing:After that try executing
xcodebuild -version
again and if it works, you can try starting Sidekick again.Can you try this and inform us if it works?
@moda20, I’m closing this issue. Fell free to write here or open an another in case you have problems or questions.