Splunk MINT SDK for iOS (Legacy)

Splunk MINT SDK for iOS Developer Guide

Acrobat logo Download manual as PDF


Splunk MINT is no longer available for purchase as of January 29, 2021. Customers who have already been paying to ingest and process MINT data in Splunk Enterprise will continue to receive support until December 31, 2021, which is End of Life for all MINT products: App, Web Service (Management Console), SDK and Add-On.
This documentation does not apply to the most recent version of Splunk MINT SDK for iOS (Legacy). For documentation on the most recent version, go to the latest release.
Acrobat logo Download topic as PDF

Requirements and installation for iOS

The Splunk MINT SDK for iOS supports the following:

  • iOS versions 6.x, 7.x, and 8.x.
  • ARMv7, ARMv7s, and ARM64 architectures
  • The iOS Simulator

The requirement for the Splunk MINT SDK for iOS is:

  • The latest version of Xcode. If you don't have it, you can get it from the Apple App Store.

Install the Splunk MINT iOS Framework from a ZIP file

  1. Download the SplunkMint.framework.4.2.2.zip file and unzip it. (You can also download a md5 checksum file to verify the download.)
  2. In Xcode, open your project.
  3. Under TARGETS, select the target you want to use.
  4. On the Build Phases tab, expand Link Binary With Libraries, click the + button, then click Add Other.
  5. Navigate to the location where you unzipped the file previously, select the SplunkMint.framework folder, and click Open.
  6. The framework appears at the top of the Link Binary With Libraries list and is added to the Framework folder in the left-hand pane that displays your project files.

  7. Add each of the remaining required frameworks and libraries as follows. Under Link Binary With Libraries, click the + button, click Add Other, select one of the following, then click Add:
    • SystemConfiguration.framework
    • CoreTelephony.framework
    • WebKit.framework
    • libz.dylib
  8. On the Build Settings tab under Linking, find Other Linker Flags and add "-ObjC" and "-all_load".
  9. Note If adding these linker flags causes build errors about duplicate symbols, try replacing the "-all_load" flag with one of the following:

    • "-force_load $(SOURCE_ROOT)/PathToFramework/SplunkMint.framework/Version/A/SplunkMint"
    • "-force_load $(SOURCE_ROOT)/PathToFramework/SplunkMint.framework/SplunkMint"

Install the Splunk MINT iOS Framework using CocoaPods

  1. Open a command prompt in the Xcode project root directory (where the ProjectName.xcodeproj file is located).
  2. If you do not yet have a podfile for your project, run the following command to create an empty podfile:
  3. $ pod init
  4. In a text editor, open the podfile and add the following library name:
  5. pod 'SplunkMint'
  6. At the command prompt, run the following command to install the SplunkMint pod:
  7. $ pod install
  8. If the pod installation displays a warning, in Xcode go to the Build Settings tab under Linking, find Other Linker Flags and add "$(inherited)".
Last modified on 23 June, 2015
PREVIOUS
MINT Documentation
  NEXT
Configure your project for symbolication

This documentation applies to the following versions of Splunk MINT SDK for iOS (Legacy): 4.2.x


Was this documentation topic helpful?


You must be logged into splunk.com in order to post comments. Log in now.

Please try to keep this discussion focused on the content covered in this documentation topic. If you have a more general question about Splunk functionality or are experiencing a difficulty with Splunk, consider posting a question to Splunkbase Answers.

0 out of 1000 Characters