-
-
Notifications
You must be signed in to change notification settings - Fork 491
Error on first run after iOS simulator is updated #780
Copy link
Copy link
Open
Labels
bugA crash or error in behavior.A crash or error in behavior.good first issueIs this your first time contributing? This could be a good place to start!Is this your first time contributing? This could be a good place to start!iOSThe issue relates to Apple iOS mobile support.The issue relates to Apple iOS mobile support.
Metadata
Metadata
Assignees
Labels
bugA crash or error in behavior.A crash or error in behavior.good first issueIs this your first time contributing? This could be a good place to start!Is this your first time contributing? This could be a good place to start!iOSThe issue relates to Apple iOS mobile support.The issue relates to Apple iOS mobile support.
The first time you attempt to run an app in the iOS simulator after installing or updating the iOS simulator, the simulator fails to start at the point when it tries to identify the available simulators.
To Reproduce
Steps to reproduce the behavior:
briefcase run iOSbriefcase.2022_07_06-11_12_50.run.log
The error will also occur when Xcode undergoes a major version update, and the simulator is updated.
Expected behavior
Briefcase should present a list of available simulator images on first run.
Environment:
Additional context
The problem appears to be caused by stray content in the output being parsed. From the log above:
Briefcase currently takes the literal output of the command, and attempts to parse it as JSON. The stray content in the first two lines ("Install started, 1%... ") isn't valid JSON, so the parse fails.
When you run a second time, the stray content isn't present; the entire command output is parseable JSON.