Skip to content

Commit

Permalink
fix: Header imports for mParticle SDK (#11)
Browse files Browse the repository at this point in the history
  • Loading branch information
einsteinx2 authored Jan 26, 2024
1 parent 9f3bf1b commit 5995c1c
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
4 changes: 0 additions & 4 deletions mParticle-Apptimize.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -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
9 changes: 7 additions & 2 deletions mParticle-Apptimize/MPKitApptimize.h
Original file line number Diff line number Diff line change
@@ -1,8 +1,13 @@
#import <Foundation/Foundation.h>
#if defined(__has_include) && __has_include(<mParticle_Apple_SDK/mParticle.h>)
#import <mParticle_Apple_SDK/mParticle.h>
#import <mParticle_Apple_SDK/mParticle.h>
#import <mParticle_Apple_SDK/mParticle_Apple_SDK-Swift.h>
#elif defined(__has_include) && __has_include(<mParticle_Apple_SDK_NoLocation/mParticle.h>)
#import <mParticle_Apple_SDK_NoLocation/mParticle.h>
#import <mParticle_Apple_SDK_NoLocation/mParticle_Apple_SDK-Swift.h>
#else
#import "mParticle.h"
#import "mParticle.h"
#import "mParticle_Apple_SDK-Swift.h"
#endif

@interface MPKitApptimize : NSObject <MPKitProtocol>
Expand Down

0 comments on commit 5995c1c

Please sign in to comment.