Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is there a way to get the Bundle ID at runtime?

Tags:

Is there a way to get the Bundle ID from Info.plist at runtime? Something like [[UIApplication sharedApplication] bundleIdentifier] would be great.

like image 626
brian Avatar asked Nov 14 '10 21:11

brian


People also ask

How do I find my bundle ID XCode?

Open you project with XCode, select the top project item in the project navigator at the left. Then select TARGETS -> General. Bundle Identifier is found under Identity.

How do I find my Android bundle ID?

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.


1 Answers

[[NSBundle mainBundle] bundleIdentifier]
like image 117
brian Avatar answered Oct 04 '22 11:10

brian