没有这样的模块 PanModal - Xcode ios app swift

no such module PanModal - Xcode ios app swift

我是 iOS 开发的初学者(我来自 Android)。
我要从另一个开发者那里收回一个项目。
我无法构建项目。

我已经像 pod install 一样应用了我通过 SO 看到的内容,仔细检查是否没有重复的 .xcodeproject。
是的,我打开了 .xcworkspace 而不是 .xcodeproj。

当我运行pod install:

Update all pods
Updating local specs repositories
Analyzing dependencies
Downloading dependencies
Generating Pods project
Integrating client project
Pod installation complete! There are 0 dependencies from the Podfile and 0 total pods installed.

[!] The Podfile does not contain any dependencies.

我已经尝试删除 Pods 文件夹,然后设置 pod pod install 并打开 .xcworkspace。没有成功。

有我的Podfile

# Uncomment the next line to define a global platform for your project
platform :ios, '13.1'

target 'project_name' do
  # Comment the next line if you don't want to use dynamic frameworks
  use_frameworks!

  workspace './project_name.xcworkspace/'
  project './project_name.xcodeproj'

  # Pods for project_name

  target 'project_nameTests' do
    inherit! :search_paths
    # Pods for testing
  end

end

如有任何帮助,我们将不胜感激

pod 'PanModal' 添加到您的播客文件并 运行 pod install

# Uncomment the next line to define a global platform for your project
platform :ios, '13.1'

target 'project_name' do
  # Comment the next line if you don't want to use dynamic frameworks
  use_frameworks!

  pod 'PanModal'

  # Pods for project_name

  target 'project_nameTests' do
    inherit! :search_paths
    # Pods for testing
  end

end