Installazione su macbook m1
-
Buongiorno,
quando installo qt su un macbook M1 ricevo il seguente messaggioThe required Xcode installation is not active
An Xcode installation was found in the Applications directory
However, you need to setup Xcode command line tools
To activate Xcode command line tools in your environment, run 'xcode-select--switch/path/to/Xcode.app' from the command lineOra immagino che al posto di path/to debba mettere il folder dove andare a cercare Xcode, ma come lo trovo?
Nel folder Applications non c'e'...
0 drwx------@ 7 marco staff 224 15 ott 13:51 ./
0 drwxr-xr-x+ 116 marco staff 3712 16 ott 10:16 ../
0 -rw-r--r--@ 1 marco staff 0 17 mar 2022 .localized
0 drwxr-xr-x@ 3 marco staff 96 3 ott 2024 BetterTouchTool.app/
0 drwx------@ 4 marco staff 128 15 set 23:21 Chrome Apps.localized/
8 -rw-rw-rw-@ 1 marco staff 948 15 ott 13:51 Qt Maintenance Tool.app
0 drwxr-xr-x 3 marco staff 96 6 set 2024 Spyder 6.app/Grazie
Marco -
Ho trovato xcode.app in
/Applications
ma
xcode-select--switch/Applications/Xcode.appmi restituisce
zsh: no such file or directory: xcode-select--switch/Applications/Xcode.app
@m77it said in Installazione su macbook m1:
xcode-select--switch/Applications/Xcode.app
Shouldn't it be
xcode-select --switch /Applications/Xcode.app `` ?
-
I don't think so
(base) marco@MacBook-Pro-di-Marco-4 /Applications % xcode-select--switch/Xcode.app
zsh: no such file or directory: xcode-select--switch/Xcode.app
(base) marco@MacBook-Pro-di-Marco-4 /Applications % xcode-select --switch/Xcode.app
xcode-select: error: invalid argument '--switch/Xcode.app'
Usage: xcode-select [options]Print or change the path to the active developer directory. This directory
controls which tools are used for the Xcode command line tools (for example,
xcodebuild) as well as the BSD development commands (such as cc and make).Options:
-h, --help print this help message and exit
-p, --print-path print the path of the active developer directory
-s <path>, --switch <path> set the path for the active developer directory
--install open a dialog for installation of the command line developer tools
-v, --version print the xcode-select version
-r, --reset reset to the default command line tools path
(base) marco@MacBook-Pro-di-Marco-4 /Applications % -
I don't think so
(base) marco@MacBook-Pro-di-Marco-4 /Applications % xcode-select--switch/Xcode.app
zsh: no such file or directory: xcode-select--switch/Xcode.app
(base) marco@MacBook-Pro-di-Marco-4 /Applications % xcode-select --switch/Xcode.app
xcode-select: error: invalid argument '--switch/Xcode.app'
Usage: xcode-select [options]Print or change the path to the active developer directory. This directory
controls which tools are used for the Xcode command line tools (for example,
xcodebuild) as well as the BSD development commands (such as cc and make).Options:
-h, --help print this help message and exit
-p, --print-path print the path of the active developer directory
-s <path>, --switch <path> set the path for the active developer directory
--install open a dialog for installation of the command line developer tools
-v, --version print the xcode-select version
-r, --reset reset to the default command line tools path
(base) marco@MacBook-Pro-di-Marco-4 /Applications %