简体   繁体   English

在Xcode / Cocoa中更改应用程序名称

[英]Change application name in Xcode / Cocoa

What's the most efficient way to change my Mac OS X application name in Xcode? 在Xcode中更改Mac OS X应用程序名称的最有效方法是什么?

(I know it's easy; I've done it in the past but I can't really remember how... :/) (我知道这很容易;我过去做过但我真的不记得......:/)

What I mean : 我的意思是说 :

  • Let's say, I've got a Project/Application named oldName . 比方说,我有一个名为oldName项目/应用程序
  • How do I change that to newName , so that this new name appears everywhere it should be? 如何将其更改为newName ,以便这个新名称出现在应有的位置? (Application name, bundle identifier, About dialog, Dock, etc) (应用程序名称,包标识符,关于对话框,Dock等)

Click your project on the left at the top where it list all of the files associated with said project. 单击顶部左侧的项目,列出与所述项目关联的所有文件。 Press return on your keyboard and simply rename it. 按键盘上的return键,然后重命名。

Only change bundle display name in your -info.plist file. 仅更改-info.plist文件中的包显示名称

It will update the title of the application written below the application icon. 它将更新应用程序图标下面写的应用程序的标题。 I guess this is what you required. 我想这就是你所需要的。

我真的会在终端上用grep来改变所有的事情。

cd yourprojectdirectory

grep -r oldName .

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

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