Cocoapods install getting error [duplicate]

耗尽温柔 提交于 2019-12-03 11:52:33

Had this same issue. It's difficult to notice, but if you're on a Mac and used TextEdit to edit the Podfile, the quote character was probably changed. Turn off 'Smart Quotes' in Preferences.

I had the same issue the following worked for me. In replace curly quotes in Podfile's first line i.e

platform :ios, ‘7.0’ (Not working)
platform :ios, '7.0' (Working)

You are using curly quotes character, which is ‘=0x2018 & ’=0x2019. You should use straight quote which is '=0x27

TextEdit automatically converts normal quotes to smart quotes. You can disable smart quotes option from : System Preferences -> Keyboard -> uncheck 'Use smart quotes and dashes'

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