Step 2. Verify your input

Now that we have set up the SDK and added our API key, we can restart the sample app:

  1. In Xcode, click the Run button in the top tool bar.
  2. After the Higgs Shop is opened on your virtual device, click around the app to trigger a few events.
  3. Navigate to Data Master > Live Stream in the left nav bar of your mParticle dashboard. The first few events will display in the Live Stream after a few seconds.

2.1 Troubleshoot your input

If you don’t see any events in the Live Stream, try the following:

Make sure you inserted your API key correctly

Make sure that you copied and pasted the entire key and secret displayed in the Platform Configuration modal when you set up your iOS input. To find your key:

  1. Navigate to Setup > Inputs in the left nav bar.
  2. Select iOS from the list of platforms.
  3. Your key is listed under Key, it should begin with an indicator of which data pod your mParticle account uses, for example: us2-. Your secret will be listed under Secret.

Check your SDK configuration

  1. Make sure that you are initializing and configuring the SDK correctly according to the instructions described in the previous step.
  2. If you have changed the default log level or environment settings, make sure that you have done so correctly by referring to the previous step.

Learn more about events the SDK tracks by default in Event Tracking.

<< Previous Next >> Set up your output

Was this page helpful?