Skip to content

Commit

Permalink
ci: select Xcode 15.1 explicitly
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewjl-mux committed Jan 3, 2024
1 parent 67ffbda commit e148756
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 0 deletions.
6 changes: 6 additions & 0 deletions scripts/create-dynamic-framework.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
#!/bin/bash
set -euo pipefail

echo "▸ Selecting Xcode 15.1"
sudo xcode-select -s /Applications/Xcode_15.1.app

echo "▸ Installing xcbeautify"
brew install xcbeautify

if ! command -v xcbeautify &> /dev/null
then
echo -e "\033[1;31m ERROR: xcbeautify could not be found please install it... \033[0m"
Expand Down
9 changes: 9 additions & 0 deletions scripts/run-sdk-unit-tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,17 @@ readonly WORKSPACE_PATH=${TOP_DIR}/Example/${WORKSPACE_NAME}.xcworkspace

set -euo pipefail

echo "▸ Selecting Xcode 15.1"
sudo xcode-select -s /Applications/Xcode_15.1.app

brew install xcbeautify

if ! command -v xcbeautify &> /dev/null
then
echo -e "\033[1;31m ERROR: xcbeautify could not be found please install it... \033[0m"
exit 1
fi

echo "▸ Using Xcode Version: ${XCODE_VERSION}"

echo "▸ Shutdown and reset the simulator"
Expand Down
6 changes: 6 additions & 0 deletions scripts/run-tests.sh
Original file line number Diff line number Diff line change
@@ -1,12 +1,18 @@
#!/bin/bash
set -euo pipefail

echo "▸ Installing xcbeautify"
brew install xcbeautify

if ! command -v xcbeautify &> /dev/null
then
echo -e "\033[1;31m ERROR: xcbeautify could not be found please install it... \033[0m"
exit 1
fi

echo "▸ Selecting Xcode 15.1"
sudo xcode-select -s /Applications/Xcode_15.1.app

echo "▸ Current Xcode: $(xcode-select -p)"

readonly XCODE=$(xcodebuild -version | grep Xcode | cut -d " " -f2)
Expand Down

0 comments on commit e148756

Please sign in to comment.