| external help file | PSPublishModule-help.xml |
|---|---|
| Module Name | PSPublishModule |
| online version | https://github.com/EvotecIT/PSPublishModule |
| schema | 2.0.0 |
Creates configuration for preparing an Apple app target in a release pipeline.
New-ConfigurationAppleApp [-ProjectPath] <string> -MarketingVersion <string> [-Name <string>] [-BundleId <string>] [-Platform <ApplePlatform>] [-ArchiveVariant <AppleArchiveVariant>] [-Scheme <string>] [-AppStoreConnectAppId <string>] [-BuildNumber <string>] [-BuildNumberPolicy <AppleBuildNumberPolicy>] [-Disabled] [<CommonParameters>]New-ConfigurationAppleApp [-ProjectPath] <string> -UseResolvedVersion [-Name <string>] [-BundleId <string>] [-Platform <ApplePlatform>] [-ArchiveVariant <AppleArchiveVariant>] [-Scheme <string>] [-AppStoreConnectAppId <string>] [-BuildNumber <string>] [-BuildNumberPolicy <AppleBuildNumberPolicy>] [-Disabled] [<CommonParameters>]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.
PS> New-ConfigurationAppleApp -Name Tactra -Platform iOS -ProjectPath .\Tactra.xcodeproj -Scheme Tactra -BundleId com.example.Tactra -UseResolvedVersion -BuildNumberPolicy IncrementExistingSets MARKETING_VERSION from the pipeline version and increments CURRENT_PROJECT_VERSION.
Optional App Store Connect app id for future remote metadata checks.
Type: String
Parameter Sets: ExplicitVersion, ResolvedVersion
Aliases: None
Possible values:
Required: False
Position: named
Default value: None
Accept pipeline input: False
Accept wildcard characters: TrueOptional archive destination variant, such as Mac Catalyst.
Type: AppleArchiveVariant
Parameter Sets: ExplicitVersion, ResolvedVersion
Aliases: None
Possible values: Default, MacCatalyst
Required: False
Position: named
Default value: None
Accept pipeline input: False
Accept wildcard characters: TrueOptional explicit build number.
Type: String
Parameter Sets: ExplicitVersion, ResolvedVersion
Aliases: None
Possible values:
Required: False
Position: named
Default value: None
Accept pipeline input: False
Accept wildcard characters: TrueBuild number policy used when preparing the local Xcode project.
Type: AppleBuildNumberPolicy
Parameter Sets: ExplicitVersion, ResolvedVersion
Aliases: None
Possible values: Explicit, KeepExisting, IncrementExisting
Required: False
Position: named
Default value: None
Accept pipeline input: False
Accept wildcard characters: TrueBundle identifier, e.g. com.example.Tactra.
Type: String
Parameter Sets: ExplicitVersion, ResolvedVersion
Aliases: None
Possible values:
Required: False
Position: named
Default value: None
Accept pipeline input: False
Accept wildcard characters: TrueDisable this configuration entry without removing it from a build script.
Type: SwitchParameter
Parameter Sets: ExplicitVersion, ResolvedVersion
Aliases: None
Possible values:
Required: False
Position: named
Default value: None
Accept pipeline input: False
Accept wildcard characters: TrueThe value to assign to all MARKETING_VERSION entries.
Type: String
Parameter Sets: ExplicitVersion
Aliases: None
Possible values:
Required: True
Position: named
Default value: None
Accept pipeline input: False
Accept wildcard characters: TrueFriendly app name used in logs and reports.
Type: String
Parameter Sets: ExplicitVersion, ResolvedVersion
Aliases: None
Possible values:
Required: False
Position: named
Default value: None
Accept pipeline input: False
Accept wildcard characters: TrueApple platform for this app target.
Type: ApplePlatform
Parameter Sets: ExplicitVersion, ResolvedVersion
Aliases: None
Possible values: iOS, iPadOS, macOS, tvOS, watchOS, visionOS
Required: False
Position: named
Default value: None
Accept pipeline input: False
Accept wildcard characters: TruePath to a .xcodeproj directory or project.pbxproj file. Relative paths resolve from the pipeline project root.
Type: String
Parameter Sets: ExplicitVersion, ResolvedVersion
Aliases: Path, FullName
Possible values:
Required: True
Position: 0
Default value: None
Accept pipeline input: False
Accept wildcard characters: TrueXcode scheme name for future archive/export automation.
Type: String
Parameter Sets: ExplicitVersion, ResolvedVersion
Aliases: None
Possible values:
Required: False
Position: named
Default value: None
Accept pipeline input: False
Accept wildcard characters: TrueUses the pipeline resolved version as the MARKETING_VERSION value.
Type: SwitchParameter
Parameter Sets: ResolvedVersion
Aliases: None
Possible values:
Required: True
Position: named
Default value: None
Accept pipeline input: False
Accept wildcard characters: TrueThis cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.
None
System.Object
- None