Pod install command with error

ε祈祈猫儿з 提交于 2019-11-27 15:38:10

replace this character " ‘ " with this " ' " in your podfile and try to install again.

it's happen to me when I copy pod line from somewhere else (like Evernote), some text editors automatically change this character. Usually it's like this :

pod 'AFNetworking', '~> 2.0'

but when I take from other editor, it could be like this :

pod ‘AFNetworking‘, ‘~> 2.0‘

Follow this steps:

1.open terminal.

2.pod setup // it's take some time to download podfiles

3.pod list //(optional)to see the list of pod

4.cd Desktop//(your project path)

5.cd CoacPods (your project name)

6.vim podfile

7.pod install

Check this out chmod go-w /opt/local/bin at a shell prompt (depending on permissions you may need to sudo to do that).

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!