Pod install command with error

前端 未结 3 477
情话喂你
情话喂你 2020-12-03 22:54

I\'ve been trying to use cocoapods and install them into my project but its giving me this error while trying to install it in the project location. its kinda c

3条回答
  •  慢半拍i
    慢半拍i (楼主)
    2020-12-03 23:32

    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‘
    

提交回复
热议问题