Bundle Name and Bundle Display Name

前端 未结 3 1621
再見小時候
再見小時候 2020-12-16 15:39

Similar question about Bundle Name and Bundle Display Name have been asked, such as:

What's the difference between "bundle display name" and "bund

相关标签:
3条回答
  • 2020-12-16 16:05

    for iOS (not sure about macOS or watchOS)

    CFBundleName - is the fallback if CFBundleDisplayName is not present in the info.plist. Moreover the CFBundleDisplayName is used by Siri.

    If you localize CFBundleDisplayName, you must localize CFBundleDisplayName as well.

    Here is the apple link for the same - https://developer.apple.com/library/content/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html#//apple_ref/doc/uid/20001431-110725

    0 讨论(0)
  • 2020-12-16 16:14

    I just found this document at Apples iOS Dev Library: Making the app name displayed on a device consistent with the name in iTunes Connect. The name is a little misleading, but this solved my understanding about the difference between 'Bundle name' and 'Bundle display name' in an instant.

    I hope this will help you guys too. :)

    0 讨论(0)
  • 2020-12-16 16:23

    CFBundleDisplayName is for changing the text below the app icon on your device (and simulator). Yes this is supposed to be localized but there's no tangible penalty in performance to editing it or making it say whatever you want.

    To edit this, you can change the "Bundle display name under "info" in the project:

    Location of the Bundle display name attribute

    CFBundleName not a clue. I can't figure out what this changes or why.

    0 讨论(0)
提交回复
热议问题