Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
有没有办法在 Xcode 中设置一个非默认的预编译头文件?例如,我可以将其设置为 SomeOtherHeader.h,而不是 Project_Prefix.pch 作为预编译头文件吗?
选择目标,选择 Build Settings,搜索 Prefix Header 并更改设置
在 XCode 6.1 中,它位于 Build Settings > Apple LLVM 6.0 - Language