<!--
{
  "availability" : [
    "iOS: 26.0.0 -",
    "iPadOS: 26.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "AppMigrationKit",
  "identifier" : "/documentation/AppMigrationKit/AppMigrationTester/AppExportController",
  "metadataVersion" : "0.1.0",
  "role" : "Class",
  "symbol" : {
    "kind" : "Class",
    "modules" : [
      "AppMigrationKit"
    ],
    "preciseIdentifier" : "s:15AppMigrationKit0aB6TesterC0A16ExportControllerC"
  },
  "title" : "AppMigrationTester.AppExportController"
}
-->

# AppMigrationTester.AppExportController

A class you use to test your extension’s export code.

```
final class AppExportController
```

## Overview

Use the [`exportController`](/documentation/AppMigrationKit/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.

## Topics

### Testing resource export

[`func exportResources<SupportedOptions>(request: MigrationRequestWithOptions<SupportedOptions>?, progress: Progress?) async throws -> AppMigrationTester.ResourcesExportResult`](/documentation/AppMigrationKit/AppMigrationTester/AppExportController/exportResources(request:progress:)-15m4v)

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

[`func exportResources(request: MigrationRequest?, progress: Progress?) async throws -> AppMigrationTester.ResourcesExportResult`](/documentation/AppMigrationKit/AppMigrationTester/AppExportController/exportResources(request:progress:)-5mw8u)

Tells the migration extension to begin exporting its resources.

[`struct ResourcesExportResult`](/documentation/AppMigrationKit/AppMigrationTester/ResourcesExportResult)

The result of exporting resources to another device.

### Supporting types

[`struct MigrationRequestWithOptions`](/documentation/AppMigrationKit/MigrationRequestWithOptions)

An object that exposes properties of the migration request.

[`typealias MigrationRequest`](/documentation/AppMigrationKit/MigrationRequest)

A migration request that uses the default supported options.

## Relationships

### Conforms To

[`Sendable`](/documentation/Swift/Sendable)

[`SendableMetatype`](/documentation/Swift/SendableMetatype)

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)