ios

package
v0.25.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 23, 2026 License: MIT Imports: 23 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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

func New(env func() []string) *Kind

New returns the iOS simulator kind; env gives the environment to find and run xcrun and idb_companion with.

func (*Kind) List

func (k *Kind) List(ctx context.Context) (any, error)

List returns the ios section of host_screen.list.

func (*Kind) Name

func (k *Kind) Name() string

func (*Kind) Open

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.

Directories

Path Synopsis
Package idbpb is the generated client of idb_companion's gRPC API (idb.proto, a subset of facebook/idb v1.6.8).
Package idbpb is the generated client of idb_companion's gRPC API (idb.proto, a subset of facebook/idb v1.6.8).

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL