How to change app display name in Xcode 8 to add a

2020-05-25 03:15发布

I am trying to put a space in my app name (standalone sticker pack) in Xcode 8. The solutions I've seen on here are to change the Product Name (in packaging) or to change the "Bundle Display Name".

I've changed the product name and that hasn't worked (I cleaned, rebuilt, reset content and settings in simulator and logged out of xcode, logged back in and rebuilt app).

I can't see "Bundle Display Name" anywhere. Should I add it and if so, how do I do that?

I've read the thread How to change the name of an iOS app? and done the suggestions, but it's still showing in simulator and testflight without the space. Have I missed something?

标签: ios xcode
8条回答
仙女界的扛把子
2楼-- · 2020-05-25 03:55

There are two ways to change app display name.

Solution 1:

Goto Targets -> General Tab -> Identity section

In this you’ll find Display Name field where you set app display name.

Screenshot 1

Solution 2:

Bundle Display Name property is not present by default in Info.plist. You need to explicitly add this property.

Below image shows how to add this property.

Screenshot 2

Note: If still this new name is not reflected in your app then delete app and install it again.

查看更多
我欲成王,谁敢阻挡
3楼-- · 2020-05-25 03:58

Just go to Target -> General -> In Identity -> Display Name. By default, it has your app display name which is unhighlighted. Enter here your new app display name.

enter image description here

查看更多
Anthone
4楼-- · 2020-05-25 04:01

Steps:

1. Open project Info.

2. Add a property Bundle display name into Custom iOS Target Properties. (as "Key")

3. Enter the display name, that will be shown on iPhone/iPad screen under an app icon. (as "Value")

It's my solution that works properly. Also you should delete previously installed app and reinstall it. Solution

查看更多
孤傲高冷的网名
5楼-- · 2020-05-25 04:08

When creating a new project, Xcode uses the Product Name by default. You can just change that in your Build Settings, even setting separate names for your schemes.

enter image description here

查看更多
▲ chillily
6楼-- · 2020-05-25 04:10
  1. Change the Bundle Display Name (CFBundleDisplayName) in your Info.plist file
  2. Check if you have any localization (InfoPlist.strings) files, and change the corresponding CFBundleDisplayName values in those files to the localized values.
  3. That's it.
查看更多
我欲成王,谁敢阻挡
7楼-- · 2020-05-25 04:16

For xcode 9.3, Goto Targets, Build Settings, under packaging change Produce Name. See below screen shot

enter image description here

After this if it not changed, clean product to reopen X code.

查看更多
登录 后发表回答