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

后端 未结 2 1982
刺人心
刺人心 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: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:

    CFBundleDisplayName
    +Quotes
    

    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.

提交回复
热议问题