fastlane / fastlane

🚀 The easiest way to automate building and releasing your iOS and Android apps
https://fastlane.tools
MIT License
39.6k stars 5.71k forks source link

"fastlane snapshot reset_simulators" no longer deletes simulators #21690

Open Lutzifer opened 11 months ago

Lutzifer commented 11 months ago

New Issue Checklist

Issue Description

"fastlane snapshot reset_simulators" no longer deletes simulators. When running the command repeatedly, the simulators amass.

Command executed

fastlane snapshot reset_simulators

Complete output when running fastlane, including the stack trace and command used
 
[✔] 🚀 
[13:33:44]: Are you sure? All your simulators will be DELETED and new ones will be created! (You can use `SNAPSHOT_FORCE_DELETE` to skip this confirmation) (y/n)
y
Creating iPhone 6s for iOS version iOS 17.0
An error was encountered processing the command (domain=com.apple.CoreSimulator.SimError, code=403):
Incompatible device
Creating iPhone 6s Plus for iOS version iOS 17.0
An error was encountered processing the command (domain=com.apple.CoreSimulator.SimError, code=403):
Incompatible device
Creating iPhone SE (1st generation) for iOS version iOS 17.0
An error was encountered processing the command (domain=com.apple.CoreSimulator.SimError, code=403):
Incompatible device
Creating iPhone 7 for iOS version iOS 17.0
An error was encountered processing the command (domain=com.apple.CoreSimulator.SimError, code=403):
Incompatible device
Creating iPhone 7 Plus for iOS version iOS 17.0
An error was encountered processing the command (domain=com.apple.CoreSimulator.SimError, code=403):
Incompatible device
Creating iPhone 8 for iOS version iOS 17.0
An error was encountered processing the command (domain=com.apple.CoreSimulator.SimError, code=403):
Incompatible device
Creating iPhone 8 Plus for iOS version iOS 17.0
An error was encountered processing the command (domain=com.apple.CoreSimulator.SimError, code=403):
Incompatible device
Creating iPhone X for iOS version iOS 17.0
An error was encountered processing the command (domain=com.apple.CoreSimulator.SimError, code=403):
Incompatible device
Creating iPhone Xs for iOS version iOS 17.0
Creating iPhone Xs Max for iOS version iOS 17.0
Creating iPhone Xʀ for iOS version iOS 17.0
Creating iPhone 11 for iOS version iOS 17.0
Creating iPhone 11 Pro for iOS version iOS 17.0
Creating iPhone 11 Pro Max for iOS version iOS 17.0
Creating iPhone SE (2nd generation) for iOS version iOS 17.0
Creating iPhone 12 mini for iOS version iOS 17.0
Creating iPhone 12 for iOS version iOS 17.0
Creating iPhone 12 Pro for iOS version iOS 17.0
Creating iPhone 12 Pro Max for iOS version iOS 17.0
Creating iPhone 13 Pro for iOS version iOS 17.0
Creating iPhone 13 Pro Max for iOS version iOS 17.0
Creating iPhone 13 mini for iOS version iOS 17.0
Creating iPhone 13 for iOS version iOS 17.0
Creating iPhone SE (3rd generation) for iOS version iOS 17.0
Creating iPhone 14 for iOS version iOS 17.0
Creating iPhone 14 Plus for iOS version iOS 17.0
Creating iPhone 14 Pro for iOS version iOS 17.0
Creating iPhone 14 Pro Max for iOS version iOS 17.0
Creating iPhone 15 for iOS version iOS 17.0
Creating iPhone 15 Plus for iOS version iOS 17.0
Creating iPhone 15 Pro for iOS version iOS 17.0
Creating iPhone 15 Pro Max for iOS version iOS 17.0
Creating iPod touch (7th generation) for iOS version iOS 17.0
An error was encountered processing the command (domain=com.apple.CoreSimulator.SimError, code=403):
Incompatible device
Creating iPad mini 4 for iOS version iOS 17.0
An error was encountered processing the command (domain=com.apple.CoreSimulator.SimError, code=403):
Incompatible device
Creating iPad Air 2 for iOS version iOS 17.0
An error was encountered processing the command (domain=com.apple.CoreSimulator.SimError, code=403):
Incompatible device
Creating iPad Pro (9.7-inch) for iOS version iOS 17.0
An error was encountered processing the command (domain=com.apple.CoreSimulator.SimError, code=403):
Incompatible device
Creating iPad Pro (12.9-inch) (1st generation) for iOS version iOS 17.0
An error was encountered processing the command (domain=com.apple.CoreSimulator.SimError, code=403):
Incompatible device
Creating iPad (5th generation) for iOS version iOS 17.0
An error was encountered processing the command (domain=com.apple.CoreSimulator.SimError, code=403):
Incompatible device
Creating iPad Pro (12.9-inch) (2nd generation) for iOS version iOS 17.0
Creating iPad Pro (10.5-inch) for iOS version iOS 17.0
Creating iPad (6th generation) for iOS version iOS 17.0
Creating iPad (7th generation) for iOS version iOS 17.0
Creating iPad Pro (11-inch) (1st generation) for iOS version iOS 17.0
Creating iPad Pro (12.9-inch) (3rd generation) for iOS version iOS 17.0
Creating iPad Pro (11-inch) (2nd generation) for iOS version iOS 17.0
Creating iPad Pro (12.9-inch) (4th generation) for iOS version iOS 17.0
Creating iPad mini (5th generation) for iOS version iOS 17.0
Creating iPad Air (3rd generation) for iOS version iOS 17.0
Creating iPad (8th generation) for iOS version iOS 17.0
Creating iPad (9th generation) for iOS version iOS 17.0
Creating iPad Air (4th generation) for iOS version iOS 17.0
Creating iPad Pro (11-inch) (3rd generation) for iOS version iOS 17.0
Creating iPad Pro (12.9-inch) (5th generation) for iOS version iOS 17.0
Creating iPad Air (5th generation) for iOS version iOS 17.0
Creating iPad (10th generation) for iOS version iOS 17.0
Creating iPad mini (6th generation) for iOS version iOS 17.0
Creating iPad Pro (11-inch) (4th generation) for iOS version iOS 17.0
Creating iPad Pro (11-inch) (4th generation) (16GB) for iOS version iOS 17.0
Creating iPad Pro (12.9-inch) (6th generation) for iOS version iOS 17.0
Creating iPad Pro (12.9-inch) (6th generation) (16GB) for iOS version iOS 17.0
  

Environment

🚫 fastlane environment 🚫 ### Stack | Key | Value | | --------------------------- | ------------------------------------------------------------------------------- | | OS | 14.1.2 | | Ruby | 3.2.2 | | Bundler? | true | | Git | git version 2.39.3 (Apple Git-145) | | Installation Source | ~/dev/Synchronizing//iOS/vendor/bundle/ruby/3.2.0/bin/fastlane | | Host | macOS 14.1.2 (23B92) | | Ruby Lib Dir | ~/.rbenv/versions/3.2.2/lib | | OpenSSL Version | OpenSSL 3.1.0 14 Mar 2023 | | Is contained | false | | Is homebrew | false | | Is installed via Fabric.app | false | | Xcode Path | /Applications/Xcode-15.0.1.app/Contents/Developer/ | | Xcode Version | 15.0.1 | | Swift Version | 5.9 | ### System Locale | Error | | --------------------------- | | No Locale with UTF8 found 🚫 | ### fastlane gems | Gem | Version | Update-Status | | -------- | ------- | ------------- | | fastlane | 2.217.0 | ✅ Up-To-Date | ### Loaded fastlane plugins: | Plugin | Version | Update-Status | | ------------------------ | ------- | ------------- | | fastlane-plugin-localize | 1.1.0 | ✅ Up-To-Date |
Loaded gems | Gem | Version | | ------------------------------- | ------------ | | error_highlight | 0.5.1 | | did_you_mean | 1.6.3 | | syntax_suggest | 1.0.2 | | bundler | 2.4.22 | | pathname | 0.2.1 | | rake | 13.1.0 | | rexml | 3.2.6 | | CFPropertyList | 3.0.6 | | public_suffix | 5.0.4 | | addressable | 2.8.5 | | annotate_gem | 0.0.14 | | artifactory | 3.0.15 | | atomos | 0.1.3 | | aws-eventstream | 1.3.0 | | aws-partitions | 1.862.0 | | aws-sigv4 | 1.8.0 | | jmespath | 1.6.2 | | aws-sdk-core | 3.190.0 | | aws-sdk-kms | 1.74.0 | | aws-sdk-s3 | 1.141.0 | | babosa | 1.0.4 | | claide | 1.1.0 | | colored | 1.2 | | colored2 | 3.1.2 | | highline | 2.0.3 | | commander | 4.6.0 | | declarative | 0.0.20 | | digest-crc | 0.6.5 | | domain_name | 0.6.20231109 | | dotenv | 2.8.1 | | emoji_regex | 3.2.3 | | excon | 0.105.0 | | faraday-em_http | 1.0.0 | | faraday-em_synchrony | 1.0.0 | | faraday-excon | 1.1.0 | | faraday-httpclient | 1.0.1 | | multipart-post | 2.3.0 | | faraday-multipart | 1.0.4 | | faraday-net_http | 1.0.1 | | faraday-net_http_persistent | 1.2.0 | | faraday-patron | 1.0.0 | | faraday-rack | 1.0.0 | | faraday-retry | 1.0.3 | | ruby2_keywords | 0.0.5 | | faraday | 1.10.3 | | http-cookie | 1.0.5 | | faraday-cookie_jar | 0.0.7 | | faraday_middleware | 1.2.0 | | fastimage | 2.2.7 | | gh_inspector | 1.1.3 | | jwt | 2.7.1 | | multi_json | 1.15.0 | | os | 1.1.4 | | signet | 0.18.0 | | googleauth | 1.8.1 | | httpclient | 2.8.3 | | mini_mime | 1.1.5 | | trailblazer-option | 0.1.2 | | uber | 0.1.0 | | representable | 3.2.0 | | retriable | 3.1.2 | | webrick | 1.8.1 | | google-apis-core | 0.11.2 | | google-apis-androidpublisher_v3 | 0.53.0 | | google-apis-playcustomapp_v1 | 0.13.0 | | google-apis-iamcredentials_v1 | 0.17.0 | | google-apis-storage_v1 | 0.29.0 | | google-cloud-env | 1.6.0 | | google-cloud-errors | 1.3.1 | | google-cloud-core | 1.6.0 | | google-cloud-storage | 1.45.0 | | json | 2.7.0 | | mini_magick | 4.12.0 | | naturally | 2.2.1 | | optparse | 0.1.1 | | plist | 3.7.0 | | rubyzip | 2.3.2 | | security | 0.1.3 | | simctl | 1.6.10 | | terminal-notifier | 2.0.0 | | unicode-display_width | 2.5.0 | | terminal-table | 3.0.2 | | tty-screen | 0.8.1 | | tty-cursor | 0.7.1 | | tty-spinner | 0.9.3 | | word_wrap | 1.0.0 | | nanaimo | 0.3.0 | | xcodeproj | 1.23.0 | | rouge | 2.0.7 | | xcpretty | 0.3.0 | | xcpretty-travis-formatter | 1.0.1 | | fastlane-plugin-localize | 1.1.0 | | rufo | 0.16.2 | | xcode-install | 2.8.1 |
*generated on:* **2023-12-04**
Zandor300 commented 10 months ago

I am having the same issue. Only Apple TV and Apple Watch simulators get deleted at my end but it still creates new simulators for iPhone, iPad.

I have an automated script that runs this nightly to pevent my Mac build machines from getting clogged up, but now I have a million simulator of each type since I didn't notice this happening until now.

Was using fastlane 2.214.0 but still the same issue when updating to 2.217.0... Using Xcode 15.0.1.