Watch Aspire live streamsDocsTry Aspire
Watch Aspire live streamsDocsTry

addiOSDevice

Method
📦 Aspire.Hosting.Maui v13.6.0-preview.1.26478.8
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: