语法错误
问题描述:
当我运行在终端“吊舱安装”命令,出现此错误消息:语法错误
[!] Invalid `Podfile` file: syntax error, unexpected tIDENTIFIER, expecting keyword_do or '{' or '('.
# from /Users/pdenlinger/Desktop/Clima-master/Podfile:1
# -------------------------------------------
> Uncomment the next line to define a global platform for your project
# platform :ios, '9.0'
# -------------------------------------------
这里是podfile的内容,这是我在Xcode编辑:
Uncomment the next line to define a global platform for your project
platform :ios, '9.0'
target 'Clima' do
# Comment the next line if you're not using Swift and don't want to use dynamic frameworks
use_frameworks!
# Pods for Clima
pod 'SwiftyJSON'
pod 'Alamofire'
pod 'SVProgressHUD'
end
答
评论的第一行:
#Uncomment the next line to define a global platform for your project
不是一个伟大的错误信息......