缘由主要是cocopods install 被墙了。ui
能够在podfile写好代码以后,去终端进行安装。spa
localhost:~ ltn$ cd /Users/hunpai/Desktop/Netwotking (这里必定注意,NetWorking是项目名称的那个文件。必定不要找错路径,否则会报错。)orm
localhost:Netwotking hunpai$ pod install --verbose --no-repo-updateci
// 如下是终端输出get
Preparingit
Analyzing dependenciesio
Inspecting targets to integratedate
Using `ARCHS` setting to build architectures of target `Pods`: (``)file
Resolving dependencies of `Podfile`终端
Comparing resolved specification to the sandbox manifest
A AFNetworking
Downloading dependencies