| external help file | PSPublishModule-help.xml |
|---|---|
| Module Name | PSPublishModule |
| online version | https://github.com/EvotecIT/PSPublishModule |
| schema | 2.0.0 |
Creates configuration for updating Xcode project version values during a build pipeline.
New-ConfigurationXcodeProjectVersion [-Path] <string> -MarketingVersion <string> [-BuildNumber <string>] [-Disabled] [<CommonParameters>]New-ConfigurationXcodeProjectVersion [-Path] <string> -UseResolvedVersion [-BuildNumber <string>] [-Disabled] [<CommonParameters>]Emits an Xcode project version configuration segment consumed by Invoke-ModuleBuild / Build-Module. Use it when a release pipeline should keep Apple app project versions in sync with the build recipe.
PS> New-ConfigurationXcodeProjectVersion -Path .\Tactra.xcodeproj -MarketingVersion 1.0.0 -BuildNumber 4Updates MARKETING_VERSION and CURRENT_PROJECT_VERSION before the module build is staged.
PS> New-ConfigurationXcodeProjectVersion -Path .\Tactra.xcodeproj -UseResolvedVersion -BuildNumber 4Uses the build pipeline's resolved version for MARKETING_VERSION.
Optional value to assign to all CURRENT_PROJECT_VERSION entries.
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: TruePath to a .xcodeproj directory or project.pbxproj file. Relative paths resolve from the pipeline project root.
Type: String
Parameter Sets: ExplicitVersion, ResolvedVersion
Aliases: ProjectPath, FullName
Possible values:
Required: True
Position: 0
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