我正在使用 Cocoa pod 版本 0.27.1 运行 Maverick。
我在 textedit 中以纯格式创建了一个带有以下文本的 pod 文件。
workspace ‘DemoWorkspace'
platform :ios, 6.0
pod 'XMPPFramework' , '~> 3.6.1'
pod 'AFNetworking' , '~> 2.0.0'
pod 'FMDB', '~> 2.1'
end
我收到以下语法错误
[!] Invalid `Podfile` file: .../Podfile:5: syntax error, unexpected tCONSTANT, expecting end-of-input
pod 'XMPPFramework' , '~> 3.6.1'
^. Updating CocoaPods might fix the issue.
我不明白上面的 pod 文件出了什么问题。