From 609dcb69deca86157886564937eea16ec28d1079 Mon Sep 17 00:00:00 2001 From: Ev0imc <410982205@qq.com> Date: Wed, 26 Aug 2020 14:43:47 +0800 Subject: [PATCH] add swift_version in some 3th part tools, 'pod_target_xcconfig' not work, it's necessary to add the 's.swift_version' --- HandyJSON.podspec | 1 + 1 file changed, 1 insertion(+) diff --git a/HandyJSON.podspec b/HandyJSON.podspec index e041455..5011eae 100644 --- a/HandyJSON.podspec +++ b/HandyJSON.podspec @@ -18,5 +18,6 @@ Pod::Spec.new do |s| s.watchos.deployment_target = '2.0' s.tvos.deployment_target = '9.0' + s.swift_version = '5.0' s.pod_target_xcconfig = { 'SWIFT_VERSION' => '5.0' } end