Command line developer tools10/13/2023 ![]() ![]() I also tried sudo ln -s /Applications/Xcode.app/Contents/Developer/usr/bin/python3.8 /Applications/Xcode.app/Contents/Developer/usr/bin/pythonĪs I noticed there's python3.8 in Xcode's folder but that didn't work either. I tried: sudo ln -s /Applications/Xcode.app/Contents/Developer/usr/bin/python3 /Applications/Xcode.app/Contents/Developer/usr/bin/pythonĪnd sudo ln -s /Library/Developer/CommandLineTools/usr/bin/python3 /Library/Developer/CommandLineTools/usr/bin/python Xcode-select -p results in /Applications/Xcode.app/Contents/Developer So I went that path, installed it globally and set env into my shell. Later found an article where the author suggested installing python using pyenv. While it seems like macOS 12.5 ships with python3 already none of the options worked me. ![]() Click install, it finishes, running ns doctor ios and starting over. #Command line developer tools install#Tested my configuration with ns doctor ios - it complained about missing python and Xcode dialog prompted me to install python. Then did python3 -m pip install -upgrade pip and python3 -m pip install six. xcode-select -install xcode-select: note: install requested for command line developer tools. Here is an example session when I install Xcode command-line tools. The following list of utilities can be found in /Developer/Tools after you have installed the Developer Tools. What you need is to enter the following command. First I followed the suggestion from NativeScript docs ( ) and ran sudo ln -s $(which python3) /usr/local/bin/python which created an alias for python 2.x. By using this command, you can download and install the latest Xcode command-line tools. I reset my Mac and reinstalled macOS so a fresh setup was used. After reading on various threads about using xcode-select -install and xcode-select -reset to get the download of xcode and the mac developer tools going. As scary as it might look, the solution seems seeminly simply. #Command line developer tools archive#I'm building an app using NativeScript and I can't release the app because every time I go to product > archive Xcode says "Python command requires the command line tools." When I agree to install it will look like it installed but then start over. Choose an option in the dialog to download the command line developer tools. ![]() My setup is 2021 MBP with M1 Pro processor, macOS 12.5 and Xcode 13.4.1. ![]()
0 Comments
Leave a Reply.AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |