Skip to content

Instantly share code, notes, and snippets.

View AvdLee's full-sized avatar
👇
avanderlee.com

Antoine van der Lee AvdLee

👇
avanderlee.com
View GitHub Profile
@ahcode0919
ahcode0919 / Simctl.md
Last active June 8, 2024 11:49
Apple Simctl commands

Simctl

An Xcode/CoreSimulator command line utility to control iOS Simulators on MacOS

Command Usage

simctl [--set <path>] [--profiles <path>] <subcommand> ... simctl help [subcommand]

Documented Commands

extension Error {
public var legibleDescription: String {
switch errorType {
case .swiftError(.enum?):
return "\(type(of: self)).\(self)"
case .swiftError:
return String(describing: self)
case .swiftLocalizedError(let msg):
return msg
case .nsError(_, "kCLErrorDomain", 0):
@alanzeino
alanzeino / lldb-debugging.md
Last active April 30, 2025 19:32
LLDB debugging with examples

LLDB Debugging Cheat Sheet

Commands

LLDB Commands

LLDB comes with a great set of commands for powerful debugging.

help

Your starting point for anything. Type help to get a list of all commands, plus any user installed ones. Type 'help for more information on a command. Type help to get help for a specific option in a command too.