Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. -1: error: Project ERROR: Cannot run target compiler '/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++'. Output:
Forum Updated to NodeBB v4.3 + New Features

-1: error: Project ERROR: Cannot run target compiler '/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++'. Output:

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
4 Posts 3 Posters 427 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.
  • A Offline
    A Offline
    Amarjit123
    wrote on 5 Oct 2021, 07:26 last edited by
    #1

    Hello,

    I am building an ios project in Qt cretor. Previously it was working fine, before I updated my Xcode to the latest 13.0 .After Xcode upgradation I tried reinstalling Qt as well, still the same error persists. Also in Qt creator I can see the Reading project status as red.

    I am using Qt 5.14.2 and tried with many versions of Xcode. No luck in building in Qt creator to get a .xcodeproj which has to be deploy and run from Xcode.

    -1: error: Project ERROR: Cannot run target compiler '/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++'. Output:
    2: Error while parsing file project.pro Giving up.

    J 1 Reply Last reply 5 Oct 2021, 07:31
    0
    • A Amarjit123
      5 Oct 2021, 07:26

      Hello,

      I am building an ios project in Qt cretor. Previously it was working fine, before I updated my Xcode to the latest 13.0 .After Xcode upgradation I tried reinstalling Qt as well, still the same error persists. Also in Qt creator I can see the Reading project status as red.

      I am using Qt 5.14.2 and tried with many versions of Xcode. No luck in building in Qt creator to get a .xcodeproj which has to be deploy and run from Xcode.

      -1: error: Project ERROR: Cannot run target compiler '/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++'. Output:
      2: Error while parsing file project.pro Giving up.

      J Offline
      J Offline
      jsulm
      Lifetime Qt Champion
      wrote on 5 Oct 2021, 07:31 last edited by
      #2

      @Amarjit123 said in -1: error: Project ERROR: Cannot run target compiler '/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++'. Output::

      /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++

      Is this path correct?

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

      A 1 Reply Last reply 6 Oct 2021, 03:49
      0
      • J jsulm
        5 Oct 2021, 07:31

        @Amarjit123 said in -1: error: Project ERROR: Cannot run target compiler '/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++'. Output::

        /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++

        Is this path correct?

        A Offline
        A Offline
        Amarjit123
        wrote on 6 Oct 2021, 03:49 last edited by Amarjit123 10 Jun 2021, 03:52
        #3

        @jsulm Yes the path is correct, please Let me know how can I cross check. However when i go to /XcodeDefault.xctoolchain/ I cant see /usr/bin/clang++ . is this expected ?

        1 Reply Last reply
        0
        • S Offline
          S Offline
          SGaist
          Lifetime Qt Champion
          wrote on 6 Oct 2021, 19:19 last edited by
          #4

          Hi,

          Did you reinstall the command line tools ?

          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

          1/4

          5 Oct 2021, 07:26

          • Login

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