<!--
{
  "availability" : [
    "iOS: -",
    "iPadOS: -",
    "macCatalyst: -",
    "macOS: -",
    "tvOS: -",
    "visionOS: -",
    "watchOS: -"
  ],
  "documentType" : "symbol",
  "framework" : "CoreFoundation",
  "identifier" : "/documentation/CoreFoundation/CFBundleGetInfoDictionary(_:)",
  "metadataVersion" : "0.1.0",
  "role" : "Function",
  "symbol" : {
    "kind" : "Function",
    "modules" : [
      "Core Foundation"
    ],
    "preciseIdentifier" : "c:@F@CFBundleGetInfoDictionary"
  },
  "title" : "CFBundleGetInfoDictionary(_:)"
}
-->

# CFBundleGetInfoDictionary(_:)

Returns a bundle’s information dictionary.

```
func CFBundleGetInfoDictionary(_ bundle: CFBundle!) -> CFDictionary!
```

## Parameters

`bundle`

The bundle to examine.

## Return Value

A CFDictionary object containing the data stored in the bundle’s information property list (the `Info.plist` file). This is a global information dictionary. CFBundle may add extra keys to this dictionary for its own use. Ownership follows the [The Get Rule](https://developer.apple.com/library/archive/documentation/CoreFoundation/Conceptual/CFMemoryMgmt/Concepts/Ownership.html#//apple_ref/doc/uid/20001148-SW1).

## Discussion

You should typically use [`CFBundleGetValueForInfoDictionaryKey(_:_:)`](/documentation/CoreFoundation/CFBundleGetValueForInfoDictionaryKey(_:_:)) rather than retrieving values directly from the info dictionary because the function will return localized values if any are available. Use `CFBundleGetInfoDictionary` only if you know that the key you are interested in will not be localized.

To retrieve an info dictionary without creating a CFBundle object, see [`CFBundleCopyInfoDictionaryInDirectory(_:)`](/documentation/CoreFoundation/CFBundleCopyInfoDictionaryInDirectory(_:)) and [`CFBundleCopyInfoDictionaryForURL(_:)`](/documentation/CoreFoundation/CFBundleCopyInfoDictionaryForURL(_:)).

---

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)