在Xcode 4中更改iPhone应用程序的名称 [英] Change name of iPhone app in Xcode 4

查看:108
本文介绍了在Xcode 4中更改iPhone应用程序的名称的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想更改iPhone屏幕上应用图标下方显示的名称。
我使用Xcode 4并且我有一个带键的目标:

I want to change the name which is displayed below the app icon on the iPhone screen. I use Xcode 4 and I have one target with keys:


  • 捆绑显示名称:$ {PRODUCT_NAME}

  • 套装名称:$ {PRODUCT_NAME}

我想要的是,我的项目名称例如是test但我想拥有MySuperApp。
那么,哪里可以更好地改变它?我可以在哪里更改 $ {PRODUCT_NAME}

What I want, my project name is for example "test" but I want to have "MySuperApp". So, where can I change it best? Is there a place where I can change ${PRODUCT_NAME}?

我还有其他地方需要改变它?

Are there any other places where I have to change it?

推荐答案

没有文件重命名的答案



注意< a href =https://stackoverflow.com/a/8074959/111307>一个不需要文件重命名的答案在下面。

好的,这是我发现的,在阅读这篇文章后带我去打猎,所以希望这个答案对每个人都有帮助:

OK, here is what I found, took me a bit of hunting after reading this post, so hopefully this answer will help everyone:

1.在左侧的项目内容窗格中,单击文件夹图标。

1.In the project contents pane at left, click the Folder icon.

2.选择代表项目的顶级蓝线。

2.Select the top-level blue line representing the project.

3.如果未打开Inspector窗格(右窗格),请单击按钮以启用它。这是右上角视图工具栏中的第三个按钮。

3.If you don't have the Inspector pane (right pane) open, click the button to enable it. This is the third button in the "View" toolbar towards the upper right corner.

4.在检查器窗格中,单击小折角纸(文件属性)图标。

4.In the Inspector pane, click the little folded-corner paper (file properties) icon.

5.首先是项目名称。输入一个新文件,系统将提示您重命名项目内容文件。

5.First thing is Project Name. Type in a new one, you will be prompted to rename project content files.

我应该添加,这将使您的旧应用程序在模拟器中保留原始名称,因此您仍需要将其删除来自模拟器。此外,您在旧应用程序包中创建的任何文件都不会被提交到新的捆绑包(除非您在Finder中找到它们并将其移出)。

I should add, this will leave your old app with the original name in the simulator, so you still need to delete it from the simulator. Also any files you created in the old app bundle will not be brought forward to the new bundle (unless you find them in Finder and move them over).

(编辑: )一个更重要的说明。重命名捆绑包意味着您在Apple Provisioning Portal注册的App Bundle Identifier将不再适用于该应用程序。您需要生成新的App ID和Provisioning Profile才能将您的应用分发到物理设备。

() One more important note. Renaming your bundle will mean that the App Bundle Identifier you registered with Apple Provisioning Portal will no longer work for that app. You will need to generate a new App ID and Provisioning Profile in order to distribute your app to a physical device.

这篇关于在Xcode 4中更改iPhone应用程序的名称的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆