Skip to content
Docs Try Aspire
Docs Try

MauiProjectResource.addiOSDevice

Method
📦 Aspire.Hosting.Maui v13.4.0-preview.1.26281.18
interface MauiProjectResource {
// ... omitted for brevity
addiOSDevice(
name: string,
deviceId?: string): MauiiOSDeviceResource;
}

Signature

method addiOSDevice builder
Adds an iOS physical device resource to run the MAUI application on an iOS device with a specific name and device UDID.
addiOSDevice(
name: string,
deviceId?: string): MauiiOSDeviceResource
name string
deviceId string optional
MauiiOSDeviceResource

Defined on

This method is defined on the following type: