init(sourceAppIdentifier:sourceVersion:)
Creates a resources import request instance for use in a unit test.
Declaration
init(sourceAppIdentifier: MigrationAppIdentifier, sourceVersion: String)Parameters
- sourceAppIdentifier:
The application that exported the content.
- sourceVersion:
The data format version provided by the source application.
Discussion
You only use this initializer when creating unit tests that call importResources(from:importRequest:progress:). Don’t use it in your app migration extension.