Skip to content
DocsTry Aspire
DocsTry

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

methodaddiOSDevicebuilder
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
namestring
deviceIdstringoptional
MauiiOSDeviceResource

Defined on

This method is defined on the following type: