Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Running 'snapshot reset_simulators' in Xcode 9 GM deletes all sims but does not reinstall them #10354

Closed
paul-bonneville opened this issue Sep 18, 2017 · 9 comments

Comments

@paul-bonneville
Copy link

New Issue Checklist

Issue Description

Running 'snapshot reset_simulators' in Xcode 9 GM deletes all sims but does not reinstall them. I am left with no simulators at all. In the "Devices & Simulators", iOS 11 simulators aren't even an option for download. I could go through and manually recreate all the simulators, but there has to be a better way. I re-extracted the Xcode 9 GM build from the tip file but it seems the flag for "installing additional components" is tripped so it does not download any simulators. Any thoughts on how to reinstall my simulators, including for iOS 11?

Complete output when running fastlane, including the stack trace and command used

You can use: --capture_output as the last commandline argument to get that collected for you

See environment

Environment

Please run fastlane env and copy the output below. This will help us help you 👍
If you used --capture_output option please remove this block - as it is already included there.

✅ fastlane environment ✅

Stack

Key Value
OS 10.12.6
Ruby 2.2.4
Bundler? false
Git git version 2.13.5 (Apple Git-94)
Installation Source ~/.rbenv/versions/2.2.4/bin/fastlane
Host Mac OS X 10.12.6 (16G29)
Ruby Lib Dir ~/.rbenv/versions/2.2.4/lib
OpenSSL Version OpenSSL 1.0.2e 3 Dec 2015
Is contained false
Is homebrew false
Is installed via Fabric.app false
Xcode Path /Applications/Xcode.app/Contents/Developer/
Xcode Version 9.0

System Locale

Variable Value
LANG en_US.UTF-8
LC_ALL
LANGUAGE

fastlane files:

No Fastfile found

No Appfile found

fastlane gems

Gem Version Update-Status
fastlane 2.56.0 ✅ Up-To-Date

Loaded fastlane plugins:

No plugins Loaded

Loaded gems
Gem Version
slack-notifier 1.5.1
CFPropertyList 2.3.5
claide 1.0.2
colored2 3.1.2
nanaimo 0.2.3
xcodeproj 1.5.0
rouge 2.0.7
xcpretty 0.2.8
terminal-notifier 1.8.0
unicode-display_width 1.3.0
terminal-table 1.8.0
plist 3.3.0
public_suffix 2.0.5
addressable 2.5.2
multipart-post 2.0.0
word_wrap 1.0.0
tty-screen 0.5.0
babosa 1.0.2
colored 1.2
highline 1.7.8
commander-fastlane 4.4.5
excon 0.59.0
faraday 0.13.1
unf_ext 0.0.7.4
unf 0.1.4
domain_name 0.5.20170404
http-cookie 1.0.3
faraday-cookie_jar 0.0.6
fastimage 2.1.0
gh_inspector 1.0.3
json 1.8.1
mini_magick 4.5.1
multi_json 1.12.2
multi_xml 0.6.0
rubyzip 1.2.1
security 0.1.3
xcpretty-travis-formatter 0.0.4
dotenv 2.2.1
bundler 1.12.1
faraday_middleware 0.12.2
uber 0.1.0
declarative 0.0.10
declarative-option 0.1.0
representable 3.0.4
retriable 3.1.1
mime-types-data 3.2016.0221
mime-types 3.0
little-plugger 1.1.4
logging 2.2.2
jwt 1.5.6
memoist 0.16.0
os 0.9.6
signet 0.7.3
googleauth 0.5.3
httpclient 2.8.3
google-api-client 0.13.6

generated on: 2017-09-18

@ryanoconnor7
Copy link

I too am having this issue, except in my case, I see iPhone2017-A/B/C in place of 8/8 Plus/X when I try to re-add the simulators. Additionally, iOS 11 does not appear in components download section.

@confucious
Copy link

I believe this is fixed in 2.57.0

@weien
Copy link

weien commented Sep 22, 2017

@confucious thanks for the tip!

@KrauseFx
Copy link
Member

Is this fixed now with the most recent release? Any action required from our side?

@weien
Copy link

weien commented Sep 25, 2017

@KrauseFx updating fastlane and then running reset_simulators a second time produced the expected simulators! I don't think any other action is required at least for the original poster's case. Thank you for checking in!

@moonorblue
Copy link

I too have the issue when reset_simulators leads to iPhone2017-A/B/C in place of 8/8 Plus/X
2017-09-27 5 24 49
2017-09-27 5 25 01

@ryanoconnor7
Copy link

Yes, I’m experiencing the same thing

@kimhafr
Copy link

kimhafr commented Oct 1, 2017

I'm running fastlane snapshot reset_simulators with Fastlane 2.59.0 and I still get the same iPhone2017-a/b/c simulators.. Anything I need to clean up?

Output from fastlane -v
fastlane version

Simulators:
screen shot 2017-10-01 at 20 27 39

@KrauseFx
Copy link
Member

KrauseFx commented Oct 6, 2017

Alright, I see the the ABC issue, however this is not related with the original issue at all, right?

Also, I don't know why the ABC is generated, I can reproduce this locally, but it looks like those are different simulators, so snapshot will generate them. What's the expected behavior? Let's move this to a new issue, I'll lock this one for now

@KrauseFx KrauseFx closed this as completed Oct 6, 2017
@fastlane fastlane locked and limited conversation to collaborators Oct 6, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

7 participants