# New-AppleAppBuild

Builds an Apple app for local installation 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.AppleAppBuildResult`

Builds an Apple app for local installation using xcodebuild.

## Syntax

```
New-AppleAppBuild
[-AdditionalArgument <String[]>]
[-AllowProvisioningUpdates]
[-AppPath <String>]
[-BuildMirrorPath <String>]
[-BuildRoot <String>]
[-Configuration <String>]
[-DerivedDataPath <String>]
[-Destination <String>]
[-Device <String>]
[-DeviceIdentifier <String>]
[-Platform <ApplePlatform>]
[-ProductName <String>]
[-ProjectPath] <String>
[-Rsync <String>]
-Scheme <String>
[-TimeoutMinutes <Int32>]
[-UseBuildMirror]
[-Workspace]
[-XcodeBuild <String>]
[-Xcrun <String>]
[<CommonParameters>]
```

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

Parameter set: `All Parameter Sets`

## Examples

### Example 1

```powershell
New-AppleAppBuild -Scheme 'Value'
```

## Parameters

**-AdditionalArgument String[] optional**

Additional structured arguments appended to the xcodebuild build command.

**-AllowProvisioningUpdates SwitchParameter optional**

Allows Xcode to create or update signing assets during build.

**-AppPath String optional**

Expected app path.

**-BuildMirrorPath String optional**

Mirror directory used when UseBuildMirror is enabled.

**-BuildRoot String optional**

Root directory to mirror. Defaults to the project/workspace parent.

**-Configuration String optional**

Build configuration.

**-DerivedDataPath String optional**

DerivedData path.

**-Destination String optional**

Explicit xcodebuild destination.

**-Device String optional**

Device name, identifier, or model used when DeviceIdentifier is not supplied.

**-DeviceIdentifier String optional**

Physical device identifier used for destination resolution.

**-Platform ApplePlatform optional**

Apple platform used to resolve the product directory.

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

**-ProductName String optional**

Built product name. Defaults to Scheme.

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

Path to the Xcode project or workspace.

**-Rsync String optional**

rsync executable name or path used for build mirroring.

**-Scheme String required**

Xcode scheme to build.

**-TimeoutMinutes Int32 optional**

Maximum build runtime in minutes.

**-UseBuildMirror SwitchParameter optional**

Mirror the project root to a local folder before running xcodebuild.

**-Workspace SwitchParameter optional**

ProjectPath points to a workspace instead of a project.

**-XcodeBuild String optional**

xcodebuild executable name or path.

**-Xcrun String optional**

xcrun executable name or path, used when resolving Device by name.

## 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:2FBE4EEDE344182C7B15C1FDCF7DA42BEDD7CE272EE75ACE57FB4C3609B3F467 -->
