Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What is Xcode's Organization Identifier?

I have some questions around the Organization Identifier when creating a new project in Xcode.

Creation of new project in Xcode

With a quick search, I have found that the Organization Identifier is used to identify your app.

My questions are the following:

  1. Should I choose a unique identifier between my apps or between developers?
  2. Usually, the com at the beginning of the identifier is used to identify that the following word describes a company? Is that something to do with the domain-notation like org, net etc?
  3. Finally, any suggestions when creating this identifier? What problems can this identifier create if not set properly in the first place?
like image 926
Rafael Avatar asked Jan 24 '16 16:01

Rafael


People also ask

What is the organization identifier?

Introduction. An Organization ID (Org ID) represents a business, nonprofit corporation, or government entity in the ARIN database. (Note that the term Org Handle is also sometimes used to refer to the Org ID, which is the unique identifier for organization records in all of the services ARIN provides.)

What should be the organization identifier in Xcode?

Organization name. The organization identifier is part of the bundle ID ( CFBundleIdentifier ) by default. Xcode uses the bundle ID to register an App ID when you first run your app on a device.

Can you change organization identifier in Xcode?

The organisation identifier is a string entered when starting a new project and has a reverse-DNS format: com. mycompany... If you want to change it, open the Info. plist file of your app (or the dedicated editor of that file in Xcode), and change it.


1 Answers

The Organization Identifier needs to be unique. Usually, is the developer's website in reverse DNS notation. That is, if the developer's website is example.com, then the Organization Identifier will become com.example.

According to Apple, this Bundle Identifier should be unique among the apps on the App Store (if you want to distribute your app on Apple's App Store). Therefore, one way to ensure this uniqueness is to choose a unique Organisation Identifier.

Creating two versions of your application (iOS, macOS) then the identifier needs also to be different, and one way is to append .Mac or .iOS before the App name in the Identifier field.

Once the App is distributed to the App Store, the identifier can't be changed.

Finally, for the last question, I can't see any problems with this part. Choosing a good, unique and nice looking Organisation Identifier is more than enough.

References

  • What is the difference between the app ID and the bundle ID? Where is the app ID in the Xcode project?
  • Xcode: What is the significance of a project's organization identifier?
  • Configure your Xcode Project for Distribution
like image 174
Rafael Avatar answered Sep 21 '22 03:09

Rafael