In Xcode 11.1 onward, Is there any way to have different Display Name and PRODUCT_NAME?

后端 未结 2 1983
刺人心
刺人心 2021-01-16 18:50

Our app name contains a \"+\". Prior to Xcode 11.1 we could have a different Display name and PRODUCT_NAME. However, when we updated to Xcode 11.1, changing the

相关标签:
2条回答
  • 2021-01-16 19:31

    In Xcode11, the app display name just set to ${PRODUCT_NAME}. that's display name always same as product name, try to update CFBundleDisplayNamein the Info.plist.

    0 讨论(0)
  • 2021-01-16 19:44

    Update your Product Name in your targets Build Settings to not include the special character:

    Navigate to your Info.plist for your target and add a new property Bundle display name:

    <key>CFBundleDisplayName</key>
    <string>+Quotes</string>
    

    Keep the Bundle Name property value as $(PRODUCT_NAME).

    The name that will be displayed below your app icon on device will be the value you've assigned to Bundle Display Name.

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