Enumeration
Platform
The target platform for build and distribution workflows.
enum PlatformOverview
Pass --platform ios or --platform android on the CLI, or omit it to let ShipItSwifty auto-detect the platform from project files in the working directory.
Auto-detection rules
Project file detected | Platform |
|---|---|
|
|
|
|
Usage
let context = ActionContext(platform: .ios, ...)
guard context.platform == .ios else {
throw ShipItError.invalidConfiguration(reason: "ArchiveAction requires iOS platform")
}Topics
Enumeration Cases
case androidAndroid platform.
case iosApple iOS platform. Fully supported.
Initializers
Default Implementations
Relationships
Conforms To
Swift.CaseIterableSwift.DecodableSwift.EncodableSwift.EquatableSwift.HashableSwift.RawRepresentableSwift.SendableSwift.SendableMetatype