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. Do not build on MacOS SDK 10.15 (XCode 11): No rule to make target `Project1'. Stop.
Forum Update on Monday, May 27th 2025

Do not build on MacOS SDK 10.15 (XCode 11): No rule to make target `Project1'. Stop.

Scheduled Pinned Locked Moved Solved General and Desktop
7 Posts 3 Posters 4.0k Views
  • 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.
  • B Offline
    B Offline
    bogong
    wrote on last edited by bogong
    #1

    Hello all!
    If you updated on XCode 11 (SDK 10.15 for MacOS) version you will get this error:

    19:11:19: Running steps for project Project1...
    19:11:19: Starting: "/usr/bin/make" clean -j8
    make: *** No rule to make target `Project1'.  Stop.
    The platform SDK has been changed from version 10.14 to version 10.15.
    This requires a fresh build. Please wipe the build directory completely,
    including any .qmake.stash and .qmake.cache files generated by qmake.
    /Users/alexandr/Tools/qt/5.13.1/clang_64/mkspecs/features/mac/sdk.mk:22: *** ^.  Stop.
    19:11:20: The process "/usr/bin/make" exited with code 2.
    Error while building/deploying project Project1 (kit: Desktop Qt 5.13.1 clang 64bit)
    When executing step "Make"
    

    and this:

    Project WARNING: Qt has only been tested with version 10.14 of the platform SDK, you're using 10.15.
    Project WARNING: This is an unsupported configuration. You may experience build issues, and by using
    Project WARNING: the 10.15 SDK you are opting in to new features that Qt has not been prepared for.
    Project WARNING: Please downgrade the SDK you use to build your app to version 10.14, or configure
    Project WARNING: with CONFIG+=sdk_no_version_check when running qmake to silence this warning.
    

    "Clean all" will not help you. Only manual killing in shell .qmake.stash in the build-directory and after it running qmake again will solve this issue.

    https://bugreports.qt.io/browse/QTBUG-78653

    1 Reply Last reply
    1
    • B Offline
      B Offline
      bogong
      wrote on last edited by bogong
      #2

      The solution for now only downgrade for XCode 10.3 and wait for Qt bug-fixing. And DO NOT FORGET to clean all simulators and cache file everywhere and reinstall it too.

      1 Reply Last reply
      0
      • D Offline
        D Offline
        drhalftone
        wrote on last edited by
        #3

        No. The solution is to delete your build directory and start over. You can also add "CONFIG+=sdk_no_version_check" to your .pro file to get rid of that error message and save some time compiling. Now the issue that you will run into is that the debugger doesn't launch. The error message that you should extract from the debugger log:

        Traceback (most recent call last):
        File "<input>", line 1, in <module>
        NameError: name 'theDumper' is not defined

        D B O 3 Replies Last reply
        0
        • D drhalftone

          No. The solution is to delete your build directory and start over. You can also add "CONFIG+=sdk_no_version_check" to your .pro file to get rid of that error message and save some time compiling. Now the issue that you will run into is that the debugger doesn't launch. The error message that you should extract from the debugger log:

          Traceback (most recent call last):
          File "<input>", line 1, in <module>
          NameError: name 'theDumper' is not defined

          D Offline
          D Offline
          drhalftone
          wrote on last edited by
          #4

          @drhalftone When I say delete, I mean go to Finder and drag the entire folder to the track. And then go to the Finder menu and select empty trash.

          D 1 Reply Last reply
          0
          • D drhalftone

            @drhalftone When I say delete, I mean go to Finder and drag the entire folder to the track. And then go to the Finder menu and select empty trash.

            D Offline
            D Offline
            drhalftone
            wrote on last edited by
            #5

            @drhalftone Here is the fix for the debugger:

            https://stackoverflow.com/questions/58053623/qt-debugger-using-wrong-python-version-on-mac

            1 Reply Last reply
            0
            • D drhalftone

              No. The solution is to delete your build directory and start over. You can also add "CONFIG+=sdk_no_version_check" to your .pro file to get rid of that error message and save some time compiling. Now the issue that you will run into is that the debugger doesn't launch. The error message that you should extract from the debugger log:

              Traceback (most recent call last):
              File "<input>", line 1, in <module>
              NameError: name 'theDumper' is not defined

              B Offline
              B Offline
              bogong
              wrote on last edited by bogong
              #6

              @drhalftone it's not the solution ... it's suppressing sign of the problem. Beside all of it nothing about Python in my message ...

              1 Reply Last reply
              2
              • D drhalftone

                No. The solution is to delete your build directory and start over. You can also add "CONFIG+=sdk_no_version_check" to your .pro file to get rid of that error message and save some time compiling. Now the issue that you will run into is that the debugger doesn't launch. The error message that you should extract from the debugger log:

                Traceback (most recent call last):
                File "<input>", line 1, in <module>
                NameError: name 'theDumper' is not defined

                O Offline
                O Offline
                Otso
                wrote on last edited by
                #7

                @drhalftone Thank you! I had this issue after upgrading XCode. I deleted the build directory (in the terminal with rm -rf). After this Qt Creator was building again.

                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