diff --git a/.github/workflows/autobuild.yml b/.github/workflows/autobuild.yml index 0457d6ae31..aa8a707bf2 100644 --- a/.github/workflows/autobuild.yml +++ b/.github/workflows/autobuild.yml @@ -249,12 +249,12 @@ jobs: - config_name: iOS (artifacts) target_os: ios building_on_os: macos-15 - base_command: QT_VERSION=6.7.3 ./.github/autobuild/ios.sh + base_command: QT_VERSION=5.15.2 ./.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: 16.3.0 + xcode_version: 26.2 - config_name: Windows (artifact+codeQL) target_os: windows diff --git a/ios/deploy_ios.sh b/ios/deploy_ios.sh index c5c150b17d..be79bd2a79 100755 --- a/ios/deploy_ios.sh +++ b/ios/deploy_ios.sh @@ -4,8 +4,14 @@ set -eu -o pipefail ## Builds an ipa file for iOS. Should be run from the repo-root # Create Xcode file and build -qmake -spec macx-xcode Jamulus.pro -/usr/bin/xcodebuild -project Jamulus.xcodeproj -scheme Jamulus -configuration Release clean archive -archivePath "build/Jamulus.xcarchive" CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED=NO CODE_SIGNING_ALLOWED=NO CODE_SIGN_ENTITLEMENTS="" +qmake Jamulus.pro -spec macx-xcode + +echo "Running preparation scripts..." +make -f Jamulus.xcodeproj/qt_makeqmake.mak +make -f Jamulus.xcodeproj/qt_preprocess.mak + +echo "Starting build..." +/usr/bin/xcodebuild -destination generic/platform=iOS -project Jamulus.xcodeproj -scheme Jamulus -configuration Release clean archive -archivePath "build/Jamulus.xcarchive" CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED=NO CODE_SIGNING_ALLOWED=NO CODE_SIGN_ENTITLEMENTS="" # Generate ipa by copying the .app file from the xcarchive directory mkdir build/Payload