Command
New-AppleAppBuild
Builds an Apple app for local installation using xcodebuild.
Syntax
New-AppleAppBuild
[-AdditionalArgument <String[]>]
[-AllowProvisioningUpdates]
[-AppPath <String>]
[-BuildMirrorPath <String>]
[-BuildRoot <String>]
[-Configuration <String>]
[-DerivedDataPath <String>]
[-Destination <String>]
[-Device <String>]
[-DeviceIdentifier <String>]
[-Platform <ApplePlatform>]
[-ProductName <String>]
[-ProjectPath] <String>
[-Rsync <String>]
-Scheme <String>
[-TimeoutMinutes <Int32>]
[-UseBuildMirror]
[-Workspace]
[-XcodeBuild <String>]
[-Xcrun <String>]
[<CommonParameters>]#Parameter set:
All Parameter SetsExamples
Example 1
New-AppleAppBuild -Scheme 'Value'Parameters
- -AdditionalArgument String[]
- Additional structured arguments appended to the xcodebuild build command.
- -AllowProvisioningUpdates SwitchParameter
- Allows Xcode to create or update signing assets during build.
- -AppPath String
- Expected app path.
- -BuildMirrorPath String
- Mirror directory used when UseBuildMirror is enabled.
- -BuildRoot String
- Root directory to mirror. Defaults to the project/workspace parent.
- -Configuration String
- Build configuration.
- -DerivedDataPath String
- DerivedData path.
- -Destination String
- Explicit xcodebuild destination.
- -Device String
- Device name, identifier, or model used when DeviceIdentifier is not supplied.
- -DeviceIdentifier String
- Physical device identifier used for destination resolution.
- -Platform ApplePlatform
- Apple platform used to resolve the product directory.
- Possible values:
iOS,iPadOS,macOS,tvOS,watchOS,visionOS - -ProductName String
- Built product name. Defaults to Scheme.
- -ProjectPath String
- Path to the Xcode project or workspace.
- -Rsync String
- rsync executable name or path used for build mirroring.
- -Scheme String
- Xcode scheme to build.
- -TimeoutMinutes Int32
- Maximum build runtime in minutes.
- -UseBuildMirror SwitchParameter
- Mirror the project root to a local folder before running xcodebuild.
- -Workspace SwitchParameter
- ProjectPath points to a workspace instead of a project.
- -XcodeBuild String
- xcodebuild executable name or path.
- -Xcrun String
- xcrun executable name or path, used when resolving Device by name.
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.