<!--
{
  "availability" : [
    "iOS: 26.0.0 -",
    "iPadOS: 26.0.0 -",
    "macCatalyst: 26.0.0 -",
    "macOS: 26.0.0 -",
    "tvOS: 26.0.0 -",
    "visionOS: 26.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "BackgroundAssets",
  "identifier" : "/documentation/BackgroundAssets/AssetPackManifest/init(contentsOf:appGroupID:)",
  "metadataVersion" : "0.1.0",
  "role" : "Initializer",
  "symbol" : {
    "kind" : "Initializer",
    "modules" : [
      "Background Assets"
    ],
    "preciseIdentifier" : "s:16BackgroundAssets17AssetPackManifestV10contentsOf10appGroupIDAC10Foundation3URLV_SStKcfc"
  },
  "title" : "init(contentsOf:appGroupID:)"
}
-->

# init(contentsOf:appGroupID:)

Creates a manifest in memory given a URL to the manifest’s representation as a JSON file on disk.

```
init(contentsOf url: URL, appGroupID: String) throws
```

## Parameters

`url`

A URL to a local JSON file.

`appGroupID`

The ID of the app group in which to store unmanaged asset packs that are downloaded from this manifest.

---

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)