To get the obsolete coco-capodes working in your project, you need to perform two steps.
1) Examine cocoapod and make sure that you are installing the correct version of cocoapod, which may not be the last, or may be on a separate branch, for example.
$pod 'Your Cocoapod', :git => 'https://github.com/.....', :branch => 'branch_name'
2) In the subcode, install the Swift version. You can also do this manually in the build settings of each module, but this code installs it automatically.
post_install do |installer| installer.pods_project.targets.each do |target| target.build_configurations.each do |config| config.build_settings['SWIFT_VERSION'] = '2.3'
source share