MBurger Engagement Platform
User GuideHeadless CMSEngagement Platform
  • 🍔MBurger Engagement Platform 🍔
  • 🍏 iOS Docs
    • Messages
      • Installation
      • Initialization
      • Push notifications
        • Rich Notifications
      • Stylize in app messages
      • Message Metrics
    • Audience
      • Installation
      • Initialization
      • Tracked data
      • Tags
      • Identify a user
      • Location
    • Automation
      • Installation
      • Initialization
      • Triggers
      • Send events
      • View Tracking
  • 📱Android Docs
    • Messages
      • Prerequisites for Push Notifications
      • Installation
      • Initialization
      • Stylization and parameters
      • Push notifications
      • Message Metrics
    • Audience
      • Installation
      • Initialization
      • Tracked data
      • Tags
      • Custom Id
      • Mobile User Id
      • Location Data
    • Automation
      • Installation
      • Initialization
      • Triggers
      • Add events
      • View Tracking
      • Stop/Pause tracking
  • 🔷Flutter Docs
    • Messages
      • Installation
      • Initialization
      • Stylize in app messages
      • Push notifications
        • Rich Notifications
      • Message Metrics
    • Audience
      • Installation
      • Initialization
      • Tracked data
      • Tags
      • Custom Id
      • Mobile User Id
      • Location Data
    • Automation
      • Installation
      • Initialization
      • Triggers
      • Send events
      • View Tracking
Powered by GitBook
On this page
  • Swift Package Manager
  • CocoaPods
  • Chartage
  • Manual installation

Was this helpful?

  1. iOS Docs
  2. Automation

Installation

PreviousAutomationNextInitialization

Last updated 4 years ago

Was this helpful?

Swift Package Manager

With Xcode 11 you can start using to add MBAutomationSwift to your project. Follow those simple steps:

  • In Xcode go to File > Swift Packages > Add Package Dependency.

  • Enter https://github.com/Mumble-SRL/MBAutomationSwift.git in the "Choose Package Repository" dialog and press Next.

  • Specify the version using rule "Up to Next Major" with "1.0.1" as its earliest version and press Next.

  • Xcode will try to resolving the version, after this, you can choose the MBAutomationSwift library and add it to your app target.

CocoaPods

CocoaPods is a dependency manager for iOS, which automates and simplifies the process of using 3rd-party libraries in your projects. You can install CocoaPods with the following command:

$ gem install cocoapods

To integrate the MBurgerSwift into your Xcode project using CocoaPods, specify it in your Podfile:

platform :ios, '12.0'

target 'TargetName' do
    pod 'MBAutomationSwift'
end

If you use Swift rememember to add use_frameworks! before the pod declaration.

Then, run the following command:

$ pod install

CocoaPods is the preferred methot to install the library.

Chartage

github "Mumble-SRL/MBAutomationSwift"

Manual installation

To install the library manually drag and drop the folder MBAutomationSwift to your project structure in XCode.

Note that MBAutomationSwift has MBurgerSwift, MBMessagesSwift and MBAudienceSwift as dependencies, so you have to install also those libraries manually.

is a decentralized dependency manager that builds your dependencies and provides you with binary frameworks. To integrate MBudienceSwift into your Xcode project using Carthage, specify it in your Cartfile:

🍏
Swift Package Manager
Carthage