Instance Propertyswift-package-manager 6.0.1Workspace
platforms
The list of platforms in the manifest.
var platforms: [SupportedPlatform]
Note: This should only contain Apple platforms right now.
The list of platforms in the manifest.
var platforms: [SupportedPlatform]
s9Workspace11InitPackageC0bC7OptionsV9platformsSay0C5Model17SupportedPlatformVGvp
What are these?8RYP3
Note: This should only contain Apple platforms right now.
import Workspace
struct InitPackageOptions
Options for the template package.
final class InitPackage
Create an initial template package.
struct SupportedPlatform
Represents a platform supported by a target.
init(packageType: PackageType, supportedTestingLibraries: Set<BuildParameters.Testing.Library>, platforms: [SupportedPlatform] = [])
var packageType: PackageType
The type of package to create.
var supportedTestingLibraries: Set<BuildParameters.Testing.Library>
The set of supported testing libraries to include in the package.