简体   繁体   中英

cocoa pod install error while want to install afnetworking pod

$ pod install

Updating local specs repositories
Analyzing dependencies

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

When i run install command then i got this issue.Please solve my problem. I have already updated this setup.

Firstly, you should cd to your path /Users/vallesoft/Desktop/TestAfnetwork by using Terminal. Secondly, type pod init to create Pod file Finally, make sure that your Pod file look like this

target 'TestAfnetwork' do

pod 'AFNetworking', '~> 2.6'

end

Good luck

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM