Skip to content
DocsTry Aspire
DocsTry

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

Applies to

This method applies to the following types: