File tree Expand file tree Collapse file tree 1 file changed +11
-4
lines changed
Expand file tree Collapse file tree 1 file changed +11
-4
lines changed Original file line number Diff line number Diff line change @@ -458,6 +458,7 @@ workflows:
458458 _run :
459459 envs :
460460 - PROFILES_PATH : ~/Library/Developer/Xcode/UserData/Provisioning Profiles
461+ - PROFILES_PATH_OLD : ~/Library/MobileDevice/Provisioning Profiles
461462 before_run :
462463 - _generate_api_token
463464 steps :
@@ -476,11 +477,15 @@ workflows:
476477 - content : |-
477478 #!/bin/bash
478479 set -ex
479- rm -rf ~/Library/MobileDevice/Provisioning\ Profiles/*
480- ls -la ~/Library/MobileDevice/Provisioning\ Profiles
480+ rm -rf "$PROFILES_PATH_OLD/*"
481+ if [[ -d "$PROFILES_PATH_OLD" ]]; then
482+ ls -la "$PROFILES_PATH_OLD"
483+ fi
481484
482485 rm -rf "$PROFILES_PATH/*"
483- ls -la "$PROFILES_PATH"
486+ if [[ -d "$PROFILES_PATH" ]]; then
487+ ls -la "$PROFILES_PATH"
488+ fi
484489 - restore-cache :
485490 run_if : " true"
486491 inputs :
@@ -492,7 +497,9 @@ workflows:
492497 - content : |-
493498 #!/bin/bash
494499 set -ex
495- ls -la "$PROFILES_PATH"
500+ if [[ -d "$PROFILES_PATH" ]]; then
501+ ls -la "$PROFILES_PATH"
502+ fi
496503 - git::https://github.com/bitrise-steplib/bitrise-step-simple-git-clone.git :
497504 inputs :
498505 - repository_url : $TEST_APP_URL
You can’t perform that action at this time.
0 commit comments