31

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,105
  • 6
  • 37
  • 67
Krutarth Patel
  • 3,407
  • 6
  • 27
  • 54

4 Answers4

44

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
  • 1,008
  • 7
  • 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
4

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,924
  • 1
  • 24
  • 26
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