# New-AppleAppArchive

Creates an Apple app .xcarchive using xcodebuild.

Project

PSPublishModule

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

[View on GitHub](https://github.com/EvotecIT/PSPublishModule) [Visit Website](#) [Releases](https://github.com/EvotecIT/PSPublishModule/releases/tag/v3.0.124) [Changelog](#) [Get package](https://www.powershellgallery.com/packages/PSPublishModule/2.0.27)

Stars **48**

Forks **15**

Open issues **1**

PowerShell Gallery downloads **17,213**

Release **v3.0.195**

Language: C# Updated: 2026-11-25

Command 

**Module**

`PSPublishModule`

**Inputs**

`None`

**Outputs**

`PowerForge.AppleAppArchiveResult`

Creates an Apple app .xcarchive using xcodebuild.

## Syntax

```
New-AppleAppArchive
[-AdditionalArgument <String[]>]
[-AllowProvisioningUpdates]
[-ArchivePath <String>]
[-ArchiveRoot <String>]
[-ArchiveVariant <Default|MacCatalyst>]
[-Configuration <String>]
[-Destination <String>]
[-Platform <ApplePlatform>]
[-ProjectPath] <String>
-Scheme <String>
[-TimeoutMinutes <Int32>]
[-Workspace]
[-XcodeBuild <String>]
[<CommonParameters>]
```

[#](#method-new-appleapparchive-string-switchparameter-string-string-applearchivevariant-string-string-appleplatform-string-string-int32-switchparameter-string)

Parameter set: `All Parameter Sets`

## Examples

### Example 1

```powershell
New-AppleAppArchive -Scheme 'Value'
```

## Parameters

**-AdditionalArgument String[] optional**

Additional structured arguments appended to the archive command.

**-AllowProvisioningUpdates SwitchParameter optional**

Allows Xcode to create or update signing assets during archive.

**-ArchivePath String optional**

Output .xcarchive path.

**-ArchiveRoot String optional**

Directory used for generated archive paths.

**-ArchiveVariant AppleArchiveVariant optional**

Optional archive destination variant, such as Mac Catalyst.

Possible values: `Default`, `MacCatalyst`

**-Configuration String optional**

Build configuration.

**-Destination String optional**

Explicit xcodebuild destination.

**-Platform ApplePlatform optional**

Apple platform used to resolve the generic destination.

Possible values: `iOS`, `iPadOS`, `macOS`, `tvOS`, `watchOS`, `visionOS`

**-ProjectPath String requiredposition: 0aliases: FullName, Path**

Path to the Xcode project or workspace.

**-Scheme String required**

Xcode scheme to archive.

**-TimeoutMinutes Int32 optional**

Maximum archive runtime in minutes.

**-Workspace SwitchParameter optional**

ProjectPath points to a workspace instead of a project.

**-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](https://learn.microsoft.com/powershell/module/microsoft.powershell.core/about/about_commonparameters).

Evotec API Reference Copyright 2026 Evotec Services

<!-- PowerForge markdown artifact sha256:2202F9CA847B6487572360694F14F1AD04B6FFD465B7F0D86733A04EBFA88581 -->
