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

iOS built with CMAKE is not uploadable on Appstore (Transporter)

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P2: Important
    • 6.2.5, 6.5.4, 6.6.0
    • 6.5.1
    • Build System: CMake
    • None
    • Mac Ventura
    • iOS/tvOS/watchOS
    • 00c938441 (dev), 31927170c (6.6), 9a4d8cbb0 (6.5), c145334f9 (tqtc/lts-6.2), bf2587d9e (dev), 528e70b6d (dev), 370962315 (dev), 606839a1f (6.6), 619601bcb (6.6), 1790cbd60 (6.6), 0c281e095 (6.5), 008e9953d (6.5), 8f9203c22 (6.5)

    Description

      Hi , 

         i built app using CMake successfully for iOS, i followed the platform notes from here https://doc.qt.io/qt-6/ios-platform-notes.html , then after i created an .ipa file then try to upload , it fails with errors below 

       

      Asset validation failed (90713)
      Missing Info.plist value. A value for the Info.plist key 'CFBundleIconName' is missing in the bundle 'com.ncvi.cebotg'. Apps built with iOS 11 or later SDK must supply app icons in an asset catalog and must also provide a value for this Info.plist key. For more information see http://help.apple.com/xcode/mac/current/#/dev10510b1f7. (ID: ca994b0b-6c70-45e9-85b2-b433b916ee9f)

      Asset validation failed (90023)
      Missing required icon file. The bundle does not contain an app icon for iPad of exactly '167x167' pixels, in .png format for iOS versions supporting iPad Pro. To support older operating systems, the icon may be required in the bundle outside of an asset catalog. Make sure the Info.plist file includes appropriate entries referencing the file. See https://developer.apple.com/documentation/bundleresources/information_property_list/user_interface (ID: 9e331175-a395-47ec-b0c8-1ff8242d4f1e)

      Asset validation failed (90023)
      Missing required icon file. The bundle does not contain an app icon for iPad of exactly '152x152' pixels, in .png format for iOS versions >= 10.0. To support older operating systems, the icon may be required in the bundle outside of an asset catalog. Make sure the Info.plist file includes appropriate entries referencing the file. See https://developer.apple.com/documentation/bundleresources/information_property_list/user_interface (ID: f8f02979-04cd-41ca-9633-ee25e46b2d4e)

      Asset validation failed (90022)
      Missing required icon file. The bundle does not contain an app icon for iPhone / iPod Touch of exactly '120x120' pixels, in .png format for iOS versions >= 10.0. To support older versions of iOS, the icon may be required in the bundle outside of an asset catalog. Make sure the Info.plist file includes appropriate entries referencing the file. See https://developer.apple.com/documentation/bundleresources/information_property_list/user_interface (ID: 271a7fc8-5fc4-46ea-8382-9c1c3cb4542e)

       

       

      as i mentioned i followed the platform notes , i included all AppIcons needed but still failing

       

      below is the specific line i included on my Cmake file 

       

      set_target_properties(app PROPERTIES
        MACOSX_BUNDLE TRUE
        MACOSX_BUNDLE_INFO_PLIST "${CMAKE_CURRENT_SOURCE_DIR}/platform/ios_src/Info.plist"
        QT_IOS_LAUNCH_SCREEN "${CMAKE_CURRENT_SOURCE_DIR}/platform/ios_src/LaunchScreen.storyboard"

        MACOSX_BUNDLE_GUI_IDENTIFIER com.my.app
        MACOSX_BUNDLE_BUNDLE_VERSION ${PROJECT_VERSION}
        MACOSX_BUNDLE_SHORT_VERSION_STRING ${PROJECT_VERSION_MAJOR}.${PROJECT_VERSION_MINOR}

        )
      set(asset_catalog "platform/ios_src/Assets.xcassets")
      target_sources(app PRIVATE ${asset_catalog})
      set_source_files_properties(
        ${asset_catalog} PROPERTIES MACOSX_PACKAGE_LOCATION Resources
      )
      file(GLOB_RECURSE app_icons CONFIGURE_DEPENDS "extra/Images/.png")*
      if(IOS AND app_icons)
          target_sources(app PRIVATE ${app_icons})
          set_source_files_properties(
              ${app_icons}
              PROPERTIES MACOSX_PACKAGE_LOCATION Resources)
      endif()

       

      any help? 

      btw i already created before an ios app but that time i were using qmake using qmake was successful . i notice a bit difference whiile investigating , i notice the assets.car included from build using xcrun command AppIcon folder is not included on the folder 

      but using qmake , it includes the AppIcon files from AppIcon.appiconset folder 

      the difference from the setup is qmake has an option to include AppIcon using QMAKE_ASSET_CATALOP_APP_ICON ="AppIcon"  on CMAKE this is missing , 

      Attachments

        1. Payload.cmake.zip
          10.39 MB
        2. Payload.qmake.zip
          12.37 MB

        Issue Links

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

          Activity

            People

              alexandru.croitor Alexandru Croitor
              jhayar Jhay Tolentino
              Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: