One Logo Pool Ball
AppMigrationKit · IOS API REFERENCE

AppMigrationTester.AppExportController

class · iOS 26.0+ · SDK 27.1

final class AppExportController

A class you use to test your extension's export code. Use the ``AppMigrationTester/exportController`` property to obtain an instance of this class, then use its methods to call the export-related code of your app migration extension.

Members (1)

method · iOS 26.0+

exportResources

TypeScript
exportResources(request?: (MigrationRequestWithOptions<MigrationDefaultSupportedOptions>) | null, progress?: (_Foundation_Progress) | null): Promise<AppMigrationTester_ResourcesExportResult>
Swift declaration
final func exportResources(request: MigrationRequest? = nil, progress: Progress? = nil) async throws -> AppMigrationTester.ResourcesExportResult

Tells the migration extension to begin exporting its resources. - Parameters: - request: An optional migration request instance to pass to the app extension's export method. This value defaults to `nil`. - progress: An optional <doc://com.apple.documentation/documentation/foundation/progress> object the extension uses to report its progress back to the unit test. This value defaults to `nil`. - Returns: The results of the export.

Skipped declarations

1 declarations were excluded from these bindings. Each reason comes from the generator or the iOS SDK compiler.

AppMigrationTester.AppExportController.exportResources(request:progress:)

This declaration needs Swift generic type arguments. (no canonical witness for SupportedOptions)

All AppMigrationKit types →