问题描述
在我的X code项目的plist文件,我可以看到价值的关键 CFBundleIdentifier
是:
In my Xcode project's plist file, I can see the value for the key CFBundleIdentifier
is:
com.mycompany $ {PRODUCT_NAME:rfc1034identifier}
很显然,我将不得不改变com.mycompany我公司的域名,但我不知道是否 rfc1034identifier
应该被删除,使其变成:
Obviously I will have to change com.mycompany to the domain name of my company, but I have no idea whether the rfc1034identifier
should be removed so that it becomes:
com.mycompany。$ {PRODUCT_NAME}
谷歌并没有帮助回答我的问题。
这是否 rfc1034identifier
影响的AppID,我应该在iPhone开发者计划提供 - ?Provisioning户
Google did not help answering my question.Does this rfc1034identifier
affect the AppID that I should provide in the iPhone Developer program - Provisioning Portal?
推荐答案
的:rfc1034identifier只是格式化它(如果需要的话),所以不存在非法字符*在包名称。你就不可能有一个由非法字符所谓的产品,但它不是不可能的。
The :rfc1034identifier just formats it (if needed) so there are no illegal characters* in the bundle name. You're unlikely to have a product that is called by an illegal character but it's not impossible.
我要离开它在那里,但它真的取决于你。
I'd leave it in there but it's really up to you.
(其实,大多数的时候我只是很难code包 - 这样,如果由于任何原因导致产品名称变更,它仍然得到了同样的捆绑标识符时,我来更新它在App Store)
(Actually, most of the time I just hardcode the bundle - that way if the product name changes for any reason, it's still got the same bundle identifier when I come to update it in the app store)
*如空格或一个点 - 他们会用下划线代替所以我的游戏将成为My_Game
*such as a space or a dot - they will be replaced with an underscore so 'My Game' would become 'My_Game'
这篇关于如果rfc1034identifier可以从plist文件中删除CFBundleIdentifier?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!