pods设置swift版本

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
posted @ 2017-09-19 14:35  JustToGo  阅读(208)  评论(0编辑  收藏  举报