Xcode, can Bundle Display Name be a variable for Product Name

Xcode, can Bundle Display Name be a variable for Product Name

I see that $(PRODUCT_NAME) can be a variable for Bundle display name within the plist file,
but I would like the opposite to occur, for $(BUNDLE_NAME) to be the variable within Product Name in the target info. Is that a real variable? Can I make it one? Thanks!

Solutions/Answers:

Answer 1:

In your target, go to “Build Settings” and add a “User-Defined Setting” (e.g. DISPLAY_NAME).

Then, go to the Info.plist of your target and add “Bundle display name” key and set its value to “$(DISPLAY_NAME)”

References

Loading...