问题描述
重命名应用程序的最佳方法是使应用程序图标下方的标题具有空格,但构建文件没有空格。 (即title是My Project,构建文件是MyProject.app)
What is the best way to rename the app so that the title below the app icon can have spaces but the build files doesn't have spaces. (ie, title is "My Project" and build file is MyProject.app)
我更改了PRODUCT_NAME,但是当我这样做时,应用程序文件也包含空格。
I changed PRODUCT_NAME but when I do that the app file also contains spaces.
重命名所有字段似乎工作正常,除非找不到EXECUTABLE_NAME,这是可执行文件的默认值。
Renaming all the fields seems to work fine except I can't find EXECUTABLE_NAME which is the default value for "Executable file".
谢谢您,
Tee
Thank you,Tee
推荐答案
您必须更改的栏位是 Bundle显示名称
( info.plist
中的显示名称 CFBundleDisplayName
档案从 $ {PRODUCT_NAME}
更改为「您想要的名称」。
The field that you have to change is the Bundle Display Name
(CFBundleDisplayName
is the raw key name) in the info.plist
file from ${PRODUCT_NAME}
to 'your desired name'.
注意: CFBundleDisplayName
与 CFBundleName
不同。 CFBundleDisplayName
是设备主屏幕上显示的人类可见/营销名称,图标等。 CFBundleName
文件系统上的IPA的文件名和应用程序的文件夹,'Whatever'例如将归档为 Whatever.ipa
,应用程序将安装在设备上文件夹 Whatever.app
。
Note: CFBundleDisplayName
is different from CFBundleName
. CFBundleDisplayName
is the human visible/marketing name displayed on the device home screen, under the icon etc. While CFBundleName
is the filename of the IPA and the folder for the app on the file system, 'Whatever' for example would be archived as Whatever.ipa
and the app would be installed on a device under the folder called Whatever.app
.
这篇关于iPhone XCode - 如何更改应用程序图标下面的标题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!