Integration for iOS

Download the latest version
Download V 3.0.2 Released: Mar 23, 2017
Minimal system requirements Requires iOS 8.0 or later.
Release notes
v. 3.0.2
  • Fixed bitcode related bugs
v. 3.0.1
  • Improved issue management
  • Added bitcode support
  • Fixed bugs
v. 3.0.0
  • Improved and optimized the SDK performance
  • Optimized network algorithms
  • Added support for background upload
  • Created new design
  • Fixed bugs
v. 2.0.6
  • Improved the performance of Activity stream
  • Fixed ‘duplicate symbol’ error
  • Fixed bugs
v. 2.0.5
  • Optimized the database performance
  • Optimized SDK performance (multithreading)
  • Fixed bugs
v. 2.0.4
  • Added crash reports symbolication
  • Optimized activity tracking performance
  • Added the bug-submission interface for beta-testers users
  • Fixed bugs
v. 2.0.3
  • Improved and optimized UI for iOS 8
  • Optimized the time tracking performance (flow)
  • Fixed the bug related to multiple report association with test case
v. 2.0.2
  • Added the new API [[Ubertesters shared] disableCrashHandler]; method
  • Renamed Ubertesters options for locking and activation mode
  • Ubertesters Project ID parameter is replaced with Ubertesters Organization SDK Token
v. 2.0.1
  • Fixed the bug with the Ubertesters widget blocking the part of user interface in the default position.
  1. Download the latest version of Ubertesters SDK for iOS

    1. Download ubertesters.sdk.ios.zip and unzip it
    2. Add UbertestersSDK.framework to your project
  2. Go to ‘Build Phases’ -> ‘Link Binary With Libraries’ and add the following frameworks

    1. AdSupport.framework
    2. QuartzCore.framework
    3. UIKit.framework
    4. SystemConfiguration.framework
    5. CoreTelephony.framework
    6. CoreLocation.framework
    7. CoreGraphics.framework
    8. OpenGLES.framework
    9. libsqlite3.0.tbd
    • Select your Project in the Project Navigator;
    • Select the target you want to enable the SDK for;
    • Select the Build Phases tab;
    • Open the Link Binary With Libraries Phase;
    • Click the + to add a new library;
    • Find QuartzCore.framework in the list and add it;
    • Repeat Steps 2 – 6 until all targets you want to use the SDK with.
  3. Set up Xcode project

    1. In your Xcode right click on​.plist​ file and select ​Open As​ -> ​Source Code​.
    2. Add the following lines of code:
      <array>         ​
      ​<string>​To use photos as issue attachments.​</string>
    3. Open http://beta.ubertesters.com/projects and select your project, go to SDK Integration;
    4. Copy “Ubertesters Organization SDK Token”;
    5. Add “Ubertesters Organization SDK Token” to your app’s “Info.plist” with the key “ubertesters_organization_token”;
  4. Add NSAppTransportSecurity key your info.plist file:

  5. Modify your Application Delegate file:

    • Import Ubertesters:
      #import <UbertestersSDK/Ubertesters.h>
    • Use Ubertesters Initialize function:
      -(BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:
          (NSDictionary *)launchOptions
          //your code here
          //Ubertersters SDK initialization
          [[Ubertesters shared] initialize];
          return YES; // this is the rest of your method
    It is possible to initialize Ubertesters in 2 ways:
    1. Using initializer with the default parametersWhen you are using the initializer with the default parameters – UbertestersActivationModeWidget for activation mode and UbertestersLockingModeDisableUbertesters for locking mode:
      [[Ubertesters shared] initialize];
    2. Using customized initializer
    [[Ubertesters shared] initializeWithOptions:UbertestersActivationModeWidget |
    The customized initializer is used with the Ubertesters SDK options which determine the behavior of Ubertesters widget (with the help of which you call the bug submission screen) and the behavior of the Ubertesters app when the build/app is not available in Ubertesters system. According to their functions, all the options can be divided in two groups – activation mode options and locking mode options. You can use the following options for the customized initializer: Activation mode options:
    UbertestersActivationModeWidget The Ubertesters widget (an orange bubble) is shown, and you need to click on it to call a bug submission screen.
    UbertestersActivationModeShake The widget is not shown, you need to shake your phone to call a menu for a bug submission or take a screenshot.
    UbertestersActivationModeManual The Ubertesters widget is not shown, a menu should be called with the help of our API methods. You can specify the conditions under which the Ubertesters menu will be shown.
    Locking mode options:
    UbertestersLockingModeDisableUbertesters This option will not lock your application if the build is not uploaded on our server
    UbertestersLockingModeLockApplication Ubertesters SDK locks the app completely if the build is not located on our server, it is impossible to navigate through the app
    Additional option:
    UbertestersDefault Combines two options: UbertestersActivationModeWidget and UbertestersLockingModeDisableUbertesters.
    Ubertesters SDK is used for beta-testing. Please make sure you’ve removed Ubertesters SDK before publishing your app to App Store. Make sure you are using Apple LLVN compiler 4.2 and greater. Go to BuildSettings of your target and find BuildOptions. There will be row Compiler for C/C++/Objective-C.
  6. Ubertesters SDK API methods

    API methods allow the developers to call additional methods and customize our SDK according to their needs. Remote Logging To perform remote logging you can use the UTLog method. UT log is a function with a text and a log level. Remote logging allows you to send an important system event information to Ubertesters server dedicating to storing and archiving this data. You can check the sent logs in your Ubertesters account in Activity > Session > Session Tracking UTLog methods:
    UTLogLevelInfo Sends info logs
    UTLogLevelWar Sends warning logs
    UTLogLevelError Sends error logs
    To add UTLog, please use the following line:
    - (void)UTLog:(NSString *)format withLevel:(UTLogLevel)level
    typedef enum
        UTLogLevelError, // level = «error»
        UTLogLevelWarning, // level = «warning»
        UTLogLevelInfo // level = «info»
    } UTLogLevel;
    [[Ubertesters shared] UTLog:@"text message" withLevel:UTLogLevelInfo];
    API methods used with UbertestersActivationModeManual These methods allow to specify the behavior of Ubertesters bug submission screen in case Manual mode is used.
    Method Action Example
    - (void)makeScreenshot; Captures screenshot in the app you are testing [[Ubertesters shared] makeScreenshot];
    - (void)showMenu; Shows Ubertesters menu [[Ubertesters shared] showMenu];
    - (void)hideMenu; Shows Ubertesters menu [[Ubertesters shared] hideMenu];
    Disable Crash Handler
    Method Action
    - (void) disableCrashHandler; Disables Ubertesters crash handler. Allows using our platform along with third party crash reporters.
    [[Ubertesters shared] disableCrashHandler];
    Ubertesters Extra Data protocol
    Method Action
    ubertestersIssueWillPost Allows the developer to add extra data parameters to the reports sent to the server when the issue is reported.
    How it works
    • Adopt Ubertesters Extra Data protocol:
      @interface ViewController ()
    • Implement Extra Data protocol method:
      @protocol UbertestersExtraDataProtocol <NSObject>
          -(ExtraDataList *)ubertestersIssueWillPost;
    • Set Ubertesters Delegate property:
      [[Ubertesters shared] setIssueDelegate:self];
    • Fill in extra data list with the required parameters:
    For example:
    -(ExtraDataList *)ubertestersIssueWillPost{
        ExtraDataList *data = [[ExtraDataList alloc] init];
        [data setAttribute:self.view.description forAttributeName:@"viewDescription"];
        [data setAttribute:NSStringFromCGRect(self.view.frame) forAttributeName:@"selfViewFrame"];
        return data;
    Please make sure AttributeName parameters do not coincide, otherwise the Attributes will be replaced with the latest meaning.