# New-ConfigurationAppleApp

Creates configuration for preparing an Apple app target in a release pipeline.

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`

Creates configuration for preparing an Apple app target in a release pipeline.

## Syntax

```
New-ConfigurationAppleApp
[-AppStoreConnectAppId <String>]
[-ArchiveVariant <Default|MacCatalyst>]
[-BuildNumber <String>]
[-BuildNumberPolicy <Explicit|KeepExisting|IncrementExisting>]
[-BundleId <String>]
[-Disabled]
-MarketingVersion <String>
[-Name <String>]
[-Platform <ApplePlatform>]
[-ProjectPath] <String>
[-RequiredPrivacyUsageDescriptionKeys <String[]>]
[-Scheme <String>]
[<CommonParameters>]
```

[#](#method-new-configurationappleapp-string-applearchivevariant-string-applebuildnumberpolicy-string-switchparameter-string-string-appleplatform-string-string-string)

Parameter set: `ExplicitVersion`

```
New-ConfigurationAppleApp
[-AppStoreConnectAppId <String>]
[-ArchiveVariant <Default|MacCatalyst>]
[-BuildNumber <String>]
[-BuildNumberPolicy <Explicit|KeepExisting|IncrementExisting>]
[-BundleId <String>]
[-Disabled]
[-Name <String>]
[-Platform <ApplePlatform>]
[-ProjectPath] <String>
[-RequiredPrivacyUsageDescriptionKeys <String[]>]
[-Scheme <String>]
-UseResolvedVersion
[<CommonParameters>]
```

[#](#method-new-configurationappleapp-string-applearchivevariant-string-applebuildnumberpolicy-string-switchparameter-string-appleplatform-string-string-string-switchparameter)

Parameter set: `ResolvedVersion`

## Description

Emits an Apple app configuration segment consumed by Invoke-ModuleBuild / Build-Module. The segment prepares local Xcode project version metadata. App Store Connect metadata is kept as configuration for future read-only checks and publish/review commands.

## Examples

### Prepare an iOS app using the resolved pipeline version

```powershell
New-ConfigurationAppleApp -Name Tactra -Platform iOS -ProjectPath .\Tactra.xcodeproj -Scheme Tactra -BundleId com.example.Tactra -UseResolvedVersion -BuildNumberPolicy IncrementExisting
```

Sets MARKETING_VERSION from the pipeline version and increments CURRENT_PROJECT_VERSION.

## Parameters

**-AppStoreConnectAppId String optional**

Optional App Store Connect app id for future remote metadata checks.

**-ArchiveVariant AppleArchiveVariant optional**

Optional archive destination variant, such as Mac Catalyst.

Possible values: `Default`, `MacCatalyst`

**-BuildNumber String optional**

Optional explicit build number.

**-BuildNumberPolicy AppleBuildNumberPolicy optional**

Build number policy used when preparing the local Xcode project.

Possible values: `Explicit`, `KeepExisting`, `IncrementExisting`

**-BundleId String optional**

Bundle identifier, e.g. com.example.Tactra.

**-Disabled SwitchParameter optional**

Disable this configuration entry without removing it from a build script.

**-MarketingVersion String requiredsets: ExplicitVersion**

The value to assign to all MARKETING_VERSION entries.

**-Name String optional**

Friendly app name used in logs and reports.

**-Platform ApplePlatform optional**

Apple platform for this app target.

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

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

Path to a .xcodeproj directory or project.pbxproj file. Relative paths resolve from the pipeline project root.

**-RequiredPrivacyUsageDescriptionKeys String[] optional**

Privacy purpose-string keys that must contain non-empty values in the final archived app before upload.

**-Scheme String optional**

Xcode scheme name for future archive/export automation.

**-UseResolvedVersion SwitchParameter requiredsets: ResolvedVersion**

Uses the pipeline resolved version as the MARKETING_VERSION 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](https://learn.microsoft.com/powershell/module/microsoft.powershell.core/about/about_commonparameters).

Evotec API Reference Copyright 2026 Evotec Services

<!-- PowerForge markdown artifact sha256:2752FF7B55E55C32740417EF20CACECCE6A558109D3BE7AB9C79C50A680685A3 -->
