From 0a11b6d8bcd71c90415cee046d6e1cd6eefcfe12 Mon Sep 17 00:00:00 2001 From: Chin-Chang Yang <2770271+ChinChangYang@users.noreply.github.com> Date: Sat, 11 Nov 2023 11:43:31 +0800 Subject: [PATCH] Fix derived data path for Xcode build and test Previously, the Xcode builds in the workflows were not generating the derived data path correctly. This commit updates the commands to include the correct derived data path flag, ensuring the build and test processes work properly. --- .github/workflows/build.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 3c265282c..43977e137 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -15,7 +15,7 @@ jobs: - name: Run Xcode build run: | cd cpp/xcode - /Applications/Xcode_15.0.1.app/Contents/Developer/usr/bin/xcodebuild -scheme katago -configuration Release build + /Applications/Xcode_15.0.1.app/Contents/Developer/usr/bin/xcodebuild -derivedDataPath DerivedData -scheme katago -configuration Release build - name: Setup network run: | @@ -40,4 +40,4 @@ jobs: - name: Run Xcode test run: | cd cpp/xcode - /Applications/Xcode_15.0.1.app/Contents/Developer/usr/bin/xcodebuild -scheme katago -configuration Release test + /Applications/Xcode_15.0.1.app/Contents/Developer/usr/bin/xcodebuild -derivedDataPath DerivedData -scheme katago -configuration Release test