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|