Skip to content

open

Open the current project's .xcodeproj (or Package.swift) in Xcode.

Opens the current swiftspawn project in Xcode.

Terminal window
swiftspawn open

open walks up the directory tree to find the project root (the directory containing .swiftspawn.yml), then opens <AppName>.xcodeproj in Xcode. If the project was created with --no-xcodeproj, it opens Package.swift instead.

Equivalent to running open <AppName>.xcodeproj manually, but you don’t need to remember where the project root is.

Terminal window
swiftspawn open
CodeMeaning
5Not in a swiftspawn project.
14No .xcodeproj found in the project root.