Ios 椰子荚;没有此类模块<;pod>&引用;

Ios 椰子荚;没有此类模块<;pod>&引用;,ios,swift,cocoapods,Ios,Swift,Cocoapods,我是Cocoapods的新手: platform :ios, '8.0' 使用_框架! pod'ReachabilitySwift',git:'https://github.com/ashleymills/Reachability.swift“ 我的podfile有以下几行和3个目标。我正努力做到: 导入ReachabilitySwift并出现错误“没有这样的模块‘ReachabilitySwift’” 有什么帮助吗?请使用 source 'https://github.com/CocoaPo

我是Cocoapods的新手:

platform :ios, '8.0'
使用_框架!
pod'ReachabilitySwift',git:'https://github.com/ashleymills/Reachability.swift“

我的podfile有以下几行和3个目标。我正努力做到: 导入ReachabilitySwift并出现错误“没有这样的模块‘ReachabilitySwift’”

有什么帮助吗?

请使用

source 'https://github.com/CocoaPods/Specs.git'

platform :ios, '8.0'

use_frameworks!

pod 'ReachabilitySwift', git: 'https://github.com/ashleymills/Reachability.swift'

您必须给出Cocoapods的来源

如果您使用的是Cocoapods
1.0.0
,那么您需要明确设置目标:

source 'https://github.com/CocoaPods/Specs.git'

platform :ios, '8.0'

use_frameworks!

target '<Name matching XCode target>' do
  pod 'ReachabilitySwift', git: 'https://github.com/ashleymills/Reachability.swift'
end
源代码'https://github.com/CocoaPods/Specs.git'
平台:ios,“8.0”
使用你的框架!
目标“”是否执行
pod'ReachabilitySwift',git:'https://github.com/ashleymills/Reachability.swift'
结束

当“pod安装”[!]项目[Release]目标覆盖了“Pods/target支持文件/Pods项目/Pods项目.Release.xcconfig”中定义的
其他\u LDFLAGS
生成设置时,此错误也会持续显示。这可能会导致CocoaPods安装出现问题,“没有这样的模块…”经常出现。请尝试pod安装--详细信息请按照链接在项目中安装pods。。。