File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed
Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -23,6 +23,9 @@ build_plugin() {
2323
2424 echo " Building $PLUGIN_TARGET ($arch )..." >&2
2525
26+ # Use a dedicated DerivedData path to avoid stale artifacts from other builds
27+ DERIVED_DATA_DIR=" build/DerivedData"
28+
2629 if ! xcodebuild \
2730 -project " $PROJECT " \
2831 -target " $PLUGIN_TARGET " \
@@ -34,7 +37,8 @@ build_plugin() {
3437 CODE_SIGN_STYLE=Manual \
3538 DEVELOPMENT_TEAM=" $TEAM_ID " \
3639 -skipPackagePluginValidation \
37- build 2>&1 | tee " build-plugin-${arch} .log" >&2 ; then
40+ -derivedDataPath " $DERIVED_DATA_DIR " \
41+ clean build 2>&1 | tee " build-plugin-${arch} .log" >&2 ; then
3842 echo " FATAL: xcodebuild failed for $PLUGIN_TARGET ($arch )" >&2
3943 echo " Check build-plugin-${arch} .log for details" >&2
4044 exit 1
You can’t perform that action at this time.
0 commit comments