Skip to content

Commit

Permalink
Disable legacy build system deprecation in autobuild/ios.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
softins committed Jun 19, 2024
1 parent 137a7de commit c294af4
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 9 deletions.
5 changes: 5 additions & 0 deletions .github/autobuild/ios.sh
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,11 @@ setup() {
# As of aqtinstall 2.1.0 / 04/2022, desktop qtbase has to be installed manually:
python3 -m aqt install-qt --outputdir "${QT_DIR}" mac desktop "${QT_VERSION}" --archives qtbase
fi

# Suppress deprecation of Legacy Build System for now.
# TODO: Legacy Build System is removed in xcode 14. Need to migrate
# to the Modern Build System instead.
/usr/libexec/PlistBuddy -c "Add :DisableBuildSystemDeprecationDiagnostic bool true" /usr/local/opt/qt/${QT_VERSION}/ios/mkspecs/macx-xcode/WorkspaceSettings.xcsettings
fi
}

Expand Down
9 changes: 0 additions & 9 deletions ios/deploy_ios.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,6 @@ set -eu -o pipefail

## Builds an ipa file for iOS. Should be run from the repo-root

# find the xcsettings
#set -x
#find / -name \*.xcsettings -ls

# Suppress deprecation of Legacy Build System for now.
# TODO: Legacy Build System is removed in xcode 14. Need to migrate
# to the Modern Build System instead.
/usr/libexec/PlistBuddy -c "Add :DisableBuildSystemDeprecationDiagnostic bool true" /usr/local/opt/qt/5.15.2/ios/mkspecs/macx-xcode/WorkspaceSettings.xcsettings

# 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=""
Expand Down

0 comments on commit c294af4

Please sign in to comment.