open
Open the current project's .xcodeproj (or Package.swift) in Xcode.
Opens the current swiftspawn project in Xcode.
Synopsis
Section titled “Synopsis”swiftspawn openDescription
Section titled “Description”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.
Examples
Section titled “Examples”swiftspawn openExit codes
Section titled “Exit codes”| Code | Meaning |
|---|---|
| 5 | Not in a swiftspawn project. |
| 14 | No .xcodeproj found in the project root. |