First Steps - Mandatory

View original article on our GitHub

Step 1, Adding the StartApp SDK to your project

NOTE: If you're upgrading from an StartApp SDK, please refer to the Advanced Usage section before moving forward with the steps below.

  1. Right-click on you project and choose "Add Files to…"
  2. Add the StartApp SDK files:


Step 2, Adding frameworks

Add the StartApp SDK files to your application project directory

  1. Select your application project to bring up the project editor
  2. Select your application target to bring up the target editor
  3. Select the Build Phases tab and disclose the "Link Binary with Libraries" phase and click the plus button in that phase
  4. Add the following frameworks:


Step 3, Initialization

In your application delegate class (AppDelegate.m), import the StartApp SDK and add the following line to your application's didFinishLaunchingWithOptions function:

// AppDelegate.m

#import <StartApp/StartApp.h>

- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
    // initialize the SDK with your appID and devID
    STAStartAppSDK* sdk = [STAStartAppSDK sharedInstance];
    sdk.devID = @"your account id";
    sdk.appID = @"your app Id";

    return YES;

Replace "your account id" and "your app id" with your own values provided in thedevelopers’ portal.
After logging in, your account ID will be displayed at the top right-hand corner of the page:


To find your application ID, click on the "Apps and Sites" tab on the left pane and choose the relevant ID from your app list:


Was this article helpful?
0 out of 1 found this helpful
Have more questions? Submit a request


  • Avatar
    Justin Malik

    In "Adding Frameworks" section, it should also be mentioned that "libz.dylib" must also be added.

  • Avatar
    riccardo masci

    In "Adding Frameworks" section, it should also be mentioned that
    libz.dylib -> libz.tbd from iOS 9