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 6.1 项目添加头文件。我想要做的是添加一个头文件,该文件会自动导入到我创建的每个文件中。
IE
我创造 ah & am
已经包含了 previousMade.pch 或 previousMade.h 定义的地方。
我查看了构建设置,没有更新 .pch 文件的选项。
是否有解决方案,或者每次创建新文件时都必须导入 .h 文件?
谢谢
ProjectName-Prefix.pch
Project > Build Settings
ProjectName/ProjectName-Prefix.pch