https://pspdfkit.com/guides/ios/current/faq/finding-the-app-bundle-id/
There is no way to directly look up [Bundle IDs][PSPDFKit Guides Bundle ID] in the Apple iOS App Store directly. To find the identifier, you will need to look at a file inside the app.
If your app is in the App Store.
- Find the app online (Google for the iTunes link). For this example we use Apple Pages: https://itunes.apple.com/app/pages/id361309726?mt=8.
- Copy the number after the id in the URL. (Here: 361309726).
- Open https://itunes.apple.com/lookup?id=361309726 where you replace the ID with the one you looked up.
- Search the output for “bundleID”. In this example it looks like this (next to a bunch of other data):
"bundleId":"com.apple.Pages"
. So for Apple, the Bundle ID iscom.apple.Pages
.
If you have the .ipa file directly
- Copy the .ipa file and rename the extension to .zip. (So e.g. Pages.ipa will become Pages.zip)
- Unzip the zip file. You will get a new folder named like the zip file.
- Search for the file
iTunesMetadata.plist
in that new folder. - Open the file with a text editor and search for
softwareVersionBundleId
. For Pages this looks like this and iscom.apple.Pages
:
You can also use iTunes to download the app ipa file directly and then find the bundle ID:
![iTunes App File Download][iTunes App API Image]
If you only have the app on your phone
- Use a tool like iExplorer that allows you to browse your device storage directly.
- Connect your iPhone/iPad to your Mac via USB and open iExplorer or a similar utility.
- Open the Apps folder on your device and locate the app you’re interested in.
- Locate the
iTunesMetadata.plist
file and follow the steps like you just unpacked the ipa above.
As of PSPDFKit 5 for iOS, you can use this technique to identifty the SDK version as well.