26

I have four bundle identifier

  1. com.company.appname
  2. com.appname
  3. appname
  4. com.company-name.app-name

Please help me to find out correct bundle identifier,
Please tell me which is correct.

Code cracker
  • 3,009
  • 6
  • 32
  • 58
Krutarth Patel
  • 3,249
  • 6
  • 26
  • 53

4 Answers4

38

All the formats which you have mentioned are correct and can be used as bundle identifier. But the standard format followed is com.company.appname (reverse domain name).

abintom
  • 948
  • 5
  • 6
5

The First type is the correct one.It is a standard to use the reverse domain name as the bundle identifier along with app name. For example com.google.gmail,com.fb.messanger

AGENT
  • 51
  • 1
2

The Bundle ID can only contain alphanumeric characters, hyphens, and periods. It can't end on a period.

enter image description here

This regexp should be correct: .[\w\.-]+[\w-]

Sergey Demchenko
  • 2,874
  • 1
  • 23
  • 24
0

all you need is device registered at Apple development program, if you have no device registered simply connect your iphone and register it through xcode.

Abdul Saif
  • 11
  • 1