How to Define an iOS App for the App Store
Before your iOS app can be published to the App Store, some basic information to define it is required — for example, the app’s name, bundle ID, and version. In addition, be sure to define all special capabilities that your app uses.
To edit the data in this section, choose Views→Navigator→Show Project Navigator to open the project editor; then pick the target from the Project/Targets menu. Make sure the General tab is selected.
The Identity section below contains information about your app’s identity and its version.
The Identity section contains the following fields:
Bundle Identifier: A bundle ID is a string that uniquely identifies your app. This string should be in reverse-DNS format. So if you’re creating an app called “Hello World” and your company’s website is mycompany.com, your bundle ID might be com.mycompany.helloworld.
Xcode automatically appends your app name, so you provide only the bundle ID prefix here in the editor. When you submit your app, you must specify this bundle ID in iTunes Connect.
Version: The version consists of three version numbers separated by periods — major version, minor version, and maintenance release (for example, 1.8.5).
Build: The build string represents an individual iteration of your app. You must update this string before distributing a new version of your app (for example, for beta testing).
According to Apple, the build string is made up of three non-negative integers that are separated by periods. The first integer must be greater than zero. Note that all leading zeros will be removed, so, for example, 1.2.01 is equal to 1.2.1.
Team: The team is either you or your company depending on how you enrolled in the iOS Developer Program. If your team doesn’t appear in the list, click Add Account at the bottom of the list to add your Apple ID to Xcode.