<!--
{
  "availability" : [
    "iOS: 2.0.0 -",
    "iPadOS: 2.0.0 -",
    "macCatalyst: 13.0.0 -",
    "macOS: 10.0.0 -",
    "tvOS: 9.0.0 -",
    "visionOS: 1.0.0 -",
    "watchOS: 2.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "Foundation",
  "identifier" : "/documentation/Foundation/Bundle/infoDictionary",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "Foundation"
    ],
    "preciseIdentifier" : "c:objc(cs)NSBundle(py)infoDictionary"
  },
  "title" : "infoDictionary"
}
-->

# infoDictionary

A dictionary, constructed from the bundle’s `Info.plist` file, that contains information about the receiver.

```
var infoDictionary: [String : Any]? { get }
```

## Discussion

If the bundle does not contain an `Info.plist` file, this dictionary contains only private keys that are used internally by the [`Bundle`](/documentation/Foundation/Bundle) class. The [`Bundle`](/documentation/Foundation/Bundle) class may add extra keys to this dictionary for its own use. Common keys for accessing the values of the dictionary are `CFBundleIdentifier`, `NSMainNibFile`, and `NSPrincipalClass`.

## See Also

[`principalClass`](/documentation/Foundation/Bundle/principalClass)

The bundle’s principal class.

[`+  dictionaryWithContentsOfFile:`](/documentation/Foundation/NSDictionary/dictionaryWithContentsOfFile:)

Creates a dictionary using the keys and values found in a file specified by a given path.



---

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)