简体   繁体   English

应用程序的显示名称是来自iTunesConnect还是XCode中的项目名称

[英]Is the app's displayed name taken from iTunesConnect or the project name in XCode

My app name I want to show up on users iPhone is not in english. 我想在用户iPhone上显示的我的应用名称不是英语。 My project name in xcode is "MyApp". 我在xcode中的项目名称是“ MyApp”。 In itunes connect under app name I've entered the right name I want to show up after a user installs my app. 在iTunes中以应用程序名称连接我输入了我要在用户安装我的应用程序后显示的正确名称。 What is the appname the user will see? 用户将看到的应用名称是什么?

the name that will be shown can be set in the info.plist with the tag 可以使用标签在info.plist中设置将显示的名称

Bundle display name 捆绑包显示名称

Build Settings for project to set target file: 项目的构建设置以设置目标文件:

在此处输入图片说明

and in "Info" add the part 并在“信息”中添加该部分

Bundle display name String "MyCustomName" 捆绑包显示名称 字符串 “ MyCustomName”

You may also add a localized file named InfoPlist.strings and insert 您还可以添加一个名为InfoPlist.strings的本地化文件并插入

CFBundleDisplayName = "MyCustomName";

for every locale ;) 对于每个区域;)

The name that will shop up under your icon on the user's device is determined by the Info.plist. 将在用户设备上的图标下购买的名称由Info.plist决定。

By default, this is the same as your Product name in the project build settings: 默认情况下,这与项目构建设置中的产品名称相同:

在此处输入图片说明

but you can change this to whatever you'd like: 但您可以将其更改为所需的任何值:

在此处输入图片说明

*Note that a long name like my example, will be truncated.. you won't see all of that text. *请注意,长名(如我的示例)将被截断..您不会看到所有这些文本。


I think there is also a way to localise the name that is shown. 我认为还有一种方法可以对显示的名称进行本地化。 I don't know how to do this, but if someone does, please feel free to edit this answer. 我不知道该怎么做,但是如果有人这样做,请随时编辑此答案。

And for completeness, this is taken from geo's answer: 为了完整起见,这取自geo的答案:

You may also add a localized file named InfoPlist.strings and insert 您还可以添加一个名为InfoPlist.strings的本地化文件并插入

CFBundleDisplayName = "MyCustomName";

for every locale 在每个地区

In the App Store, they will see the name you have entered in iTUnes Connect, in the iDevices, they will see the name that you put in Info.plist file under 'Bundle display name'. 在App Store中,他们将看到您在iTUnes Connect中输入的名称,在iDevices中,他们将看到您在Info.plist文件中的“捆绑包显示名称”下输入的名称。 If you didn't put anything under 'Bundle display name', then they will see the project name on their devices. 如果您未在“捆绑包显示名称”下放置任何内容,则他们将在其设备上看到项目名称。

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

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