DevOps | Cloud | Analytics | Open Source | Programming





How To Fix - Error: Unable To Find Utility Instruments, Not A Developer Tool or In PATH ?



In this post, we will see How To Fix - "Error: Unable To Find Utility "Instruments", Not A Developer Tool or In PATH".  


xcrun: error: unable to find utility "instruments", not a developer 
tool or in PATH


xcrun: error: unable to find utility "instruments", not a developer 
tool or in PATH


xcrun: error: Failed to locate 'instruments'

 

  • First thing first , if you are using an older version, do note that - "instruments" util was deprecated from Xcode12 onwards (and hence not present in Xcode13).
  • Older React Native CLI might be using that.
  • However in latest React Native code,  it is replaced with a simctl command
  • It is advisable to avoid using xcrun instruments in Xcode12.
  • Instead use xcrun xctrace.
  • Also you would need Xcode to run React Native code.
  Missing all the above pointers, while you try to build project using below command, it fails with above error.


react-native run-ios

  Let's try the below options to fix the error.  

Check:

Before you proceed, quit any of the existing simulator process.

  • Quit the simulator
  • Quit the Xcode
  Once you done with the above checks, proceed with the next steps.  

Option 1 :

  • Copy xcode instruments (if available).
  • And place in the xcode directory.
  • Then build the project.

react-native run-ios

   

Option 2 :

  • Install the xcode command line tools.

xcode-select --install

sudo xcodebuild -license accept 



 

  • After installing Xcode, sometimes CLI is not set. So you would need to do extra step.
 

  • Once xcode is installed, open the Xcode menu.  Go to Preferences --> Locations tab.
 

  • You need to set the Xcode version from dropdown against the Command Line Tools. Otherwise the command line tools will be blank.
 

  • Once you are done with the above steps, run the below -

react-native run-ios

  Hope this helps to solve the issue.    

Other Reads -

     


failed to locate 'instruments' ,failed to locate 'instruments' react native ,xcrun: error: unable to find utility "simctl", not a developer tool or in path ,xcode 13 unable to find utility "instruments", not a developer tool or in path ,unable to find utility instruments'', not a developer tool or in path react native ,xcode 13 xcrun: error: unable to find utility "instruments", not a developer tool or in path ,command failed: xcrun instruments -s ,xcrun instruments -s devices ,xcrun: error: unable to find utility "instruments" xcode 13 ,xcrun: error: failed to locate 'instruments xcode 13 ,failed to locate 'instruments' ,failed to locate 'instruments' react native ,error failed to locate 'instruments' ,xcrun error failed to locate 'instruments' ,instruments error failed to locate 'instruments' ,xcode-select failed to locate 'instruments' ,failed to locate 'instruments' xcode 13 ,error instruments error failed to locate 'instruments' ,error unable to find utility instruments not a developer tool or in path ,xcode 13 xcrun error failed to locate 'instruments' ,xcrun error failed to locate 'instruments'. xcode 13 ,xcrun error unable to find utility instruments not a developer tool or in path xcode 13 ,xcrun error unable to find utility instruments not a developer tool or in path react native ,xcrun error unable to find utility instruments not a developer tool or in path ,xcrun: error: unable to find utility "instruments" ,xcrun error unable to find utility instruments not a developer tool or in path ,xcrun error unable to find utility instruments xcode 13 ,xcrun error unable to find utility instruments ,xcrun error unable to find utility xcodebuild ,xcrun error unable to find utility packageapplication not a developer tool or in path ,xcrun error unable to find utility xctest , , , , , , ,xcrun error invalid active developer ,xcrun error active developer path ,xcrun error failed to locate 'instruments' ,xcrun error missing developer\_dir path ,xcrun error vscode ,error unable to find utility instruments not a developer tool or in path ,unable to find utility instruments ,xcrun error unable to find utility instruments ,xcrun error unable to find utility instruments command line ,xcrun error unable to find utility instruments configuration ,xcrun error unable to find utility instruments eclipse ,xcrun error unable to find utility instruments error ,xcrun error unable to find utility instruments exception ,xcrun error unable to find utility instruments exe ,xcrun error unable to find utility instruments file ,xcrun error unable to find utility instruments found ,xcrun error unable to find utility instruments gcp ,xcrun error unable to find utility instruments git ,xcrun error unable to find utility instruments hp ,xcrun error unable to find utility instruments jar ,xcrun error unable to find utility instruments java ,xcrun error unable to find utility instruments jdk ,xcrun error unable to find utility instruments kali ,xcrun error unable to find utility instruments kali linux ,xcrun error unable to find utility instruments keras ,xcrun error unable to find utility instruments kernel ,xcrun error unable to find utility instruments key ,xcrun error unable to find utility instruments latest version ,xcrun error unable to find utility instruments library ,xcrun error unable to find utility instruments license ,xcrun error unable to find utility instruments location ,xcrun error unable to find utility instruments mac ,xcrun error unable to find utility instruments manager ,xcrun error unable to find utility instruments maven ,xcrun error unable to find utility instruments missing ,xcrun error unable to find utility instruments module ,xcrun error unable to find utility instruments not a developer tool or in path ,xcrun error unable to find utility instruments not a developer tool or in path react native ,xcrun error unable to find utility instruments not a developer tool or in path xcode 13 ,xcrun error unable to find utility instruments query ,xcrun error unable to find utility instruments quest ,xcrun error unable to find utility instruments queue ,xcrun error unable to find utility instruments registry ,xcrun error unable to find utility instruments report ,xcrun error unable to find utility instruments runtime ,xcrun error unable to find utility instruments servicenow ,xcrun error unable to find utility instruments ubuntu ,xcrun error unable to find utility instruments update ,xcrun error unable to find utility instruments utility ,xcrun error unable to find utility instruments video ,xcrun error unable to find utility instruments windows ,xcrun error unable to find utility instruments windows 7 ,xcrun error unable to find utility instruments xcode 13 ,xcrun error unable to find utility instruments yaml ,xcrun error unable to find utility instruments youtube ,xcrun error unable to find utility instruments zip ,xcrun error unable to find utility instruments zip file ,xcrun error unable to find utility instruments zone ,xcrun error unable to find utility instruments zoom ,error failed to locate 'instruments' ,failed to locate 'instruments' ,failed to locate 'instruments' failed ,failed to locate 'instruments' file ,failed to locate 'instruments' java ,failed to locate 'instruments' javascript ,failed to locate 'instruments' jquery ,failed to locate 'instruments' not found ,failed to locate 'instruments' not working ,failed to locate 'instruments' permission denied ,failed to locate 'instruments' query ,failed to locate 'instruments' queue ,failed to locate 'instruments' react native ,failed to locate 'instruments' update ,failed to locate 'instruments' video ,failed to locate 'instruments' xcode 13 ,failed to locate 'instruments' yaml ,failed to locate 'instruments' youtube ,failed to locate 'instruments' zip ,failed to locate 'instruments' zip file ,failed to locate 'instruments' zoom ,instruments error failed to locate 'instruments' ,xcode 13 xcrun error failed to locate 'instruments' ,xcode-select failed to locate 'instruments' ,xcrun error failed to locate 'instruments' ,