From dd76c2ca4a0c656340e417ef062d5ab5c7a57035 Mon Sep 17 00:00:00 2001 From: Christopher Wyllie Date: Mon, 10 Aug 2020 13:56:39 +0100 Subject: [PATCH] Only apply options to iOS --- KumulosKSCrash.podspec | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/KumulosKSCrash.podspec b/KumulosKSCrash.podspec index 482747c4f..3e5cfd5ea 100644 --- a/KumulosKSCrash.podspec +++ b/KumulosKSCrash.podspec @@ -13,11 +13,12 @@ Pod::Spec.new do |s| s.module_name = 'KSCrash' s.source = { :git => "https://github.com/Kumulos/KSCrash.git", :tag=>s.version.to_s } s.frameworks = 'Foundation' - s.libraries = 'c++', 'z', 'llvm' + s.libraries = 'c++', 'z' s.xcconfig = { 'GCC_ENABLE_CPP_EXCEPTIONS' => 'YES' } s.default_subspecs = 'Installations' - s.pod_target_xcconfig = { + s.ios.libraries = 'c++', 'z', 'llvm' + s.ios.pod_target_xcconfig = { 'USE_HEADERMAP' => 'NO', 'HEADER_SEARCH_PATHS' => '"$(PODS_ROOT)/KumulosKSCrash/**"' }