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

qt_add_ios_ffmpeg_libraries does not generate SwiftSupport folder so AppStore rejects!

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P1: Critical
    • 6.8.1, 6.8.2, 6.9.0 FF
    • 6.8.0
    • Multimedia
    • None
    • iOS/tvOS/watchOS
    • 064f67cca (dev), a65c07e7f (6.8), 54428193d (6.8.1), d1a7a0fd8 (6.8.1)
    • Multimedia wk 43-44, Multimedia wk 47-48

    Description

      since 6.8.0 and qt_add_ios_ffmpeg_libraries(), this generates swift dylibs folder to by included in .xcarchive/Products/<myapp>.app/Frameworks/

      however, to be able to have the *dylib files there, then also this *.xcarchive MUST have folder SwiftSupport with corresponding (i think, or maybe other files?) files

       

      so, the issue is:

      • qt_add_ios_ffmpeg_libraries() in 6.8.0 generates those *.dylib files when archive via xcode is created
      • upload to appstore/testflight fails because SwiftSupport folder is missing (it actually passes, but couple minutes later when package is reprocessed on apple side, it sends email to developer with the error ITMS-90426: Invalid Swift Support

      there are plenty guides online how to fix this, however none of them works and cant work because its for basic swift support... however i dont think it applies to for dylibs generated by qt_add_ios_ffmpeg_libraries()

       

      files generated are:

       

      example not needed, just run new project via cmake, use 6.8.0, and put into cmake qt_add_ios_ffmpeg_libraries(${TARGET_NAME}).

      Then run Cmake, and open xcodeproj (or what is the name of generated project) via xcode

      You can properly build and deploy to device, howeve you are NOT ABLE to submit to testflight/appstore (well you can, however you will within minutes receive email with error above, and your submission is rejected)

       

      When i delete the frameworks folder form the archive, all is fine, app is submitted and appears in testflight/appstore, but app wont run as its missing these files.

       

      Correct behavious should be generated SwiftSupport folder with i dont know what content

       

      Please for P1 as we cant publish iOS apps

      once

      Attachments

        Issue Links

          For Gerrit Dashboard: QTBUG-130813
          # Subject Branch Project Status CR V

          Activity

            People

              tpochep Timur Pocheptsov
              shokarta Jiri Zaloudek
              Votes:
              5 Vote for this issue
              Watchers:
              11 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes