Contents

exportResources(request:progress:)

Tells the migration extension to begin exporting its resources.

Declaration

final func exportResources(request: MigrationRequest? = nil, progress: Progress? = nil) async throws -> AppMigrationTester.ResourcesExportResult

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