报错详情
audio_recorder
does not specify a Swift version and none of the targets (Runner.target
) integrating it have theSWIFT_VERSION
attribute set. Please contact the author or set theSWIFT_VERSION
attribute in at least one of the targets that integrate this pod.
原因分析
xcode的targets中没有指定SWIFT_VERSION
版本这一项
解决方案
点buildSettings中的+号,添加SWIFT_VERSION,指定版本号4.0,再执行`pod install`
完美解决 ~