From 929cb43f36d7c63fa1d91e7000d2c3252d950630 Mon Sep 17 00:00:00 2001 From: xunianqiang Date: Sun, 21 Feb 2021 11:16:46 +0800 Subject: [PATCH] fix pod lint error in xcode12 --- YYImage.podspec | 2 ++ 1 file changed, 2 insertions(+) diff --git a/YYImage.podspec b/YYImage.podspec index 7f76678..65da4d3 100644 --- a/YYImage.podspec +++ b/YYImage.podspec @@ -23,6 +23,8 @@ Pod::Spec.new do |s| s.subspec 'WebP' do |webp| webp.dependency 'YYImage/Core' webp.ios.vendored_frameworks = 'Vendor/WebP.framework' + webp.pod_target_xcconfig = { 'EXCLUDED_ARCHS[sdk=iphonesimulator*]' => 'arm64'} + webp.user_target_xcconfig = { 'EXCLUDED_ARCHS[sdk=iphonesimulator*]' => 'arm64' } end s.subspec 'libwebp' do |libwebp|