Skip to content

About

No description, website, or topics provided.

Resources

Stars

3 stars

Watchers

0 watching

Forks

Latest commit

 

History

1 Commit

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 

Repository files navigation

SidecarLauncher

A simple CLI tool to connect/disconnect your iPad as a Sidecar display from the command line — no UI scripting or mouse clicks needed.

Originally created by Jovany Ocasio. Based on SidecarLauncher.

How it works

Uses Apple's private SidecarCore framework to programmatically manage Sidecar sessions.

Build

swiftc main.swift -o SidecarLauncher

Usage

# List available devices
./SidecarLauncher devices

# Connect to a device
./SidecarLauncher connect "My iPad"

# Connect via USB (experimental)
./SidecarLauncher connect "My iPad" -wired

# Disconnect
./SidecarLauncher disconnect "My iPad"

Exit codes

Code Meaning
0 Success
1 Invalid input
2 No reachable Sidecar devices detected
3 Named device not found
4 SidecarCore error

Notes

  • Requires macOS with Sidecar support
  • Both devices must be signed into the same Apple ID
  • Uses private Apple frameworks — may break on future macOS updates

License

MIT

About

No description, website, or topics provided.

Resources

Stars

3 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages