美文网首页iOS Mac Xcode使用技巧
关于Xcode 10 新建 PCH File 步骤

关于Xcode 10 新建 PCH File 步骤

作者: xiaolongLee | 来源:发表于2019-03-04 17:25 被阅读4次

Make new file: ⌘cmd+N

iOS/Mac > Other > PCH File > YourProject-Prefix.pch.

Make sure you display "All" and not "Basic". (Blue buttons)

Project > Build Settings > Search: "Prefix Header".

Under "Apple LLVM 7.0" you will get the Prefix Header key.

Type file directory. e.g: "$(SRCROOT)/$(PROJECT_NAME)/ProjectName-Prefix.pch".

Clean project: ⌘cmd+⇧shift+K

Build project: ⌘cmd+B

相关文章

网友评论

    本文标题:关于Xcode 10 新建 PCH File 步骤

    本文链接:https://www.haomeiwen.com/subject/lxniuqtx.html