Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. International
  3. Italian
  4. Installazione su macbook m1
Forum Updated to NodeBB v4.3 + New Features

Installazione su macbook m1

Scheduled Pinned Locked Moved Solved Italian
11 Posts 3 Posters 491 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    m77it
    wrote last edited by
    #2

    Ho trovato xcode.app in
    /Applications
    ma
    xcode-select--switch/Applications/Xcode.app

    mi restituisce

    zsh: no such file or directory: xcode-select--switch/Applications/Xcode.app

    jsulmJ 1 Reply Last reply
    0
    • M m77it

      Ho trovato xcode.app in
      /Applications
      ma
      xcode-select--switch/Applications/Xcode.app

      mi restituisce

      zsh: no such file or directory: xcode-select--switch/Applications/Xcode.app

      jsulmJ Offline
      jsulmJ Offline
      jsulm
      Lifetime Qt Champion
      wrote last edited by
      #3

      @m77it said in Installazione su macbook m1:

      xcode-select--switch/Applications/Xcode.app

      Shouldn't it be

      xcode-select --switch /Applications/Xcode.app
      ``
      ?

      https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      0
      • M Offline
        M Offline
        m77it
        wrote last edited by
        #4

        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 %

        jsulmJ 1 Reply Last reply
        0
        • M m77it

          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 %

          jsulmJ Offline
          jsulmJ Offline
          jsulm
          Lifetime Qt Champion
          wrote last edited by
          #5

          @m77it Again: it is xcode-select --switch /Applications/Xcode.app
          So, a space after xcode-select, one space after --switch. The last error message actually points that out...

          https://forum.qt.io/topic/113070/qt-code-of-conduct

          1 Reply Last reply
          0
          • M Offline
            M Offline
            m77it
            wrote last edited by
            #6

            Sorry. You're right...
            But now I receive this different error message

            You need to install Xcode. If you already have Xcode installed, you need to set the active developer directory with 'xcode-select'

            1 Reply Last reply
            0
            • SGaistS Offline
              SGaistS Offline
              SGaist
              Lifetime Qt Champion
              wrote last edited by SGaist
              #7

              Hi,

              Did you actually install Xcode ?

              Interested in AI ? www.idiap.ch
              Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

              1 Reply Last reply
              0
              • M Offline
                M Offline
                m77it
                wrote last edited by
                #8

                How can check?

                1 Reply Last reply
                0
                • SGaistS Offline
                  SGaistS Offline
                  SGaist
                  Lifetime Qt Champion
                  wrote last edited by
                  #9

                  Does your Application folder contain it ?
                  You can also check the App Store since it's the official way to install the latest version of Xcode.

                  Interested in AI ? www.idiap.ch
                  Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                  1 Reply Last reply
                  0
                  • M Offline
                    M Offline
                    m77it
                    wrote last edited by
                    #10

                    The folder contains files, but I reinstalled Xcode and now Qt works fine :)
                    Thanks a lot for your kind help :)

                    1 Reply Last reply
                    0
                    • SGaistS Offline
                      SGaistS Offline
                      SGaist
                      Lifetime Qt Champion
                      wrote last edited by
                      #11

                      You're welcome !

                      Since you have it working now, please mark the thread as solved using the "Topic Tools" button or the three dotted menu beside the answer you deem correct so other forum members may know a solution has been found :-)

                      Interested in AI ? www.idiap.ch
                      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                      1 Reply Last reply
                      0
                      • M m77it has marked this topic as solved

                      • Login

                      • Login or register to search.
                      • First post
                        Last post
                      0
                      • Categories
                      • Recent
                      • Tags
                      • Popular
                      • Users
                      • Groups
                      • Search
                      • Get Qt Extensions
                      • Unsolved