1.cocoapod配置
cd 目录
touch Podfile
vim Podfile
输入 ' i '
platform:ios,'7.0'
target '项目名字' do
pod '第三方库名称'
@end
2.配置 PCH文件
1。创建Pch文件(1-1)
2.Build Settings 搜索prefix header(1-2)
1-23.配置 Precompile Prefix header 为Yes(1-3)
1-34.prefix Header
设置Prefix Header的值为:
$SRCROOT/(你的项目名称)/(你的pch文件名称)
如:$(SRCROOT)/GIFMaker/GIFPrefixHeader.pch
网友评论