- 
    Bug 
- 
    Resolution: Done
- 
    P1: Critical 
- 
    5.15.8
- 
    None
- 
        
- 
        9ec05e4f36 (qt/qtbase/dev) 9ec05e4f36 (qt/tqtc-qtbase/dev) 46ba4669b2 (qt/qtbase/6.2) 726b65ba86 (qt/qtbase/6.3) 46ba4669b2 (qt/tqtc-qtbase/6.2) 726b65ba86 (qt/tqtc-qtbase/6.3) dd3389035c (qt/tqtc-qtbase/5.15) 726b65ba86 (qt/tqtc-qtbase/6.3.0)
Updating to macOS Monterey 12.3 removed Python 2.7 so Qt5.15.8 iOS build fails immediately to a missing python when running qmake.
10:20:26: Starting: "/Users/<user>/Qt/5.15.8/ios/bin/qmake" /Users/<user>/proj/test/testappqmake/testappqmake.pro -spec macx-ios-clang CONFIG+=iphoneos CONFIG+=device CONFIG+=qml_debug -after
10:20:27: The process "/Users/<user>/Qt/5.15.8/ios/bin/qmake" exited normally.
10:20:27: Starting: "/usr/bin/make" -f /Users/<user>/proj/test/build-testappqmake-Qt_5_15_8_for_iOS-Debug/Makefile qmake_all
/bin/sh: /Users/<user>/Qt/5.15.8/ios/mkspecs/features/uikit/devices.py: /usr/bin/python: bad interpreter: No such file or directory
/Users/<user>/Qt/5.15.8/ios/mkspecs/features/uikit/xcodebuild.mk:77: *** Could not find any device matching '--platform iOS --minimum-deployment-target 12.0'.. Stop.
10:20:27: The process "/usr/bin/make" exited with code 2.
Error while building/deploying project testappqmake (kit: Qt 5.15.8 for iOS)
When executing step "qmake"
More info about python removal: https://macmule.com/2022/01/29/macos-monterey-12-3-will-remove-python-2-7-usr-bin-python/
- is duplicated by
- 
                    QTBUG-102247 Build crash with /usr/bin/python: bad interpreter: No such file or directory -           
- Closed
 
-         
- resulted in
- 
                    QTQAINFRA-4861 Provision Python 2 for arm macs in CI -         
- Closed
 
-