Welcome to the WalkMe Help Center

Please login in order to continue:

Work flows better with WalkMe
Work flows better with WalkMe.

How To Integrate the WalkMe Mobile iOS SDK using Swift Package Manager

Last Updated September 14, 2022

Brief Overview

The WalkMe iOS SDK is compatible with the Swift Package Manager. This article explains how to integrate the WalkMe iOS SDK with the Swift Package Manager.

How it Works

  1. Open your app in Xcode
  2. Choose File → Swift Packages → Add Package Dependency
  3. Enter the package repository path: https://github.com/abbiio/iosdk
  4. The repo will be fetched
  5. Choose the version of the WalkMeSDK you would like to integrate (SPM is available from version 2.12.0 and up)
  6. Make sure WalkMeSDK is checked and click Finish
  7. Package integration is complete
  8. In your AppDelegate file, import WalkMeSDK
    ObjC: #import <WalkMeSDK/WalkMeSDK.h>Swift: Import WalkMeSDK
  9. Start WalkMeSDKObjC: In (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary*)launchOptions, add the following:
    [ABBI start:@"YOUR_APP_KEY" withSecretKey:@"YOUR_SECRET_KEY"];

    Swift: In func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKeyAny]?) -> Bool , add the following:

    ABBI.start("YOUR_APP_KEY", withSecretKey:"YOUR_SECRET_KEY")
Swift example:
10. Complete the integration by entering Power Mode in the app:
Launch the app with WalkMe SDK integrated and press and hold 5 fingers on the screen for 5 seconds until the login popup displays. This is the default setting and can be configured at any time in the console.
Log in to Power Mode with your mobile console credentials to complete the sync.

Was this article helpful?

Thanks for your feedback!

Be part of something bigger.

Engage with peers, ask questions, share ideas

Ask the Community
×