Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Xcode not set up properly. You may need to confirm the license agreement by running /usr/bin/xcodebuild without arguments.

Xcode not set up properly. You may need to confirm the license agreement by running /usr/bin/xcodebuild without arguments.

Scheduled Pinned Locked Moved Solved General and Desktop
6 Posts 2 Posters 3.6k Views 2 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
    Milutin Mrkonjic
    wrote on last edited by Milutin Mrkonjic
    #1

    I have this error when I start to build QtLibraries, on mac, El Capitan.

    XCode is installed from Apple Store. Work nice.

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

      Hi and welcome to devnet,

      Did you do what's suggested ? i.e. call /usr/bin/xcodebuild in a Terminal session ?

      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
        Milutin Mrkonjic
        wrote on last edited by Milutin Mrkonjic
        #3

        Hi,

        thanks!

        Of course, I was do proposed action from error message as first attempt to solve problem :)

        I think that I found what is error.

        I have El Capitan and 10.11 sdk.

        But target for my app is 10.7.

        Now I must to find solution to add all other sdk's.

        Is it possible to install earlier version of XCode, and get older SDKs?

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

          Or currently just set the target SDK to the one you have. Set QMAKE_MACOSX_DEPLOYMENT_TARGET to something more recent

          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
            Milutin Mrkonjic
            wrote on last edited by
            #5

            Hm, I must to set target 10.7 :|

            I was fixed that with SDK 10.7.

            But now I was have new problem with Qt build (I was always build Qt with project):
            /QtLibraries/qtbase/src/tools/qlalr/lalr.cpp:241:1: error:
            declaration of anonymous struct must be a definition

            1 Reply Last reply
            0
            • M Offline
              M Offline
              Milutin Mrkonjic
              wrote on last edited by Milutin Mrkonjic
              #6

              I was solved also last error:

              https://codereview.qt-project.org/#/c/121545/

              El Capitano is pain in a.. for developing :)

              1 Reply Last reply
              0

              • Login

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