Contents

exportResources(request:progress:)

Tells the migration extension to begin exporting its resources, using options defined by the destination platform.

Declaration

final func exportResources<SupportedOptions>(request: MigrationRequestWithOptions<SupportedOptions>? = nil, progress: Progress? = nil) async throws -> AppMigrationTester.ResourcesExportResult where SupportedOptions : CaseIterable, SupportedOptions : Hashable, SupportedOptions : RawRepresentable, SupportedOptions : Sendable, SupportedOptions.RawValue == String

Parameters

  • request:

    An optional migration request instance to pass to the app extension’s export method. This value defaults to nil.

  • progress:

    An optional Progress object the extension uses to report its progress back to the unit test. This value defaults to nil.

Return Value

The results of the export.

See Also

Testing resource export