Post

Replies

Boosts

Views

Activity

Reply to prompt keeps popping up asking me to install the command line developer tools
I've spent four days on this already. Reinstalled my system tried all of the mentioned above suggestions and a bunch more from stack overflow and it's still not working properly. I'm on macOS 12.5 and Xcode 13.4.1. 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. Xcode-select -p results in /Applications/Xcode.app/Contents/Developer I tried: sudo ln -s /Applications/Xcode.app/Contents/Developer/usr/bin/python3 /Applications/Xcode.app/Contents/Developer/usr/bin/python and sudo ln -s /Library/Developer/CommandLineTools/usr/bin/python3 /Library/Developer/CommandLineTools/usr/bin/python None helped. I also tried sudo ln -s /Applications/Xcode.app/Contents/Developer/usr/bin/python3.8 /Applications/Xcode.app/Contents/Developer/usr/bin/python as I noticed there's python3.8 in Xcode's folder but that didn't work either. I'm a bit confused why Xcode is looking for Xcode in it's own folder now and doesn't use python3 that comes with macOS. In addition to all of the above I also tried installing global version of Python using pyenvand followed the instructions listed on NativeScript docs https://docs.nativescript.org/environment-setup.html#macos-ios Please help
Aug ’22