Fix 'Sidecar device timed out' error

When Sidecar fails with a “device timed out” error, terminating the SidecarRelay process on your iPad typically resolves the issue, which saves you rebooting your iPad. Note This is an advanced technique that requires using a terminal and that Xcode to be installed on your Mac. Prerequisites You’ll need the devicectl command, which requires Xcode is installed Step 1: Find your device devicectl list devices This will output a list of connected devices....

Oct 11, 2025 · 1 min

lldb: VI mode and tab-completion

lldb uses libedit, which is a BSD licensed alternative to GNU readline. A feature of libedit is the ability to configure per-application settings for command-line bindings via ~/.editrc. Detailed documentation for this configuration file can be found using man editrc or via online documentation, such as developer.apple.com. As I prefer VI bindings, I initially configured my .editrc as follows, to replace the default emacs bindings: lldb:bind -v Unfortunately, when I re-ran lldb, tab-completion was not functioning....

Jun 23, 2012 · 2 min

Objective-C: ternary operator

The ternary operator, also known as a conditional expression is a C construct. What follows is an example used for conditional assignment: result = condition_expression ? true_expression : false_expression; If condition_expression evaluates to true, result will be assigned the true_expression; otherwise, result will be assigned the false_expression. A GNU extension to the ternary operator, also available in Objective-C, is the ability to omit the true_expression as follows: result = first_expression ?...

Mar 15, 2012 · 2 min

Associative References in Objective-C

This is some preamble. ...

Feb 19, 2012 · 2 min

Transferring Preview app signatures in Lion

Lion introduced a great new feature that allows you to capture your signature via an attached camera and store it in an encrypted form for later use. Therein lies the problem; you must have an attached camera. I have a Mac Pro, and wanted to use the signatures I captured on my Macbook Pro. Following these steps, you can transfer the encrypted signatures over. On your machine endowed with the power of sight:...

Aug 3, 2011 · 2 min