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-AppleAppArchive

Module
PSPublishModule
Inputs
System.String
Outputs
PowerForge.AppleAppArchiveUploadResult

Uploads an Apple app .xcarchive to App Store Connect using xcodebuild exportArchive.

Syntax

Publish-AppleAppArchive
[-AdditionalArgument <String[]>]
[-ArchivePath] <String>
[-ExportOptionsPlistPath <String>]
[-ExportPath <String>]
[-GenerateAppStoreInformation]
[-ManageAppVersionAndBuildNumber]
[-SigningStyle <String>]
[-TeamId <String>]
[-TimeoutMinutes <Int32>]
[-UploadSymbols]
[-XcodeBuild <String>]
[<CommonParameters>]
#
Parameter set: All Parameter Sets

Examples

Example 1

Publish-AppleAppArchive -ArchivePath 'C:\Path'

Parameters

-AdditionalArgument String[] optional
Additional structured arguments appended to the export command.
-ArchivePath String requiredposition: 0pipeline: True (ByPropertyName)aliases: FullName, Path
Path to the .xcarchive to upload.
-ExportOptionsPlistPath String optional
Path to write the generated export options plist.
-ExportPath String optional
Temporary export path used by xcodebuild.
-GenerateAppStoreInformation SwitchParameter optional
Controls whether xcodebuild generates App Store information.
-ManageAppVersionAndBuildNumber SwitchParameter optional
Controls whether App Store Connect manages app version and build numbers during upload.
-SigningStyle String optional
Signing style passed to xcodebuild exportArchive.
-TeamId String optional
Apple developer team identifier.
-TimeoutMinutes Int32 optional
Maximum upload runtime in minutes.
-UploadSymbols SwitchParameter optional
Controls whether debug symbols are uploaded.
-XcodeBuild String optional
xcodebuild executable name or path.

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.