如何在构建设置中更改Mac应用程序的名称? [英] How to change the name of a Mac application in the build settings?

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

问题描述

我将要向Mac App Store提交一个应用程序,但是我的应用程序名称与他们系统中的另一个应用程序冲突.因此,我选择了另一个名称,然后尝试通过进入包装"部分和产品名称"行下的构建设置来更改应用程序的名称.我清理了所有目标并重建了应用程序,但菜单栏和捆绑包中显示的名称是旧名称.

I am about to submit an app to the Mac App Store, however the name of my application conflicts with another application in their system. So I picked another name and I tried to change the name of my application by going into the build settings under the "Packaging" section and "Product Name" row. I cleaned all targets and rebuilt the application, but the name displayed in the menu bar and bundle was the old name.

我缺少什么?如何在不重新创建另一个项目的情况下更改应用程序的名称?

What I am missing? How do I change the name of an application without having to recreate another project?

谢谢.

推荐答案

确保您正在编辑目标而不是项目的产品名称.因此,菜单Project->Edit Active Target "targetname"不是Project->Edit Project Settings.或右键单击组列表中的目标,然后选择Get Info.

Make sure you are editing the Product Name of the target not the Project. So the menu Project->Edit Active Target "targetname" not Project->Edit Project Settings. Or right-click on the target in the group list and choose Get Info.

请注意,您必须编辑MainMenu.xib才能在关于",退出"和帮助"菜单项中显示正确的应用程序名称.

Note that you will have to edit MainMenu.xib to show the correct app name in the About, Quit, and Help menu items.

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

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