开发者

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

I see that $(PRO开发者_开发技巧DUCT_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!


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)"

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜