From 240d3f01e4f7242241b87a8f74056c916737d90f Mon Sep 17 00:00:00 2001 From: Christian Hoffmann Date: Mon, 31 Oct 2022 23:19:44 +0100 Subject: [PATCH] Build: iOS: Use Qt6 and bump build environment Crash-fix by @danryu. Co-authored-by: Dan G Fixes: #2711 Fixes: #2939 --- .github/workflows/autobuild.yml | 6 +++--- Jamulus.pro | 1 + 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/autobuild.yml b/.github/workflows/autobuild.yml index ee111670d8..7563e3d7ad 100644 --- a/.github/workflows/autobuild.yml +++ b/.github/workflows/autobuild.yml @@ -251,13 +251,13 @@ jobs: - config_name: iOS (artifacts) target_os: ios - building_on_os: macos-10.15 - base_command: QT_VERSION=5.15.2 ./.github/autobuild/ios.sh + building_on_os: macos-12 + base_command: QT_VERSION=6.4.3 ./.github/autobuild/ios.sh # Build failed with CodeQL enabled when last tested 03/2022 (#2490). # There are no hints that iOS is supposed to be supported by CodeQL. # Therefore, disable it: run_codeql: false - xcode_version: 12.1.1 + xcode_version: 14.2.0 - config_name: Windows (artifact+codeQL) target_os: windows diff --git a/Jamulus.pro b/Jamulus.pro index 0b2fb55cb5..2f50d1e07c 100644 --- a/Jamulus.pro +++ b/Jamulus.pro @@ -232,6 +232,7 @@ win32 { HEADERS += src/sound/coreaudio-ios/sound.h OBJECTIVE_SOURCES += src/sound/coreaudio-ios/sound.mm QMAKE_TARGET_BUNDLE_PREFIX = io.jamulus + QMAKE_LFLAGS += -Wl,-e,_qt_main_wrapper LIBS += -framework AVFoundation \ -framework AudioToolbox } else:android {