这是我的Podfile:
platform :ios, ‘7.0’
pod 'ECSlidingViewController', '~> 2.0.0'
当我在终端中输入"pod install"时,会出现以下错误:
[!] Invalid `Podfile` file: /Users/Kyle/Desktop/Testing/Podfile:1: no .<digit> floating literal anymore; put 0 before dot
platform :ios, ‘7.0’
^
/Users/Kyle/Desktop/Testing/Podfile:1: syntax error, unexpected tINTEGER, expecting '('
platform :ios, ‘7.0’
^. Updating CocoaPods might fix the issue.
Podfile里的所有内容看起来都是正确的。我已经尝试使用双引号而不是单引号,但没有效果。我还删除了小数点并改变了位置。我是否漏掉了什么?
在网上搜寻后,有一个用户建议我的Ruby安装可能出了问题,但我该如何检查呢?我也确认了我用以下命令安装了所有Ruby更新:
sudo gem update --system
任何帮助都是很棒的,谢谢!