class OutputBuilderSimctl

Overview

Emits xcrun simctl openurl commands that open the iOS entry points Noir discovers — custom-scheme deep links and verified universal links — on a booted iOS Simulator.

It is the iOS counterpart to the adb builder: simctl is iOS-only, so it emits commands for iOS-originated entry points and skips what it can't open — HTTP endpoints, Android entry points (use -f adb), and bare App Links domain associations. iOS has no intent/provider analog, so every emitted command is a single openurl. Skips are reported per category as a warning to STDERR, so the command list on STDOUT stays pipe-clean.

Included Modules

Defined in:

output_builder/simctl.cr

Instance Method Summary

Instance methods inherited from module MobileLaunch

ios_origin?(endpoint : Endpoint) : Bool ios_origin?, launchable?(url : String) : Bool launchable?, plural(count : Int32) : String plural, shell_quote(str : String) : String shell_quote

Instance methods inherited from class OutputBuilder

bake_endpoint(url : String, params : Array(Param)) bake_endpoint, io : IO io, io=(io : IO) io=, logger : NoirLogger logger, ob_puts(message) ob_puts, output_file : String output_file, print print

Constructor methods inherited from class OutputBuilder

new(options : Hash(String, YAML::Any)) new

Macros inherited from class OutputBuilder

define_getter_methods(names) define_getter_methods

Instance Method Detail

def print(endpoints : Array(Endpoint)) #

[View source]