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.169
Language: C# Updated: 2026-10-13

API Reference

Command

New-AppleAppArchive

Namespace PSPublishModule
Inputs
None
Outputs
PowerForge.AppleAppArchiveResult

Creates an Apple app .xcarchive using xcodebuild.

Remarks

Creates an Apple app .xcarchive using xcodebuild.

Examples

Authored help example

EXAMPLE 1


New-AppleAppArchive -Scheme 'Value'
        

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.

Syntax

New-AppleAppArchive [-AdditionalArgument <String[]>] [-AllowProvisioningUpdates] [-ArchivePath <String>] [-ArchiveRoot <String>] [-ArchiveVariant <Default|MacCatalyst>] [-Configuration <String>] [-Destination <String>] [-Platform <iOS>] -ProjectPath <String> -Scheme <String> [-TimeoutMinutes <Int32>] [-Workspace] [-XcodeBuild <String>] [<CommonParameters>]
#
Parameter set: All Parameter Sets

Parameters

AdditionalArgument String[] optionalposition: namedpipeline: False
Additional structured arguments appended to the archive command.
AllowProvisioningUpdates SwitchParameter optionalposition: namedpipeline: False
Allows Xcode to create or update signing assets during archive.
ArchivePath String optionalposition: namedpipeline: False
Output .xcarchive path.
ArchiveRoot String optionalposition: namedpipeline: False
Directory used for generated archive paths.
ArchiveVariant AppleArchiveVariant optionalposition: namedpipeline: Falsevalues: 2
Optional archive destination variant, such as Mac Catalyst.
Possible values: Default, MacCatalyst
Configuration String optionalposition: namedpipeline: False
Build configuration.
Destination String optionalposition: namedpipeline: False
Explicit xcodebuild destination.
Platform ApplePlatform optionalposition: namedpipeline: Falsevalues: 6
Apple platform used to resolve the generic destination.
Possible values: iOS, iPadOS, macOS, tvOS, watchOS, visionOS
ProjectPath String requiredposition: 0pipeline: Falsealiases: FullName, Path
Path to the Xcode project or workspace.
Scheme String requiredposition: namedpipeline: False
Xcode scheme to archive.
TimeoutMinutes Int32 optionalposition: namedpipeline: False
Maximum archive runtime in minutes.
Workspace SwitchParameter optionalposition: namedpipeline: False
ProjectPath points to a workspace instead of a project.
XcodeBuild String optionalposition: namedpipeline: False
xcodebuild executable name or path.

Outputs

PowerForge.AppleAppArchiveResult