V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
v2Next
V2EX  ›  iOS

Xcode 6 新建 PCH File 无用解决方法

  •  
  •   v2Next · 2015-04-14 13:11:44 +08:00 · 3048 次点击
    这是一个创建于 3293 天前的主题,其中的信息可能已经有所发展或是发生改变。

    今天碰到的问题,Xcode 6 之前都是在新工程里自带的 yourproject-Prefix.pch 文件,但Xcode 6之后就没了,要在在新建里面自己建立。

    那问题来了,我自己建立的.pch file 把头文件都添加进去后无用,所以就开始Google,并找到了解决方法,遇到同样问题的少年可以参考下面链接。

    https://techfuzionwithsam.wordpress.com/2014/11/29/how-to-add-pch-or-prefix-pch-file-in-xcode-6/

    5 条回复    2015-04-15 08:51:32 +08:00
    nellace
        1
    nellace  
       2015-04-14 15:16:35 +08:00
    这个是xcode6 特性去掉了pch,正解
    v2Next
        2
    v2Next  
    OP
       2015-04-14 15:41:11 +08:00
    @nellace 还是觉得应该像Xcode 6 之前那样自带的好
    MerenguesGeek
        3
    MerenguesGeek  
       2015-04-14 16:20:14 +08:00   ❤️ 1
    v2Next
        4
    v2Next  
    OP
       2015-04-14 16:32:35 +08:00
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   1318 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 27ms · UTC 17:34 · PVG 01:34 · LAX 10:34 · JFK 13:34
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.