fix(ci): remove -derivedDataPath and -clonedSourcePackagesDirPath incompatible with -target
Some checks failed
PR → Build → Firebase OTA → LGTM / Build & Deploy to Firebase OTA (pull_request) Failing after 6m36s
PR → Build → Firebase OTA → LGTM / Wait for LGTM comment (pull_request) Has been skipped

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
This commit is contained in:
2026-06-27 00:18:13 +00:00
parent 3202ea9b5b
commit 8ce38332b8

View File

@@ -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