想要安装afnetworking pod时可可粉饼安装错误

时间:2015-12-08 09:26:34

标签: ios afnetworking cocoapods

$ pod install

Updating local specs repositories
Analyzing dependencies

[!] Unable to find the Xcode project 
`~/Desktop/TestAfnetwork.xcodeproj` for the target `Pods`.

当我运行install命令时,我遇到了这个问题。请解决我的问题。我已经更新了这个设置。

1 个答案:

答案 0 :(得分:-1)

首先,您应该使用终端cd到您的路径/ Users / vallesoft / Desktop / TestAfnetwork。 其次,键入pod init以创建Pod文件 最后,确保您的Pod文件看起来像这样

目标'TestAfnetwork'做

pod'AFNetworking','〜> 2.6'

祝你好运

相关问题