Uploaded image for project: 'Qt Quality Assurance Infrastructure'
  1. Qt Quality Assurance Infrastructure
  2. QTQAINFRA-6774

macOS 14 and 15 are missing iOS platform simulator

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P1: Critical P1: Critical
    • None
    • 6.8
    • None
    • macOS
    • 1f6f97a14 (dev), dc1f9e060 (6.9), f4f826682 (6.8)

      Starting with Xcode 15 which runs on macOS 14, the iOS platform simulator is not installed by default anymore, and needs to be manually downloaded and installed.

      Confirmed by connecting via VNC to a macOS 14 VM, and looking at the xcode platforms settings, attached a screenshot.

      The missing simulator prevents running cmake iOS build tests, as discovered on

      https://codereview.qt-project.org/c/qt/qt5/+/603424

      https://testresults.qt.io/coin/integration/qt/qt5/tasks/1731392092

      https://testresults.qt.io/coin/log/qt/qtbase/6d925f3b28c423afabac662e118a8d7e9f4bff8b/MacOSMacOS_14arm64IOSIOS_ANYarm64Clangqtci-macos-14-arm-106-1a1f32DebugAndRelease_MinimalStaticTests_Sccache_UseConfigure/86aabc0c7ba4885d0da887d6db431226f9977f36/test_1731392191

      The error below happens when building the test_build_simple_widget_app test

      /Applications/Xcode15.app/Contents/Developer/usr/bin/ibtool --errors --warnings --notices --module simple_widget_app --output-partial-info-plist /Users/qt/work/qt/qtbase_standalone_tests/tests/auto/cmake/test_build_simple_widget_app/build/simple_widget_app.build/Debug-iphonesimulator/LaunchScreen-SBPartialInfo.plist --auto-activate-custom-fonts --target-device iphone --target-device ipad --minimum-deployment-target 16 --output-format human-readable-text --compilation-directory /Users/qt/work/qt/qtbase_standalone_tests/tests/auto/cmake/test_build_simple_widget_app/build/simple_widget_app.build/Debug-iphonesimulator /Users/qt/work/qt/qtbase_standalone_tests/tests/auto/cmake/test_build_simple_widget_app/.qt/launch_screen_storyboards/simple_widget_app/LaunchScreen.storyboard
      
       /* com.apple.ibtool.errors */
      
      /Users/qt/work/qt/qtbase_standalone_tests/tests/auto/cmake/test_build_simple_widget_app/.qt/launch_screen_storyboards/simple_widget_app/LaunchScreen.storyboard: 
      
      error: iOS 17.4 Platform Not Installed.
      

      We should provision the platform simulator in our vm image, so that
      https://codereview.qt-project.org/c/qt/qt5/+/603424
      and subsequently
      https://codereview.qt-project.org/c/qt/qtbase/+/523074
      can be merged.
      Otherwise we are not testing on the platform versions that we claim we are supporting.

      It should be possible to download and install the simulator as described on https://developer.apple.com/documentation/xcode/installing-additional-simulator-runtimes
      via

      xcodebuild -downloadPlatform iOS
      xcodebuild -importPlatform "~/Downloads/iOS 17.4 Simulator Runtime.dmg"
      

      But we likely want to download the iOS dmg file once to ci-files01 and install from there.

        For Gerrit Dashboard: QTQAINFRA-6774
        # Subject Branch Project Status CR V

            vikarhu Ville-Pekka Karhu
            alexandru.croitor Alexandru Croitor
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes