Why isn't ProjectName-Prefix.pch created automatically in Xcode 6?
2015-05-29 11:02
302 查看
http://stackoverflow.com/questions/24158648/why-isnt-projectname-prefix-pch-created-automatically-in-xcode-6
Without the question if it is proper or not, you can add PCH file manually:
Add new PCH file to the project: New file > Other > PCH file.
At the Target's Build Settings option, set the value of Prefix Header to your PCH file name, with the project name as prefix (i.e. for project
named
PCH file named
add the value
the plist).
TIP: You can use things like
get to the path of where you put the
the project.
At the Target's Build Settings option, set the value of Precompile Prefix Header to
Without the question if it is proper or not, you can add PCH file manually:
Add new PCH file to the project: New file > Other > PCH file.
At the Target's Build Settings option, set the value of Prefix Header to your PCH file name, with the project name as prefix (i.e. for project
named
TestProjectand
PCH file named
MyPrefixHeaderFile,
add the value
TestProject/MyPrefixHeaderFile.pchto
the plist).
TIP: You can use things like
$(SRCROOT)or
$(PROJECT_DIR)to
get to the path of where you put the
.pchin
the project.
At the Target's Build Settings option, set the value of Precompile Prefix Header to
YES.
相关文章推荐
- linux C学习笔记03--单链表
- Get请求携带数据量的各种限制及解决办法、Post请求说明
- leecode之Implement strStr()
- mysql: Cannot load from mysql.proc. The table is probably corrupted
- [IOS 开发] 开发错误总结-警告篇
- 【Android】【ANR】如何分析解决Android ANR
- 【Android】【ANR】如何分析解决Android ANR
- 【Android】【ANR】如何分析解决Android ANR
- 【Android】【ANR】如何分析解决Android ANR
- 【Android】【ANR】如何分析解决Android ANR
- 【Android】【ANR】如何分析解决Android ANR
- 【Android】【ANR】如何分析解决Android ANR
- Javascript图片预加载详解
- Ubuntu 14.04(64位)安装和使用docker
- 客户管理系统之模块设计(二)
- 为什么不能往Android的Application对象里存储数据
- Javascript图片预加载详解
- pssh,pdsh,mussh,cssh,dsh运维工具介绍
- Javascript图片预加载详解 分类: JavaScript HTML+CSS 2015-05-29 11:01 768人阅读 评论(0) 收藏
- java.lang.RuntimeException: Fail to connect to camera service问题