hamobi
hamobi

Reputation: 8130

what is the significance of the "com" prefix in a bundle id?

I always find myself confused when using itunes connect. I understand bundleid is some kind of identifier for my app. but what is the purpose of the "com" prefix if everyone uses that? That doesn't make your bundle id any more unique?

does it matter if my bundle id is:

mycompany.app vs com.mycompany.app

I know this has been asked a lot, but I still find myself really confused by the whole process.

Upvotes: 3

Views: 1627

Answers (2)

Mike Taverne
Mike Taverne

Reputation: 9362

It's a convention that Apple recommends for uniqueness. Since Internet domain names are guaranteed to be unique, using them in your bundle id ensures it's unique.

Two companies might have the same name, for example Acme, but only one of them could own the domain name acme.com. The other company would have a different domain name, such as acme.biz. This would result in each having unique bundle ids.

Upvotes: 0

Peter Foti
Peter Foti

Reputation: 5674

Putting the domain extension at the beginning of the name is known as Reverse Domain Name Notation. In practice it is beneficial because it provides a very specific namespace. If two companies have the same name, only one of them can own the corresponding .com domain for that name, and thus you avoid conflicts that might arise otherwise.

Upvotes: 2

Related Questions