EasyQA SDK for iOS

Users who prefer products of Apple, used to the high quality of hardware and software.

The process of the approval of applications, published on the Apple Store, lasts about one week. In order not to waste time on republication, application must be carefully prepared.

The preparation process includes quality testing. Special attention should be paid to the presence of crashes in the program. And to facilitate and speed up the reproduction of bugs and crashes, you can integrate EasyQA SDK.

EasyQA SDK, EasyQA test management tool, crash reports, ios crash report, android crash report, in-app bug report, bug report

This articles deals with EasyQA SDK integration into iOS projects. You can also use full iOS instructions on Integrations page within your project in EasyQA test management tool.

Generate a project token

Token is a unique identifier of your project. You can generate it on Integrations page within your project in EasyQA test management tool.

EasyQA SDK, EasyQA test management tool, crash reports, ios crash report, android crash report, in-app bug report, bug report

You just need to click on Copy token button to copy the token in clipboard. The identifier is unique to each project and can be refreshed.

The refreshment is needed in case one of your team members leaves the project you will spare that person of the possibility to use the app (as the members use their devices to test the app).

EasyQA SDK will block its work without a correct token.

Integrate SDK

To start the integration process, download iOS library on Integrations page within your project in EasyQA test management tool by clicking on the following button:

EasyQA SDK, EasyQA test management tool, crash reports, ios crash report, android crash report, in-app bug report, bug report

Extract downloaded .zip file and Add this library to your project by drag and dropping it to project folder in XCode:

EasyQA SDK, EasyQA test management tool, crash reports, ios crash report, android crash report, in-app bug report, bug report

Go to General settings and add EasyQA SDK as embedded framework. Click on "+" button:

EasyQA SDK, EasyQA test management tool, crash reports, ios crash report, android crash report, in-app bug report, bug report

and select EasyQASDK.framework

EasyQA SDK, EasyQA test management tool, crash reports, ios crash report, android crash report, in-app bug report, bug report

Choose shown on picture radio buttons and click on Finish button. Paste to AppDelegate.m file next line

for Objective-C: #import <EasyQASDK/EasyQASDK.h>

for Swift: import EasyQASDK

Go to EasyQA test management tool > open you project > Integrations menu item and copy token.

EasyQA SDK, EasyQA test management tool, crash reports, ios crash report, android crash report, in-app bug report, bug report

Open AppDelegate.m file and paste to didFinishLaunchingWithOptions method next line

for Objective-C: [EasyQAIntegration setUpWithBaseURL: andWriteKey:];

for Swift: EasyQAIntegration.setUpWithBaseURL(, andWriteKey: )

If you would like to upload your application to Test Flight or Apple Store with our EasyQASDK.framework you should add a run script phase.

Open Build Phases and tap on "+" button and select New Run Script Phase:

easyqa test management tool, chrome extension, easyqa sdk, testing, website testing, report bugs, screenshots, video

 

and put in Run Script (Build Phases)

/bin/sh ${TARGET_BUILD_DIR}/${WRAPPER_NAME}/Frameworks/EasyQASDK.framework/AppStoreARCH  CompabilityScript.sh

easyqa test management tool, chrome extension, easyqa sdk, testing, website testing, report bugs, screenshots, video

 

After that you can create your app’s build and upload it in Test Objects within your project in EasyQA test management tool.

Summary

After you have added our EasyQA SDK into your project and uploaded it to Test Objects within your project in EasyQA test management tool, you can track your app’s crashes on our website. You just need to download the app to any iOS device and start testing.

Use EasyQA SDK to catch all crashes and send them to the Issues page in EasyQA test management tool.

In-app bug reporting is a unique opportunity to create a bug report from your app not wasting time on sending the info which helps start processing and fixing the bug soon.

Register new account and integrate EasyQA SDK into your Android or iOS application.