Xcode 6.1 Precompiled Headers

后端 未结 1 1572
走了就别回头了
走了就别回头了 2021-02-20 18:09

In Xcode 6.1, creating a new project does not create a precompiled header file using the single view iOS project template. If I add one manually, any definitions in the pch file

相关标签:
1条回答
  • 2021-02-20 18:41

    Have you tried adding the path of the pch file?

    Go to your project -> Build Settings -> Apple LLVM 6.0 Language.

    Under it, set the following things:

    • Precompile Prefix Header: Set it to YES
    • Prefix Header: Set the path to the pch file

    Update 2018/09/23: In Xcode10 it is under Apple Clang - Language

    0 讨论(0)
提交回复
热议问题