美文网首页
iOS 开发简单步骤

iOS 开发简单步骤

作者: 囚徒_教父 | 来源:发表于2018-11-19 18:06 被阅读0次

1.cocoapod配置

cd  目录

touch Podfile

vim Podfile

输入 ' i '

platform:ios,'7.0'

target '项目名字' do

pod  '第三方库名称'

@end

2.配置 PCH文件

1。创建Pch文件(1-1)



1-1

2.Build Settings 搜索prefix header(1-2)

1-2

3.配置 Precompile Prefix header  为Yes(1-3)

1-3

4.prefix Header 

 设置Prefix Header的值为:

$SRCROOT/(你的项目名称)/(你的pch文件名称)

如:$(SRCROOT)/GIFMaker/GIFPrefixHeader.pch

相关文章

网友评论

      本文标题:iOS 开发简单步骤

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