Nominate our 2022 Qt Champions!

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

  • 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/ *** ^.  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.

  • 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.

  • 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

  • @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.

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

  • @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.

Log in to reply