From 8ce38332b8626f658b55fffb6120551fe8321263 Mon Sep 17 00:00:00 2001 From: millianlmx Date: Sat, 27 Jun 2026 00:18:13 +0000 Subject: [PATCH] fix(ci): remove -derivedDataPath and -clonedSourcePackagesDirPath incompatible with -target Xcode demands -scheme when using -derivedDataPath or -clonedSourcePackagesDirPath. Since we use -target TabataGo, these flags must be removed. Changes: - Removed -derivedDataPath and -clonedSourcePackagesDirPath from build command - Moved SWIFT_ENABLE_EXPLICIT_MODULES=NO to its own line for clarity - Updated Package IPA step to search from repo root (find ..) with explicit TabataGo.app name instead of relying on the old derived data path --- .gitea/workflows/pr-iphone-deploy.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.gitea/workflows/pr-iphone-deploy.yml b/.gitea/workflows/pr-iphone-deploy.yml index fc65ba7..cbeadc2 100644 --- a/.gitea/workflows/pr-iphone-deploy.yml +++ b/.gitea/workflows/pr-iphone-deploy.yml @@ -61,16 +61,16 @@ jobs: -destination "generic/platform=iOS" \ -configuration Debug \ -allowProvisioningUpdates \ - -derivedDataPath ../build/derived \ - -clonedSourcePackagesDirPath ../build/spm-cache \ -skipPackagePluginValidation \ - CODE_SIGN_STYLE=Automatic DEVELOPMENT_TEAM=2MJF39L8VY SWIFT_ENABLE_EXPLICIT_MODULES=NO + SWIFT_ENABLE_EXPLICIT_MODULES=NO \ + CODE_SIGN_STYLE=Automatic DEVELOPMENT_TEAM=2MJF39L8VY - name: Package IPA run: | cd tabatago-swift mkdir -p Payload - cp -R "$(find ../build/derived -name '*.app' -type d | head -1)" Payload/ + APP=$(find .. -name 'TabataGo.app' -type d | grep -v DerivedData | head -1) + cp -R "$APP" Payload/ zip -r build/TabataGo.ipa Payload/ rm -rf Payload