xcode6 - 无效的 `Podfile` 文件 : unterminated string meets end of file

标签 xcode6 cocoapods xcode7 command-line-tool

我正在尝试安装 pod 文件但出现以下错误:

Faizs-MacBook-Pro:newj faizfareed$  pod install

[!] Invalid `Podfile` file: unterminated string meets end of file.

 #  from /Users/faizfareed/Desktop/NewJson/NewJ/Podfile:4
 #  -------------------------------------------
 #  
 >  pod 'AFNetworking', '~> 3.0
 #  -------------------------------------------

这是命令行工具的详细图片-

error

谁能帮我解决这个问题?

最佳答案

我认为您的 pod 行缺少一个 '

应该是:pod 'AFNetworking', '~> 3.0'

关于xcode6 - 无效的 `Podfile` 文件 : unterminated string meets end of file,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/37359940/

相关文章:

ios - iOS 中简单动态布局入门 (Xcode 6/Swift)

ios - 在GET方法中将Json值作为参数发送时不支持的URL

ios - 安装 'Pods' 时,“'Google-Maps-iOS-Utils' 目标具有包含静态二进制文件的传递依赖项”

objective-c - Cocoapod 无法在 Travis-CI 上构建 - "expected a type"

ios - 使用不带 'ModuleName' 选项的 CocoaPods 时出现 No such module 'use_frameworks!' 错误

ios - Xcode Segue View Controller 从右到左没有 UINavigation

c++ - 限制函数执行时间

Swift 2.1 - NSDateFormatter 奇怪的错误

ios - 苹果开发者协议(protocol)中的提交按钮没有响应

ios - 管理 iOS 应用程序的多个版本