Sub topic 14
Checking versions and displays from Terminal
This chapter assumes you can open Terminal on your Mac and run a command, and that you already know where Sidecar and Universal Control are set up in System Settings. Here you will use two built-in commands to check your Mac's software version and the displays it currently sees. These checks are quick and give you text you can paste into a support request.
Why check from Terminal
System Settings shows most of this information, but Terminal has two advantages. The output is plain text, so you can copy it exactly. It also shows details that the graphical panels hide, such as the build number and the full display list.
Use Terminal checks at two points in the workflow:
- Before you set anything up, to confirm that the Mac's macOS version meets the requirement.
- After you connect an iPad, to confirm that macOS sees it as a display.
Check the macOS version with sw_vers
The sw_vers command prints the product name, version, and build of the running system.
sw_versThe output looks like this, though your numbers will differ:
ProductName: macOS
ProductVersion: 14.5
BuildVersion: 23F79Compare ProductVersion with the minimum macOS version for the feature you want. The minimums are in the requirements chapter. If the version is lower than the minimum, update macOS before you troubleshoot anything else. A Mac that is too old will not offer the feature at all.
sw_vers only describes the Mac. To check the iPad, open Settings, then General, then About, and read the iPadOS version there.
List displays with system_profiler
The system_profiler command reports hardware and software details. Its SPDisplaysDataType option limits the report to graphics cards and displays.
system_profiler SPDisplaysDataTypeThe report lists each graphics device and, under it, each display it drives. A Mac with a built-in screen and no other display shows one entry. The sample below is shortened to the lines that matter here.
Graphics/Displays:
Apple M2:
Displays:
Color LCD:
Resolution: 2560 x 1664 Retina
Main Display: YesNow start a Sidecar session and run the same command again. A new entry should appear under Displays, usually named after the iPad. If it does, macOS is treating the iPad as an additional display.
system_profiler SPDisplaysDataType | grep -E "Resolution|Main Display|Mirror"The grep filter trims the report to a few lines. Look for these fields:
| Field | What it tells you |
|---|---|
| `Resolution` | The pixel size of each display, which lets you tell the Mac screen from the iPad. |
| `Main Display` | Which display holds the menu bar and Dock by default. |
| `Mirror` | Whether a display is mirroring another. A field value of `On` means mirrored mode. |
If a field is missing for a display, it does not apply to that display. The exact wording can vary between macOS versions, so run the unfiltered command if the filtered output looks incomplete.
How the checks fit together
Limits of these checks
Also remember that a correct macOS version does not prove the other requirements are met. Sign-in, Bluetooth, Wi-Fi, and Handoff settings must still be right on both devices.
Exercise
You start a Sidecar session, run system_profiler SPDisplaysDataType, and see only the built-in Mac display. Which command do you run first to rule out an outdated system, and what do you do if the iPad still does not appear?
Show answer
Run sw_vers and compare ProductVersion with the Sidecar minimum. If the version is fine, the problem is not the Mac's software version, so go to the troubleshooting chapter and check sign-in, Bluetooth, Wi-Fi, Handoff, and the iPadOS version.
Exercise
Why will system_profiler SPDisplaysDataType not show an iPad that is connected through Universal Control?
Show answer
Universal Control does not make the iPad a display for the Mac. Each device keeps its own screen, and only the pointer and keyboard move between them. Only Sidecar adds a display.