Pool display name does not contain spaces

When I give the Bundle display name with a space like "ABCD", I get the application name as "ABCD". This only happens on iOS 11.I tried to override the name "CFBundleDisplayName" in my InfoPlist.string and use the special character Unicode \ U00A0 (without a space), and this does not help me.

+19
source share
6 answers

I have the same problem. Only on iOS 11. In a lower version of iOS, this problem does not appear.

I solved it with

  • Open info.plist as source code (right click, open as ...)
  • Find CFBundleDisplayName
  • Replace normal space with unicode  

It's all. After that, the display name is displayed with a space.

UPDATED:

  only works when typing * .plist. Cannot insert into Display name in Xcode project settings;

+40
source

This is because Apple has made changes to iOS 11 to shorten long app names. If the name is longer than 12 characters, spaces will be deleted. Otherwise, they will still exist.

For example, the Guide book app Guidebookapp will become the " Guidebookapp , and the Gui boo app will remain the Gui boo app Gui boo app .

Using   ( FIGURE SPACE ) works because it is not an ascii space. I hesitate to use this as a solution because it seems reasonable that Apple will “fix” this error and remove   for applications with names longer than 12 characters.

https://forums.developer.apple.com/thread/77832

+33
source

Change info.plist as source code, but use   instead of   .   Looks like 2 spaces.

+2
source

This works for me when I replace the space with FIGURE SPACE in InfoPlist.strings manually or using a script.

0
source

Give more space in the display name of the package, for example abc def abcdef enter image description here

0
source

In my case, this value was not in the info.plist file, so I just add the following:

 <key>CFBundleDisplayName</key> <string>$(PRODUCT_NAME)</string> 

should look like this

0
source

Source: https://habr.com/ru/post/1243359/


All Articles