Skip to content

Commit

Permalink
Fix iOS build failures on Taskcluster (#10043)
Browse files Browse the repository at this point in the history
* Try unsetting SDKROOT before building
* Tidy up some debug crufyiness
  • Loading branch information
oskirby authored Nov 15, 2024
1 parent c9dcb20 commit 8db7d68
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions taskcluster/scripts/build/ios_build_debug.sh
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ export LC_ALL=en_US.utf-8
export LANG=en_US.utf-8
export PYTHONIOENCODING="UTF-8"


print Y "Installing conda"
# We need to call bash with a login shell, so that conda is intitialized
source $TASK_WORKDIR/fetches/bin/activate
Expand All @@ -45,11 +44,11 @@ if [ -d ${TASK_HOME}/build ]; then
fi
mkdir ${TASK_HOME}/build

env
whereis qt-cmake
cat $TASK_WORKDIR/fetches/bin/qt-cmake
# Clear the SDKROOT and rely on CMake to figure it out. Otherwise, if this
# is set to the host SDK it will break the iOS toolchain detection.
unset SDKROOT

qt-cmake -S . -B ${TASK_HOME}/build \
$TASK_WORKDIR/fetches/bin/qt-cmake -S . -B ${TASK_HOME}/build \
-DCMAKE_OSX_ARCHITECTURES="arm64" \
-DCMAKE_XCODE_ATTRIBUTE_CODE_SIGN_IDENTITY="" \
-DCMAKE_XCODE_ATTRIBUTE_CODE_SIGNING_REQUIRED="NO" \
Expand Down

0 comments on commit 8db7d68

Please sign in to comment.