简体   繁体   English

Xcode名称问题

[英]Xcode name issue

I've just realised that I've created my app ID bundle indentifier with a lower case name, and I've set up my xcode project with the same name but with the first 2 letters in upper case, so for example my bundle indentifier is something like 我刚刚意识到我已经创建了一个带有小写名称的应用程序ID包标识符,并且我已经设置了我的xcode项目,其名称相同但前两个字母大写,所以例如我的包标识符是这样的

com.mysite.my-game

But my xcode project name is... 但我的xcode项目名称是......

My-Game

So I think xcode has used that to create my bundle indentifier, and the bundle indentifier is... 所以我认为xcode使用它来创建我的bundle标识符,而bundle的标识符是......

com.mysite.My-Game

So first question is, does it make any difference? 所以第一个问题是, 它有什么不同吗?

2nd question is, if it does, how do I change the project name/bundle indentifier in xcode to be... 第二个问题是,如果是, 如何更改xcode中的项目名称/包标识符...

my-game

i'e the same as the app ID version? 我和app ID版本一样吗?

and 3rd, what name is going to be displayed when the game is live on the app store , because I would actually prefer... 第3, 当游戏在应用程序商店上播放时会显示什么名称 ,因为我实际上更喜欢......

My-Game

So first question is, does it make any difference? 所以第一个问题是,它有什么不同吗?

Yes it does. 是的,它确实。

2nd question is, if it does, how do I change the project name/bundle indentifier in xcode to be... 第二个问题是,如果是,如何更改xcode中的项目名称/包标识符...

Simply edit your info.plist file, edit the Bundle identifier entry by removing the default containing ${PRODUCT_NAME:rfc1034identifier} and enter the correct one you need. 只需编辑您的info.plist文件,通过删除包含${PRODUCT_NAME:rfc1034identifier}的默认条目来编辑Bundle identifier条目,然后输入您需要的正确条目。

In case you wish to keep Xcode generating your bundle identifier, change the Product name entry below Packaging within your Build Settings . 如果您希望让Xcode生成包标识符,请在Build Settings更改Packaging下面的Product name条目。

3rd, what name is going to be displayed when the game is live on the app store, because I would actually prefer... 3,当游戏在应用程序商店上运行时会显示什么名称,因为我实际上更喜欢......

That will be determined once you submit your app. 这将在您提交应用后确定。 You may freely chose any name within iTunes Connect - no need for it to correlate with Bundle name or Bundle identifier. 您可以在iTunes Connect中自由选择任何名称 - 无需将其与Bundle名称或Bundle标识符相关联。

To make this warning go away, edit Info.plist file, and make sure the key Bundle creator OS Type code is not empty. 要使此警告消失,请编辑Info.plist文件,并确保密钥Bundle创建者操作系统类型代码不为空。 If it is empty, you can use ???? 如果是空的,你可以使用????

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM