From 5995c1c43afc11ae229d500c972233108697168d Mon Sep 17 00:00:00 2001 From: Ben Baron Date: Fri, 26 Jan 2024 15:17:08 -0500 Subject: [PATCH] fix: Header imports for mParticle SDK (#11) --- mParticle-Apptimize.podspec | 4 ---- mParticle-Apptimize/MPKitApptimize.h | 9 +++++++-- 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/mParticle-Apptimize.podspec b/mParticle-Apptimize.podspec index 85511a6..94b9f5a 100644 --- a/mParticle-Apptimize.podspec +++ b/mParticle-Apptimize.podspec @@ -18,8 +18,4 @@ Pod::Spec.new do |s| s.ios.dependency 'mParticle-Apple-SDK/mParticle', '~> 8.0' s.ios.dependency 'Apptimize', '~> 3.2' - s.pod_target_xcconfig = { 'ARCHS' => '$(ARCHS_STANDARD_64_BIT)', 'EXCLUDED_ARCHS[sdk=iphonesimulator*]' => 'arm64' } - s.user_target_xcconfig = { 'ARCHS' => '$(ARCHS_STANDARD_64_BIT)', 'EXCLUDED_ARCHS[sdk=iphonesimulator*]' => 'arm64' } - - end diff --git a/mParticle-Apptimize/MPKitApptimize.h b/mParticle-Apptimize/MPKitApptimize.h index 3f05aad..ff3795c 100644 --- a/mParticle-Apptimize/MPKitApptimize.h +++ b/mParticle-Apptimize/MPKitApptimize.h @@ -1,8 +1,13 @@ #import #if defined(__has_include) && __has_include() -#import + #import + #import +#elif defined(__has_include) && __has_include() + #import + #import #else -#import "mParticle.h" + #import "mParticle.h" + #import "mParticle_Apple_SDK-Swift.h" #endif @interface MPKitApptimize : NSObject