Skip to content

Commit

Permalink
use project instead of workspace during testing
Browse files Browse the repository at this point in the history
  • Loading branch information
sebsto committed Jun 22, 2024
1 parent ff80d39 commit 9d60679
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions code/ci_actions/04_local_tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,13 @@ set -o pipefail
echo "Changing to code directory at $CODE_DIR"
pushd $CODE_DIR

WORKSPACE="getting started.xcworkspace"
PROJECT="getting started.xcodeproj"
SCHEME="getting started"
PHONE_MODEL="iPhone 15 Pro"
IOS_VERSION="17.0"

xcodebuild test \
-workspace "$WORKSPACE" \
-workspace "$PROJECT" \
-scheme "$SCHEME" \
-destination platform="iOS Simulator",name="${PHONE_MODEL}",OS=${IOS_VERSION} | $BREW_PATH/xcbeautify

Expand Down
2 changes: 1 addition & 1 deletion code/ci_actions/05_devicefarm_tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ DEVICE_FARM="./build-device-farm"

echo "Build for testing"
xcodebuild build-for-testing \
-workspace "${APP_NAME}.xcworkspace" \
-project "${APP_NAME}.xcodeproj" \
-scheme "${APP_NAME}" \
-destination generic/platform=iOS \
-derivedDataPath "${BUILD_PATH}" | $BREW_PATH/xcbeautify
Expand Down

0 comments on commit 9d60679

Please sign in to comment.