How to Fix the Xcrun Unable to Find Simctl Error

xcrun simctl status_bar not working in xcode 12

From Xcode 12b3 Release Notes: "simctl status bar overrides don’t work properly on simulated devices running iOS or iPadOS 13.6 or earlier. (63958080)"

Just got burned by this myself.

Error Running React Native App From Terminal (iOS)

Check out this link (Running react-native run-ios occurs an error?). It appears to be a problem with the location of Command line tools.

In Xcode, select Xcode menu, then Preferences, then Locations tab. Select your Xcode version from the dropdown and exit Xcode.

XCode location tab

Swift.org issue with open source swift project. Error: xcrun: error: unable to find utility launch-with-toolchain , not a developer tool or in PATH

The open source Swift toolchain from https://swift.org/download/#apple-platforms requires the latest Xcode 7.2 (currently: beta 4).

The location of the developer directory used by xcrun and other build tools must be set to this Xcode 7.2. This can be done from the command-line
with


sudo xcode-select -s /path/to/Xcode7.2-beta.app/Contents/Developer

or in the Xcode "Locations" preferences:

Sample Image

Unable to find utility actool: not a developer tool or in PATH - Unity

As already resolve in this question Command Line Tool - Error - xcrun: error: unable to find utility "xcodebuild", not a developer tool or in PATH ,

These are the steps in order to resolve the issue:

  • Open XCode
  • Preferences > Location
  • Command Line Tool: XCode <version>


Related Topics



Leave a reply



Submit