Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-28228

Add support for xcframeworks

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Duplicate
    • Not Evaluated
    • None
    • Qt Creator 8.0.1
    • None
    • iOS/tvOS/watchOS, macOS

    Description

      An increasing number of iOS/macOS frameworks is shipped in the ".xcframework" structure/format.

      In qmake we can easily use xcframeworks as follows:

      embedFramework.files = /path/Libraries/xcframeworks/Purchases.xcframework
      embedFramework.path = Frameworks
      QMAKE_BUNDLE_DATA += embedFramework
      LIBS += -framework Purchases
      QMAKE_LFLAGS += -F/path/Libraries/xcframeworks/Purchases.xcframework
      

      In cmake there is similar functionality but this works only with normal ".frameworks" but not with xcframeworks:

      set_property(TARGET MyAppProject PROPERTY
          XCODE_EMBED_FRAMEWORKS /path/Libraries/xcframeworks/Purchases.xcframework
      )
      target_link_libraries(MyAppProject PUBLIC
          "-framework Purchases"
      )
      

      Attachments

        Issue Links

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

          Activity

            People

              cadam Cristian Adam
              Harald Meyer Harald Meyer
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes