I have a app with swift version 2.3.
When I try to run in xcode 8 with set "User Legacy Swift -> YES" in build setting, it give me errors for cocoapods only.
see below image:
MY pod file:
platform :ios, '8.0' use_frameworks! target 'xxx' do pod 'Alamofire', '~> 3.3' pod 'PKHUD', '~> 3.1' pod 'SCLAlertView', '~> 0.5' pod 'SwiftyJSON', '~> 2.3' pod 'ICSPullToRefresh', '~> 0.4' pod 'ReachabilitySwift', '~> 2.3' pod 'IQKeyboardManagerSwift', '~> 4.0' end target 'xxTests' do end target 'xxUITests' do end post_install do |installer| installer.pods_project.targets.each do |target| target.build_configurations.each do |config| config.build_settings['SWIFT_VERSION'] = '2.3' end end end 
