Project

PSPublishModule

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

Stars 48
Forks 16
PowerShell Gallery downloads 17,213
Release v3.0.169
Language: C# Updated: 2026-10-13

API Reference

Command

Get-XcodeProjectVersion

Namespace PSPublishModule
Inputs
System.String
Outputs
PowerForge.XcodeProjectVersionInfo

Reads version information from an Xcode project.

Remarks

Reads MARKETING_VERSION and CURRENT_PROJECT_VERSION values from a .xcodeproj directory or a raw project.pbxproj file. The returned object includes all distinct values so release scripts can detect drift across targets or configurations before uploading to App Store Connect.

Examples

Authored help example

Read version values from an Xcode project

PS>


Get-XcodeProjectVersion -Path .\Tactra.xcodeproj
        

Returns the distinct marketing and build version values from the project file.

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.

Syntax

Get-XcodeProjectVersion -Path <String> [<CommonParameters>]
#
Parameter set: All Parameter Sets

Parameters

Path String requiredposition: 0pipeline: True (ByValue, ByPropertyName)aliases: FullName, ProjectPath
Path to a .xcodeproj directory or project.pbxproj file.

Outputs

PowerForge.XcodeProjectVersionInfo