Skip to content

Commit 4a6f035

Browse files
committed
don't store the .xcarchive in the deploy dir as it's usually significantly larger than any other generated artifact file and it's rarely useful to have as an artifact; no need to deploy it
1 parent fe1302a commit 4a6f035

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

step.sh

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,8 @@ cd "${output_dir}"
7070
output_dir="$(pwd)"
7171
cd -
7272

73-
archive_path="${output_dir}/${scheme}.xcarchive"
73+
archive_tmp_dir=$(mktemp -d -t bitrise-xcarchive)
74+
archive_path="${archive_tmp_dir}/${scheme}.xcarchive"
7475
ipa_path="${output_dir}/${scheme}.ipa"
7576
dsym_zip_path="${output_dir}/${scheme}.dSYM.zip"
7677

@@ -148,7 +149,7 @@ if [[ "${is_force_code_sign}" == "yes" ]] ; then
148149

149150
echo
150151
echo
151-
152+
152153
set -x
153154
${build_tool} ${CONFIG_xcode_project_action} "${project_path}" \
154155
-scheme "${scheme}" ${xcode_configuration} \

0 commit comments

Comments
 (0)