无效的`VideoRow.podspec` 文件:未定义“TLPhotoPicker”的方法`join':字符串

HiD*_*ing 1 ios cocoapods swift

当我尝试创建自己的 podfile 时,我对为什么会发生此错误感到困惑

我在这里关注本教程

https://ronakshah.org/How-To-Make-A-Cocoapod-With-Dependencies/

但是,当我尝试为最后一步运行 pod install 时,它给了我这个错误

无效VideoRow.podspec文件:“TLPhotoPicker”的未定义方法`join':字符串

    Pod::Spec.new do |s|
  s.name             = 'VideoRow'
  s.version          = '0.1.0'
  s.summary          = 'Eureka row that allows us to take or select a video.'
  s.description      = <<-DESC
This is an add-on to the many rows that are in the Eureka Community. This row will allow users to select a video from there library to export to a backend service of there choosing.
                       DESC
  s.homepage         = 'https://github.com/EurekaCommunity/VideoRow'
  s.license          = { :type => 'MIT', :file => 'LICENSE' }
  s.author           = { 'Smiller193' => 'shawn.miller@temple.edu' }
  s.source           = { :git => 'https://github.com/EurekaCommunity/VideoRow.git', :tag => s.version.to_s }
   s.social_media_url = 'https://twitter.com/EurekaCommunity'

  s.ios.deployment_target = '9.1'

  s.source_files = 'VideoRow/Classes/**/*'
  s.platform = :ios, "10.0"
  s.dependency = 'TLPhotoPicker'
  s.dependency = 'Eureka'
  s.swift_version = '4.2'
end
Run Code Online (Sandbox Code Playgroud)

这是我的 podspec

    use_frameworks!

target 'VideoRow_Example' do
  pod 'VideoRow', :path => '../'
  pod 'Eureka'
  pod 'TLPhotoPicker'
  target 'VideoRow_Tests' do
    inherit! :search_paths


  end
end
Run Code Online (Sandbox Code Playgroud)

这两个看起来都是正确的,但是每次尝试运行 pod install 时都会出错。

Pau*_*ien 6

=依赖序列中没有。

s.dependency 'TLPhotoPicker'。文档在这里