import WorkspaceConfiguration .product(name: "WorkspaceConfiguration", package: "Workspace")
Instance Property


Whether or not to manage the Xcode project.


var manage: Bool { get set }


This is off by default, but some tasks may throw errors if they require a compatible Xcode project and none is present.

$ workspace refresh xcode

An Xcode project can be managed manually instead, but it must correspond with the Package manifest. Where a customized Xcode project is needed, it is recommended to start with an automatically generated one and adjust it from there.

macOS CentOS Ubuntu Amazon Linux