Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-116616

XCode build fails: traditional headermap style is no longer supported

    XMLWordPrintable

Details

    • Bug
    • Resolution: Incomplete
    • Not Evaluated
    • None
    • 6.5.3
    • Build tools: qmake
    • None
    • Qt Creator 11.0.1 Based on Qt 6.4.3 (Clang 13.0 (Apple), arm64)
      XCode Version 14.3.1 (14E300c), iOS target SDK 16.4
    • iOS/tvOS/watchOS

    Description

      When my QML app is built for iOS and opened in XCode Version 14.3.1 (14E300c), building fails producing the following warning:

      Traditional headermap style is no longer supported; please migrate to using separate headermaps and set 'ALWAYS_SEARCH_USER_PATHS' to NO.

      I have not changed the default build settings, so qmake is used to build the application with the default parameters set by QtCreator 11.0.1.

      I found the following QTBUG from last year that seems to deal with the same issue: https://bugreports.qt.io/browse/QTBUG-104396

      Reading the last comment here it seems that the issue wasn't entirely solved, however the bug was closed. I have not tried any of the suggested temporary bugfixes, as I don't entirely understand how the connection between building in Qt Creator and XCode works exactly (and how the static and dynamic linking and headermaps work). Two evenings of googling didn't get me closer to the current state of this issue.

      So my question is: Has this been fixed, and if so - what am I doing wrong? And if not, what kinds of workarounds are the recommended way to fix this now one year later?

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            qtbuildsystem Qt Build System Team
            randsfjorden Lukas Neuenschwander
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes