---
title: "CFBundleCopyBundleURL(_:)"
framework: corefoundation
role: symbol
role_heading: Function
path: "corefoundation/cfbundlecopybundleurl(_:)"
---

# CFBundleCopyBundleURL(_:)

Returns the location of a bundle.

## Declaration

```swift
func CFBundleCopyBundleURL(_ bundle: CFBundle!) -> CFURL!
```

## Parameters

- `bundle`: The bundle to examine.

## Return Value

Return Value A CFURL object describing the location of bundle, or NULL if the specified bundle does not exist. Ownership follows the The Create Rule.

## See Also

### Getting Bundle Properties

- [CFBundleGetDevelopmentRegion(_:)](corefoundation/cfbundlegetdevelopmentregion(_:).md)
- [CFBundleGetIdentifier(_:)](corefoundation/cfbundlegetidentifier(_:).md)
- [CFBundleGetInfoDictionary(_:)](corefoundation/cfbundlegetinfodictionary(_:).md)
- [CFBundleGetLocalInfoDictionary(_:)](corefoundation/cfbundlegetlocalinfodictionary(_:).md)
- [CFBundleGetValueForInfoDictionaryKey(_:_:)](corefoundation/cfbundlegetvalueforinfodictionarykey(_:_:).md)
- [CFBundleCopyInfoDictionaryInDirectory(_:)](corefoundation/cfbundlecopyinfodictionaryindirectory(_:).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)
