Project

PSPublishModule

Build, test, version, sign, and publish PowerShell modules with reusable PowerForge pipelines.

Stars 48
Forks 16
PowerShell Gallery downloads 17,213
Release v3.0.186
Language: C# Updated: 2026-11-04
Command

Publish-AppStoreConnectTestFlightBuild

Module
PSPublishModule
Inputs
None
Outputs
PowerForge.AppStoreConnectTestFlightDistributionResult

Distributes a processed App Store Connect build to TestFlight beta groups and optional testers.

Syntax

Publish-AppStoreConnectTestFlightBuild
[-AllowUnprocessedBuild]
-AppId <String>
[-BetaGroupId <String[]>]
[-BetaGroupName <String[]>]
-BuildNumber <String>
-IssuerId <String>
-KeyId <String>
[-NoCreateMissingTesters]
-Platform <ApplePlatform>
[-PrivateKey <String>]
[-PrivateKeyPath <String>]
[-TesterEmail <String[]>]
[-TokenLifetimeMinutes <Int32>]
-VersionString <String>
[<CommonParameters>]
#
Parameter set: All Parameter Sets

Examples

Example 1

Publish-AppStoreConnectTestFlightBuild -IssuerId 'Value' -KeyId 'Value' -AppId 'Value' -VersionString 'Value' -BuildNumber 'Value'

Parameters

-AllowUnprocessedBuild SwitchParameter optional
Allow a build whose processing state is not VALID.
-AppId String required
App Store Connect app id.
-BetaGroupId String[] optional
Beta group ids to receive the build.
-BetaGroupName String[] optional
Beta group names to resolve and receive the build.
-BuildNumber String required
Uploaded build number.
-IssuerId String required
Issuer ID from App Store Connect API keys.
-KeyId String required
Key ID associated with the private key.
-NoCreateMissingTesters SwitchParameter optional
Do not create testers that do not already exist.
-Platform ApplePlatform required
Apple platform for the build.
Possible values: iOS, iPadOS, macOS, tvOS, watchOS, visionOS
-PrivateKey String optional
Private key text in PEM format.
-PrivateKeyPath String optional
Path to a private key file in PEM format.
-TesterEmail String[] optional
Tester email addresses to create or resolve and add to target groups.
-TokenLifetimeMinutes Int32 optional
Token lifetime in minutes, up to 20.
-VersionString String required
App Store marketing version.

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.