Command
Set-AppStoreConnectVersionBuild
Creates or finds an App Store version and selects a processed build for Distribution.
Syntax
Set-AppStoreConnectVersionBuild
[-AllowUnprocessedBuild]
-AppId <String>
-BuildNumber <String>
-IssuerId <String>
-KeyId <String>
[-NoCreateVersion]
[-NoSelectBuild]
-Platform <ApplePlatform>
[-PrivateKey <String>]
[-PrivateKeyPath <String>]
[-TokenLifetimeMinutes <Int32>]
-VersionString <String>
[<CommonParameters>]#Parameter set:
All Parameter SetsExamples
Example 1
Set-AppStoreConnectVersionBuild -IssuerId 'Value' -KeyId 'Value' -AppId 'Value' -VersionString 'Value' -BuildNumber 'Value'Parameters
- -AllowUnprocessedBuild SwitchParameter
- Allow selecting a build before App Store Connect reports VALID processing state.
- -AppId String
- App Store Connect app id.
- -BuildNumber String
- Uploaded build number to select.
- -IssuerId String
- Issuer ID from App Store Connect API keys.
- -KeyId String
- Key ID associated with the private key.
- -NoCreateVersion SwitchParameter
- Do not create the App Store version when it is missing.
- -NoSelectBuild SwitchParameter
- Do not attach the build to the App Store version.
- -Platform ApplePlatform
- Apple platform for the App Store version and build.
- Possible values:
iOS,iPadOS,macOS,tvOS,watchOS,visionOS - -PrivateKey String
- Private key text in PEM format.
- -PrivateKeyPath String
- Path to a private key file in PEM format.
- -TokenLifetimeMinutes Int32
- Token lifetime in minutes, up to 20.
- -VersionString String
- App Store marketing version to create or update.
Common Parameters
This command supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable.
For more information, see about_CommonParameters.