Provisioning & entitlements

Bundle ID

The reverse-DNS string in your app's Info.plist (`com.example.app`) that uniquely identifies it on the App Store and on every device it installs on.

Bundle IdentifierCFBundleIdentifier

A Bundle ID is the reverse-DNS string that uniquely identifies a single app (or extension, or watch companion app) on Apple's platforms. It lives in CFBundleIdentifier inside the .app bundle's Info.plist. Once a Bundle ID is taken on the App Store, it cannot be reused by anyone else, which is why Xcode reports Failed to register bundle identifier when you pick one that somebody already owns.

How to find an app's bundle ID

  • In Xcode: the target's General tab, Bundle Identifier field, or the PRODUCT_BUNDLE_IDENTIFIER build setting.
  • In a built app: the CFBundleIdentifier key in the .app bundle's Info.plist.
  • In App Store Connect: General > App Information, under Bundle ID.
  • For someone else's published app: Apple's public lookup endpoint, keyed on the App Store ID from the store URL.
bash
# From a built app on disk
/usr/libexec/PlistBuddy -c 'Print :CFBundleIdentifier' MyApp.app/Info.plist

# From an .ipa, without unzipping the whole thing
unzip -p MyApp.ipa 'Payload/*.app/Info.plist' \
  | plutil -extract CFBundleIdentifier raw -

# From a published App Store listing (id123456789 in the store URL)
curl -s 'https://itunes.apple.com/lookup?id=123456789' | jq -r '.results[0].bundleId'

How it relates to App ID and Team ID

  • Your Bundle ID is com.example.app.
  • Your registered App ID is TEAMID.com.example.app.
  • Your provisioning profile binds the App ID to one or more signing certificates and (for Development and Ad Hoc) a device list.
  • Your build is then signed against that profile, with the matching CFBundleIdentifier baked into the .app at compile time.
  • When the last two drift apart, usually because a build configuration appends a suffix like .staging, the build stops with profile has app ID which does not match the bundle ID.

Subdomain conventions

App extensions, widgets, watch apps, and Notification Service Extensions use sub-bundles whose Bundle ID is the parent's plus a suffix:

  • App: com.example.app
  • Watch app: com.example.app.watchkitapp
  • Today widget: com.example.app.TodayExtension
  • Notification service: com.example.app.NotificationService

FAQ

Common questions about Bundle ID

How do I find an app's bundle ID?

In Xcode it is the Bundle Identifier field under the target's General tab, or the PRODUCT_BUNDLE_IDENTIFIER build setting. For a built app, read CFBundleIdentifier out of the Info.plist. For a published App Store app you do not have the source for, Apple's public lookup endpoint returns it: https://itunes.apple.com/lookup?id=123456789 has a bundleId field in the response.

Can I change a Bundle ID after the app is on the App Store?

Technically you can ship a build with a new Bundle ID, but the App Store treats it as a completely different app: fresh listing, zero reviews, no automatic migration for existing users, and keychain data left behind. In practice a published Bundle ID is permanent. Choose it carefully before the first release.

What is the difference between a Bundle ID and an App ID?

The Bundle ID is the string in your app's Info.plist, like com.example.app. The App ID is that string registered in the Apple Developer portal under your team, effectively TEAMID.com.example.app, where capabilities are enabled and provisioning profiles attach. Same name, two layers: one in the binary, one in Apple's records.

Should I use a wildcard Bundle ID?

Only for throwaway development. A wildcard App ID (com.example.*) cannot use most capabilities: no push notifications, no App Groups, no iCloud, no Sign in with Apple, and no App Store distribution. Any real app ends up on an explicit App ID, so starting there avoids a migration later.

Do app extensions need their own Bundle IDs?

Yes. Every extension, widget, and watch app has its own Bundle ID, conventionally the parent's plus a suffix, and each needs its own App ID and provisioning profile for distribution. This is why a single app with a widget and a notification extension shows up as three profiles in the portal.

Keep reading

Related terms

Next step

Help articles on this topic

Notice a definition that has drifted? Email support@hexsign.io and we'll update it. Browse the full glossary or jump to the help center.

Try HexSign

Know before a certificate or profile expires.

HexSign tracks every Apple certificate and provisioning profile and alerts you ahead of expiry. The Free plan covers tracking and alerts. Paid plans renew them for you.