Details
-
Bug
-
Resolution: Unresolved
-
P1: Critical
-
None
-
6.8
-
None
Description
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
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.
Attachments
Gerrit Reviews
For Gerrit Dashboard: QTQAINFRA-6774 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
605816,4 | Provisioning: Add Simulator Runtime installation to macOS | dev | qt/qt5 | Status: NEW | +2 | 0 |