1. Hands MDM SDK
  2. iOS Quickstart
  3. MDM Bundle

MDM Bundle

Package clustering all MDM modules, which makes platform integration and initialization easier. If you use all SDK modules, utilizing the bundle is more convenient.

In the root directory of the project, type the following command on the terminal to create a Podfile:

pod init 

 

Open and edit the Podfile, adding MDM dependency:

# Uncomment the next line to define a global platform for your project
platform :ios, '14.0'

target 'My App' do
  # Comment the next line if you're not using Swift and don't want to use dynamic frameworks
  use_frameworks!

  # Pods for My App
  pod 'MDMBundle'
  
end

 

Run the following command to download the dependency:

pod install

 

Or run the following command to update all dependencies:

pod update

 

Make sure to open the Xcode .xcworkspace instead of the project file.


The library is initialized asynchronously. It is recommended to initialize the SDK in the applicationDidBecomeActive method in your AppDelegate, right after requesting permission to use Tracking:

MDMCore.start(withAppId: "SEU_APP_ID", kitModules: [MDMBundle.self()])

 


Next steps:

Once the bundle is initialized, it is necessary to implement each module’s particularities.

Follow the instructions for the following modules.