尝试安装新 pod 后框架文件出现错误

Getting errors in framework files after trying to install new pod

我一直遇到与我的 pod 文件和我的目标 swift 语言版本有关的反复出现的问题。在过去,我通过将我的语言版本更改为 4.0(我认为)来解决它。

发生的事情是我更新了我的 pod 文件,然后我开始在框架文件中收到错误,我无法更改这些错误,因为它说它们已被锁定。

我不太了解我的 pod 文件和语言设置,这让我很难排除故障。

我想按照它的建议将我的框架迁移到更新的语言版本,但它说我不能这样做,直到我让它们与以前的版本一起编译。

我不确定如何排除故障或采取什么步骤来解决所有问题。有人可以帮忙吗?

这是我的播客文件


target 'DarkhorseDFS' do
  # Comment the next line if you're not using Swift and don't want to use dynamic frameworks



#pod 'RAMAnimatedTabBarController', '~> 4.0'
#pod 'XLPagerTabStrip', :git => 'https://github.com/KelvinJin/XLPagerTabStrip', :branch => 'swift3'

#pod 'BTNavigationDropdownMenu', :git => 'https://github.com/PhamBaTho/BTNavigationDropdownMenu.git', :branch => 'swift-3.0'

pod 'BTNavigationDropdownMenu'
pod 'XLPagerTabStrip'

pod 'SCLAlertView'
pod 'Firebase/Core'
pod 'Firebase/Database'
pod 'Firebase/Auth'
pod 'Firebase/Firestore'
pod 'SwiftyJSON', '~> 4.0'

pod 'Fabric'
pod 'Crashlytics'
pod 'Kingfisher'
pod 'Tutti'

pod 'Segmentio'
#pod 'PVSwitch'
pod 'MBProgressHUD'
pod 'Alamofire'

end


target 'DarkhorseDFSTests' do
    inherit! :search_paths
end

post_install do |installer|
    installer.pods_project.targets.each do |target|
        target.build_configurations.each do |config|
            config.build_settings['SWIFT_VERSION'] = '3.0'
        end
    end
end

我也试过更改 'Target' 下的设置。

这是我遇到的一些错误的示例,但也有很多 'name has been changed' 错误。

所有这些框架在尝试安装新 pod 之前都有效。但是现在我无法让错误消失,即使我卸载了!

有人可以帮忙吗?

我需要为每个 pod 单独更改我的 swift 语言版本,而不仅仅是在项目构建设置中。

点击导航器中的Pods,然后可以在构建设置中设置语言版本。