Skip to main content
Version: 1.0.2

How to Integrate Appxiom in iOS

This guide explains how to integrate Appxiom into your iOS project for advanced monitoring and diagnostics.

Choose Integration Method​

Integrate via Swift Package Manager

To integrate AppxiomCore into your Xcode project:

  1. Open your project in Xcode.
  2. Go to File -> Add Package Dependencies...
  3. Paste the repository URL into the search field:
    https://github.com/basilgregory/appxiom-spm.git
  4. Choose the version/dependency rules and add AppxiomCore to your app target.

Import Appxiom in Your Code​

Import AppxiomCore wherever you need to use its APIs:

#import <AppxiomCore/Ax.h>

Frequently Asked Questions (FAQ)​

Q: Do I need to run pod install every time I change the Podfile?
A. Yes, after modifying your Podfile, always run pod install to update your dependencies.

Q: What does --repo-update do?
A. It updates your local CocoaPods repository to fetch the latest pod versions and specs.

Q: Can I use Appxiom with Swift Package Manager or CocoaPods?
A. Yes, Appxiom supports integration via CocoaPods or Swift Package Manager (SPM).

Q: Where should I import AppxiomCore?
A. Import AppxiomCore in any file where you want to use Appxiom APIs.