Documentation
¶
Overview ¶
Package ios is the iOS simulator kind of the host screen (ADR 0008, macOS only): the booted simulators simctl lists, one shown through an idb_companion stagent starts for the stream (#630).
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Kind ¶
type Kind struct {
// contains filtered or unexported fields
}
Kind lists and opens iOS simulators.
func New ¶
New returns the iOS simulator kind; env gives the environment to find and run xcrun and idb_companion with.
func (*Kind) Open ¶
func (k *Kind) Open(ctx context.Context, t wire.HostScreenTarget) (hostscreen.Stream, error)
Open starts a companion for booted simulator t.UDID and its video stream. When the simulator shuts down the stream is gone until it boots again; one not booted is gone from the start, the same way, and so is any while simctl fails (a timeout: the watcher lists again). Only without Xcode is it not_found.