开发者

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

开发者 https://www.devze.com 2023-03-03 17:16 出处:网络
I see that $(PRO开发者_开发技巧DUCT_NAME) can be a variable for Bundle display name within the plist file,

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

精彩评论

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