To locate the Apple bundle ID:Log into your iTunes Connect account. Click the relevant app. Go to General > App Information. The Bundle ID is displayed.
The bundleIds resource represents the app's unique identifier that you can register, modify, and delete. You need a bundle ID before you can assign capabilities with the Bundle ID Capabilities resource or create a provisioning profile with the Profiles resource.
The simplest method to look up an app's package ID is to find the app in Google Play Store using a web browser. The app package ID will be listed after 'id=' at the end of the URL. There are several Android apps available in Play Store that lets you find Package name IDs for apps published in Play Store.
If you are trying to get it programmatically , you can use below line of code :
objective C
NSString *bundleIdentifier = [[NSBundle mainBundle] bundleIdentifier];
Swift 3.0 :
let bundleIdentifier = Bundle.main.bundleIdentifier
It will work for both iOS and Mac apps Good luck..
For those using Xcode >=7: select your target and click the General tab. Bundle Identifier is found under Identity.
In Xcode 4, select your project, then your target (you should have only one) and then the 'Info' tab. You should be able to see the bundle identifier there.
let bundleId = Bundle.main.bundleIdentifier
let bundleId = Bundle.main.infoDictionary?["CFBundleIdentifier"] as? String
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With