I am getting this error while building the SwiftJSON framework to the Some Xcode project through Carthage Dependency Manager.
Sivaramaiahs-Mac-mini:GZipDemoApp vsoftMacmini5$ carthage update
—platform iOS*** Fetching GzipSwift
*** Fetching SwiftyJSON
*** Checking out GzipSwift at «3.1.1»
*** Downloading SwiftyJSON.framework binary at «3.1.3»
*** xcodebuild output can be found in /var/folders/7m/y0r2mdhn0f16zz1nlt34ypzr0000gn/T/carthage-xcodebuild.apLXCc.log
A shell task (/usr/bin/xcrun xcodebuild -project
/Users/vsoftMacmini5/Desktop/GZipDemoApp/Carthage/Checkouts/GzipSwift/Gzip.xcodeproj
CODE_SIGNING_REQUIRED=NO CODE_SIGN_IDENTITY= CARTHAGE=YES -list)
failed with exit code 72:xcrun: error: unable to find utility «xcodebuild», not a developer
tool or in PATH
Tms91
3,1744 gold badges37 silver badges68 bronze badges
asked Nov 22, 2016 at 13:55
Sivaram YadavSivaram Yadav
3,0913 gold badges12 silver badges15 bronze badges
I solved that problem by setting the Command Line Tools in Xcode. Go to:
Xcode > Preferences > Locations
And select the command line tool from the dropdown. If you have only one version of Xcode installed, there should be only one option. If you have several versions of Xcode, then you must choose the one you need.
Update (added image for reference)
answered Jan 8, 2017 at 18:09
Adriana PinedaAdriana Pineda
9,0691 gold badge12 silver badges14 bronze badges
5
The simplest fix is from CLI:
sudo xcode-select -s /Applications/Xcode.app/Contents/Developer
(this should be path to your Xcode.app)
By the way this can happen even if you have only one version of Xcode . It happens when you instal homebrew before the first Xcode installation (which makes sense because you may want to install Xcode through mas install 497799835 and mas needs homebrew).
answered Oct 15, 2019 at 11:14
1
Following command worked for me
sudo xcode-select -s /Applications/Xcode.app/Contents/Developer
answered Mar 7, 2022 at 8:39
1
I am getting this error while building the SwiftJSON framework to the Some Xcode project through Carthage Dependency Manager.
Sivaramaiahs-Mac-mini:GZipDemoApp vsoftMacmini5$ carthage update
—platform iOS*** Fetching GzipSwift
*** Fetching SwiftyJSON
*** Checking out GzipSwift at «3.1.1»
*** Downloading SwiftyJSON.framework binary at «3.1.3»
*** xcodebuild output can be found in /var/folders/7m/y0r2mdhn0f16zz1nlt34ypzr0000gn/T/carthage-xcodebuild.apLXCc.log
A shell task (/usr/bin/xcrun xcodebuild -project
/Users/vsoftMacmini5/Desktop/GZipDemoApp/Carthage/Checkouts/GzipSwift/Gzip.xcodeproj
CODE_SIGNING_REQUIRED=NO CODE_SIGN_IDENTITY= CARTHAGE=YES -list)
failed with exit code 72:xcrun: error: unable to find utility «xcodebuild», not a developer
tool or in PATH
Tms91
3,1744 gold badges37 silver badges68 bronze badges
asked Nov 22, 2016 at 13:55
Sivaram YadavSivaram Yadav
3,0913 gold badges12 silver badges15 bronze badges
I solved that problem by setting the Command Line Tools in Xcode. Go to:
Xcode > Preferences > Locations
And select the command line tool from the dropdown. If you have only one version of Xcode installed, there should be only one option. If you have several versions of Xcode, then you must choose the one you need.
Update (added image for reference)
answered Jan 8, 2017 at 18:09
Adriana PinedaAdriana Pineda
9,0691 gold badge12 silver badges14 bronze badges
5
The simplest fix is from CLI:
sudo xcode-select -s /Applications/Xcode.app/Contents/Developer
(this should be path to your Xcode.app)
By the way this can happen even if you have only one version of Xcode . It happens when you instal homebrew before the first Xcode installation (which makes sense because you may want to install Xcode through mas install 497799835 and mas needs homebrew).
answered Oct 15, 2019 at 11:14
1
Following command worked for me
sudo xcode-select -s /Applications/Xcode.app/Contents/Developer
answered Mar 7, 2022 at 8:39
1
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'
if( aicp_can_see_ads() ) {
}
- 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.
if( aicp_can_see_ads() ) {
}
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
if( aicp_can_see_ads() ) {
}
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.
if( aicp_can_see_ads() ) {
}
Other Reads –
-
How to Update or Upgrade Gradle version in Android Studio?
-
GCP Google Cloud CLI – gcloud commands
-
Jupyter NoteBook Tutorial , Shortcut and Command Cheatsheet
-
Dataframe Operation Examples in PySpark
-
How To Enable – Idempotent Producer in Kafka ?
-
Fix Kafka Error – “Memory Allocation Error”
-
How to Send Large Messages in Kafka ?
-
How To Enable Kerberos in Cloudera Hadoop Cluster ?
-
GCP Google Cloud CLI – gcloud commands
-
Difference Between Spark Cluster & Client Deployment Modes
-
How To Save & Reload a Python Machine Learning Model using Pickle ?
-
How To Fix Python Error – UnicodeEncodeError: ‘ascii’ codec can’t encode character’
-
How to Handle Bad or Corrupt records in Apache Spark ?
-
How to Handle Errors and Exceptions in Python ?
-
List of Kafka Commands Cheatsheet
-
How To Mask – Confidential Info in Kafka Connect Logs ?
-
How To Create A Kerberos Keytab File ?
-
How To Enable Kerberos in Cloudera Hadoop Cluster ?
if( aicp_can_see_ads() ) {
}
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' ,
if( aicp_can_see_ads() ) {
}

