v2Next
V2EX  ›  iOS

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

  •  
  •   v2Next · Apr 14, 2015 · 3973 views
    This topic created in 4060 days ago, the information mentioned may be changed or developed.

    今天碰到的问题,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 replies    2015-04-15 08:51:32 +08:00
    clockwerk
        1
    clockwerk  
       Apr 14, 2015
    这个是xcode6 特性去掉了pch,正解
    v2Next
        2
    v2Next  
    OP
       Apr 14, 2015
    @nellace 还是觉得应该像Xcode 6 之前那样自带的好
    MerenguesGeek
        3
    MerenguesGeek  
       Apr 14, 2015   ❤️ 1
    v2Next
        4
    v2Next  
    OP
       Apr 14, 2015
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   3327 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 43ms · UTC 11:07 · PVG 19:07 · LAX 04:07 · JFK 07:07
    ♥ Do have faith in what you're doing.