File tree 1 file changed +11
-4
lines changed
1 file changed +11
-4
lines changed Original file line number Diff line number Diff line change @@ -458,6 +458,7 @@ workflows:
458
458
_run :
459
459
envs :
460
460
- PROFILES_PATH : ~/Library/Developer/Xcode/UserData/Provisioning Profiles
461
+ - PROFILES_PATH_OLD : ~/Library/MobileDevice/Provisioning Profiles
461
462
before_run :
462
463
- _generate_api_token
463
464
steps :
@@ -476,11 +477,15 @@ workflows:
476
477
- content : |-
477
478
#!/bin/bash
478
479
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
481
484
482
485
rm -rf "$PROFILES_PATH/*"
483
- ls -la "$PROFILES_PATH"
486
+ if [[ -d "$PROFILES_PATH" ]]; then
487
+ ls -la "$PROFILES_PATH"
488
+ fi
484
489
- restore-cache :
485
490
run_if : " true"
486
491
inputs :
@@ -492,7 +497,9 @@ workflows:
492
497
- content : |-
493
498
#!/bin/bash
494
499
set -ex
495
- ls -la "$PROFILES_PATH"
500
+ if [[ -d "$PROFILES_PATH" ]]; then
501
+ ls -la "$PROFILES_PATH"
502
+ fi
496
503
- git::https://github.com/bitrise-steplib/bitrise-step-simple-git-clone.git :
497
504
inputs :
498
505
- repository_url : $TEST_APP_URL
You can’t perform that action at this time.
0 commit comments