---
title: "CFBundleCopyInfoDictionaryInDirectory(_:)"
framework: corefoundation
role: symbol
role_heading: Function
path: "corefoundation/cfbundlecopyinfodictionaryindirectory(_:)"
---

# CFBundleCopyInfoDictionaryInDirectory(_:)

Returns a bundle’s information dictionary.

## Declaration

```swift
func CFBundleCopyInfoDictionaryInDirectory(_ bundleURL: CFURL!) -> CFDictionary!
```

## Parameters

- `bundleURL`: A CFURL object describing the location of a bundle.

## Return Value

Return Value A CFDictionary object containing the information dictionary for a bundle located at bundleURL. Ownership follows the The Create Rule.

## Discussion

Discussion This function provides a means to obtain an information dictionary for a bundle without first creating a CFBundle object.

## See Also

### Getting Bundle Properties

- [CFBundleCopyBundleURL(_:)](corefoundation/cfbundlecopybundleurl(_:).md)
- [CFBundleGetDevelopmentRegion(_:)](corefoundation/cfbundlegetdevelopmentregion(_:).md)
- [CFBundleGetIdentifier(_:)](corefoundation/cfbundlegetidentifier(_:).md)
- [CFBundleGetInfoDictionary(_:)](corefoundation/cfbundlegetinfodictionary(_:).md)
- [CFBundleGetLocalInfoDictionary(_:)](corefoundation/cfbundlegetlocalinfodictionary(_:).md)
- [CFBundleGetValueForInfoDictionaryKey(_:_:)](corefoundation/cfbundlegetvalueforinfodictionarykey(_:_:).md)
- [CFBundleCopyInfoDictionaryForURL(_:)](corefoundation/cfbundlecopyinfodictionaryforurl(_:).md)
- [CFBundleGetPackageInfo(_:_:_:)](corefoundation/cfbundlegetpackageinfo(_:_:_:).md)
- [CFBundleGetPackageInfoInDirectory(_:_:_:)](corefoundation/cfbundlegetpackageinfoindirectory(_:_:_:).md)
- [CFBundleCopyExecutableArchitectures(_:)](corefoundation/cfbundlecopyexecutablearchitectures(_:).md)
- [CFBundleCopyExecutableArchitecturesForURL(_:)](corefoundation/cfbundlecopyexecutablearchitecturesforurl(_:).md)
- [CFBundleGetVersionNumber(_:)](corefoundation/cfbundlegetversionnumber(_:).md)
