Swift Execute App

General approach (specifics not requested): How can Swift execute the macos app Preview?

Try the NSWorkspace APIs, such as urlForApplication and openApplication.

Please use the Apple Developer Forums for further questions about AppKit (or other closed-source frameworks).

Terms of Service

Privacy Policy

Cookie Policy