V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
iOS 开发实用技术导航
NSHipster 中文版
http://nshipster.cn/
cocos2d 开源 2D 游戏引擎
http://www.cocos2d-iphone.org/
CocoaPods
http://cocoapods.org/
Google Analytics for Mobile 统计解决方案
http://code.google.com/mobile/analytics/
WWDC
https://developer.apple.com/wwdc/
Design Guides and Resources
https://developer.apple.com/design/
Transcripts of WWDC sessions
http://asciiwwdc.com
Cocoa with Love
http://cocoawithlove.com/
Cocoa Dev Central
http://cocoadevcentral.com/
NSHipster
http://nshipster.com/
Style Guides
Google Objective-C Style Guide
NYTimes Objective-C Style Guide
Useful Tools and Services
Charles Web Debugging Proxy
Smore
andychen20121130
V2EX  ›  iDev

CFBundleDisplayName 设置了没起作用是什么原因?

  •  
  •   andychen20121130 · 2015-07-31 14:47:33 +08:00 · 2954 次点击
    这是一个创建于 3190 天前的主题,其中的信息可能已经有所发展或是发生改变。

    来无能的V2EX求解。我在InfoPlish设置了CFBundleDisplayName 担是没起作用。

    5 条回复    2015-07-31 16:23:49 +08:00
    1q2w3e4r
        1
    1q2w3e4r  
       2015-07-31 16:03:28 +08:00
    @andychen20121130 InfoPlish 以plist打开的时候写的应该是Bundle display name,source code模式才是CFBundleDisplayName
    andychen20121130
        2
    andychen20121130  
    OP
       2015-07-31 16:10:22 +08:00
    @1q2w3e4r 没有CFBundleDisplayName 这个选项了,设置了Bundle display name ${PRODUCT_NAME}
    InfoPlish.strings 写了CFBundleDisplayName="xxx" 还没有起作用。info.plish Target Membership也勾了。
    yiplee
        3
    yiplee  
       2015-07-31 16:11:49 +08:00
    xxx.strings 里面写 "CFBundleDisplayName" = "xxx";
    andychen20121130
        4
    andychen20121130  
    OP
       2015-07-31 16:14:00 +08:00
    @yiplee 加了引号,也起作用。
    andychen20121130
        5
    andychen20121130  
    OP
       2015-07-31 16:23:49 +08:00
    Info.plist 中application has localized display name 设置为YES了
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   5290 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 26ms · UTC 08:03 · PVG 16:03 · LAX 01:03 · JFK 04:03
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.