问题
I have four bundle identifier
- com.company.appname
- com.appname
- appname
- com.company-name.app-name
Please help me to find out correct bundle identifier,
Please tell me which is correct.
回答1:
All the formats which you have mentioned are correct. But the standard format as expected by apple is com.company.appname
.
回答2:
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
回答3:
The Bundle ID can only contain alphanumeric characters, hyphens, and periods. It can't end on a period.
This regexp should be correct: .[\w\.-]+[\w-]
来源:https://stackoverflow.com/questions/28979874/what-is-correct-format-of-bundle-identifier-in-ios