The space in the name of the iOS application is not displayed

The display name for my package is “Standford 2015” in Xcode, but it displays on my iPhone as “Standford2015” when it is installed.

Am I doing something wrong?

+16
source share
7 answers

For iOS 11, you can open info.plist as source code and use   instead of spaces

+16
source

I solved this problem by replacing the space with a Unicode character like NB.

I presented a small instruction in this post .

+3
source

In your localized InfoPlist.string, DO NOT use spaces, but use the Unicode Unicode character instead:

http://www.fileformat.info/info/unicode/char/00a0/index.htm

so your line in InfoPlist.string should look like this:

"CFBundleDisplayName" = "My\U00A0app";

+2
source

Possible workaround: use a localized InfoPlist.strings file with content:

 /* Localized versions of Info.plist keys */ "CFBundleDisplayName" = "Standford 2015"; 
0
source

No need to add unicode to solve the problem. Go to Xcode -> Target -> the display name of the application and add the desired name -> "My application", and the most important thing that solved my problem:

  1. Go to your Apple Developer Account: https://developer.apple.com/account/#/overview/
  2. Go to Certificates, Identifiers & Profiles
  3. Go to: Identifiers → Application Identifiers
  4. Select the package identifier used in the application for which you want to change the name.
  5. Scroll down and click the Change button.
  6. .Change the name in this section, see attachment:

enter image description here

  1. Scroll down and click Finish .

Until I completed these steps, the application name worked fine while I ran the build from Xcode.

When I added the new assembly to TestFlight and downloaded the application from there, the namespace disappeared, so I had to follow the steps above to fix the problem.

0
source
  1. Open the info.plist file as SourceCode.
  2. Use & # x2007; as a delimiter for a space in CFBundleDisplayName.

Example

 <key>CFBundleDisplayName</key> <string>App&#x2007;Name</string> 
0
source

Use plist CFBundleDisplayName to set a space below the icon.

Additional Information: What is the difference between the "display name of the package"? and "package name" in cocoa application info area

-1
source

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


All Articles