Watch Aspire live streamsDocsTry Aspire
Watch Aspire live streamsDocsTry

addMacCatalystDevice

Method
📦 Aspire.Hosting.Maui v13.6.0-preview.1.26478.8
interface MauiProjectResource {
// ... omitted for brevity
addMacCatalystDevice(name: string): MauiMacCatalystPlatformResource;
}

Signature

methodaddMacCatalystDevicebuilder
Adds a Mac Catalyst device resource to run the MAUI application on the macOS platform with a specific name.
addMacCatalystDevice(name: string): MauiMacCatalystPlatformResource
namestring
MauiMacCatalystPlatformResource

Applies to

This method applies to the following types: