<!--
{
  "availability" : [
    "iOS: 26.0.0 -",
    "iPadOS: 26.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "AppMigrationKit",
  "identifier" : "/documentation/AppMigrationKit/ResourcesImporting",
  "metadataVersion" : "0.1.0",
  "role" : "Protocol",
  "symbol" : {
    "kind" : "Protocol",
    "modules" : [
      "AppMigrationKit"
    ],
    "preciseIdentifier" : "s:15AppMigrationKit18ResourcesImportingP"
  },
  "title" : "ResourcesImporting"
}
-->

# ResourcesImporting

A protocol for exporting transportable resources in a streaming archive format.

```
protocol ResourcesImporting : AppMigrationExtension
```

## Overview

Conform to this protocol in your app extension to import transportable resources: files on disk that can you can copy as-is from the source device without converting to an intermediate transport format.

> Important: In the event of an error, the migration system clears the data container of the containing app to prevent apps receiving only partially imported state. However, the system doesn’t clear app group containers. To handle this situation, have your app handle errors by clearing any app group containers prior to importing your content.

## Topics

### Importing resources

[`func importResources(at: URL, request: ResourcesImportRequest) async throws`](/documentation/AppMigrationKit/ResourcesImporting/importResources(at:request:))

Imports resources to the app, in response to a request from the migration system.

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

A type that exposes properties of the resources import request.

### Expressing progress

[`var resourcesImportProgress: Progress`](/documentation/AppMigrationKit/ResourcesImporting/resourcesImportProgress)

A value to indicate the extension’s progress as it imports resources.

## Relationships

### Inherits From

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

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

[`AppExtension`](/documentation/ExtensionFoundation/AppExtension)

[`AppMigrationExtension`](/documentation/AppMigrationKit/AppMigrationExtension)

---

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)