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.186
Language: C# Updated: 2026-11-04
Command

Get-XcodeProjectVersion

Module
PSPublishModule
Inputs
System.String
Outputs
PowerForge.XcodeProjectVersionInfo

Reads version information from an Xcode project.

Syntax

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

Description

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

Read version values from an Xcode project

Get-XcodeProjectVersion -Path .\Tactra.xcodeproj

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

Parameters

-Path String requiredposition: 0pipeline: True (ByValue, ByPropertyName)aliases: FullName, ProjectPath
Path to a .xcodeproj directory or project.pbxproj 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.