11/22/2023 0 Comments Build xcode project from command line![]() It is puzzling and also suggests that when I try to remove all command line tools, the ones left in my /usr/bin are the ones which do not come with Xcode. ![]() So, running xcodebuild which comes pre-installed with Xcode produces no error, but the one from the command line tools does produce the error. If I install command line tools using xcode-select -install and go to /Library/Developer/CommandLineTools/usr/bin running xcodebuild from that location does produce the same error. And xcodebuild was still located in /usr/bin. The strange thing is, once I followed all the steps, running xcodebuild command produced the same result as before. I tried following this guide to uninstall Xcode and all command line build tools completely. I am running Xcode 9.4.1 and macOS High Sierra 10.13.5. Performing sudo xcode-select -switch /Applications/Xcode.app/Contents/Developer/.Performing sudo xcode-select -switch /Library/Developer/CommandLineTools/.Uninstalling command line tools located in /Library/Developer/CommandLineTools/.Installing command line tools using xcode-select -install.xcodebuild I do not get the error above. Strangely, if I go to /Applications/Xcode.app/Contents/Developer/usr/bin and call. When I run xcode-select -p I get /Applications/Xcode.app/Contents/Developer. ![]() When I run which xcodebuild I get /usr/bin/xcodebuild. Whenever I run any xcodebuild command in terminal (even xcodebuild with no parameters) I get the following error: dyld: Library not loaded: from: /usr/bin/xcodebuild After I used migration assistant to migrate data from my old mac to a new one I can no longer use Xcode command line tools.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |