diff --git a/.gitignore b/.gitignore index 769c99f..bfc4c40 100644 --- a/.gitignore +++ b/.gitignore @@ -3,6 +3,7 @@ # Xcode build/ +.build/ *.pbxuser !default.pbxuser *.mode1v3 diff --git a/SDWebImageLottiePlugin.podspec b/SDWebImageLottiePlugin.podspec index 3523883..37fc7b9 100644 --- a/SDWebImageLottiePlugin.podspec +++ b/SDWebImageLottiePlugin.podspec @@ -25,10 +25,13 @@ SDWebImageLottiePlugin is a plugin for SDWebImage framework, which provide the L s.tvos.deployment_target = '11.0' s.source_files = 'SDWebImageLottiePlugin/Classes/**/*' + s.swift_version = '5' s.pod_target_xcconfig = { 'SUPPORTS_MACCATALYST' => 'YES', - 'DERIVE_MACCATALYST_PRODUCT_BUNDLE_IDENTIFIER' => 'NO' + 'BUILD_LIBRARY_FOR_DISTRIBUTION' => 'YES', + 'DERIVE_MACCATALYST_PRODUCT_BUNDLE_IDENTIFIER' => 'NO', + 'OTHER_SWIFT_FLAGS' => '$(inherited) -Xfrontend -disable-testable-attr-requires-testable-module' } s.dependency 'SDWebImage', '~> 5.10'