Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Choose the bundle identifier for an iOS and Mac app

Tags:

Suppose that I have an app called A.

Bundle Identifiers must be unique across all Mac and iOS apps. This means that if I have the app A on the iOS App Store with the Bundle ID com.mycompany.a, I cannot create an app on the Mac App Store with the same Bundle ID com.mycompany.a.

Ok, said that, what is the best way to distinguish the Bundle IDs?

Some examples I can think of:

  • com.mycompany.a_ios, com.mycompany.a_mac
  • com.mycompany.ios.a, com.mycompany.mac.a

Are there others that come to mind? Which you used?

like image 761
Dev Avatar asked Jan 09 '12 13:01

Dev


People also ask

What is bundle identifier in iOS?

Overview. 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.

What should my bundle identifier be?

The ending should be some variant of your app's name for readability. (It can actually be whatever you want, as long as all of your apps have different ones.)


1 Answers

Rather a request for an opinion than a question I'd say, but com.mycompany.application.platform is what I'd use.

The reason would be to make it more and more granular towards the end, seeing the platform as a sub component of the actual application.

like image 97
Joachim Isaksson Avatar answered Oct 22 '22 11:10

Joachim Isaksson