How to Fix xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools)

Software Engineer | Developer Advocate | Technical Writer | Content Creator
Search for a command to run...

Software Engineer | Developer Advocate | Technical Writer | Content Creator
No comments yet. Be the first to comment.
In this series, I'll discuss numerous bugs that I experienced when developing and delivering an application, as well as how I was able to resolve them.
gm! It's a bug fix. When I was trying to get records from the blockchain, I got an error, and I was worried that I wouldn't be able to read data from the chain into my decentralized app without connecting my wallet. How did I resolve this problem? 👇...
Step-by-Step Solidity Guide for Beginners: Building Your First Token

Prioritizing Depth Instead of Going with Trends

Cross-chain messaging allows seamless communication and interaction between different blockchain ecosystems, from Ethereum Virtual Machine (EVM)-based chains to Cosmos-based chains. Axelar has long been the best way to connect EVM and Cosmos chains v...

You have millions of unique images in your gallery, each representing a piece of private or personal data stored on your phone. After an incident, you lost your device, but it was returned to you after many months, with claims that the images hadn't ...

Marking a Year of Contributions to Axelar: Pioneering the Future of Interoperability

Gm! I trust you all are fine; it's a bug fix.
I ran into an issue on my Mac OS when installing a blockchain project using the Cosmos SDK, which runs on top of the Tendermint Core consensus engine.
After running the following command:
make install
I ran into the error as shown below:
xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/us
Please don't panic; you will learn how to fix it quickly.
To fix this error, open the terminal, and run the following command:
xcode-select --install
Why do we need to do this? The problem is that one needs to agree to the license agreement explicitly.
You may get an error message: "Can't install the software because it is not currently available from the Software Update server."
In this case, run the following command xcode-select --reset
It takes a couple of minutes to resolve this issue might be an hour for you; I hope you will fix it in less than 2 minutes.
Kindly Like and share with others. 😊
I'd love to connect with you on Twitter | LinkedIn | GitHub
See you in my next blog article. Take care!!!