Skip to content

Commit

Permalink
update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
BrandonStalnaker committed Jan 31, 2024
1 parent 6756f93 commit 4908547
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -85,11 +85,16 @@ func application(_ application: UIApplication, didFinishLaunchingWithOptions lau

With recent changes in Swift support for static libraries and React Native's preference for the traditional CocoaPods and static libraries delivery mechanism, we reccomend against setting `use_frameworks!` in your Podfile.

Your import statement can be either of these:
Your import statement should be this:

```objective-c
#import <mParticle-Apple-SDK/mParticle.h>
#import "mParticle.h"
#if defined(__has_include) && __has_include(<mParticle_Apple_SDK/mParticle.h>)
#import <mParticle_Apple_SDK/mParticle.h>
#elif defined(__has_include) && __has_include(<mParticle_Apple_SDK_NoLocation/mParticle.h>)
#import <mParticle_Apple_SDK_NoLocation/mParticle.h>
#else
#import "mParticle.h"
#endif
```

Next, you'll need to start the SDK:
Expand Down

0 comments on commit 4908547

Please sign in to comment.