iOS SDK – Quick Start Guide

Introduction

Quixxi Security is usable by enterprises and mobile app developers to secure their mobile apps form piracy, revenue loss, IP theft, loss of user data , hacking and cracking. Quixxi Security ensures your application is fully protected with our multi layered encryption engine that prevents your application from being reverse engineered and tampered with.

Salient features

  1. Security Framework will encrypt your business logic code of your application and move it to native low layer
  2. Framework uses java reflection to hide the method calls and it removes the method body and replaces it with native method calls to protect the apps business logic from crackers
  3. Prevents revenue loss caused by cracked usage of application
  4. Easy to Integrate with your existing applications
  5. Provides additional APIs for encrypting app data and shared preferences API for storing data secretly in device

QuixxiApp Security Framework

It is a combination of the following modules that makes your app work in a secure way.

Quixxi data protector

Under encrypted data we have the following options.

Quixxi app protector

This will detect that device has jailbroken and application is running in debug mode.

Core data

This will enable the core datastore to encrypt it before storing the value. After the setup, usage of the core data will remain same.

SQLite

Makes the application use the encrypted SQLite Database. With this, all the data will be encrypted into cipher text with a password key.

Steps to apply Quixxi Security to iOS app

Please follow the steps below to protect your Android application with Quixxi Security

  1. Create a new app in Quixxi Portal using “Add New” button.
  2. In “Create your app” dialog give a name of your application and click Continue
  3. Click the newly created app and choose “Security” in the header tab.
  4. Under the iOS Section Click “Protect now” to protect your app.
  5. In the next window make sure Apple Radio button is selected and click on the Compile button.
  6. Scroll down the window and choose the appropriate plan and then click Next.
  7. Once you Click Next the framework will be compiled
  8. Once Quixxi Security framework is compiled, click on the Download Library to download the protection library.

Integration of Quixxi security Framework to your app

  1. Create a XCode project
  2. Right click on the project and choose -> Add Files to Project Name
  3. Redirect to the QuixxiAppSecurity.framework that you have and click open
  4. Now we need to add the framework to the project. For that, click on the Project, choose targets of your project and choose General tab, under General look for the embedded
  5. Binaries, click (+) Plus button and choose the QuixxiAppSecurity.framework.
  6. Search for Other C Flags in build settings for your target and add -DSQLITE_HAS_CODEC (if you have differing Debug and Release flags, add it for both configurations)
  7. Drag the QuixxiActivation.framework and keys.txt file.
  8. Choose the Generic iOS Device, clean and build the project.

Now your application is secured and ready for market release

Utility API

In addition to features, Quixxi Security provides utility APIs for usage in application development.
You can also check out our API Reference for more detailed information about our SDK.

Quixxi App Protector

This will detect that device has jailbroken and application is running in debug mode.


For jailbroken

Open the Appdelegate.m and add the following lines under didFinishLaunchingWithOptions method.


For debugger detection

Open the Appdelegate.m and add the following lines under didFinishLaunchingWithOptions method.


The above codes will check for the device is Jailbroken and Debugging is connected.

Quixxi Data Protector – Core Data

Quixxi Data ProtectorforCore Data makes the core data store makes the data to be stored in the encrypted mode. After the setup, there is no change, the usage is exactly same as working on Core Data. All the data that is present in the database will be encrypted.

  1. Open the ApAppdelegate.h and add the following line

  2. Look for the method

    The above line will be allows the core data store to be used in encrypted store. After the above setup the usage of the core data will be same as usuall.

  3. To test if the database is encrypted or not, choose open XCode -> choose Windows -> Devices
  4. Choose the connected device and select the App -> Choose (+) and select -> Download Container. Choose the specific folder and save.
  5. Open the sqlite database from the App Container.
  6. Open the Command line and Give the following command.

Quixxi Data Protector – SQLite

QuixxiData Protector makes the application to use the Encrypted SQLite Database. So all the data will be encrypted into ciphertext with a password key. All the data that present in the database will be encrypted

  1. Open the Appdelegate.h and add the following line

  2. Add the following two lines after open the database

    The above line will be allows the core data store to be used in encrypted store. After the above setup the usage of the core data will be same as usual.

    Example:

  3. To test the database encrypted or not. Choose Open XCode choose Windows -> Devices
  4. Choose the Connected device and select the App -> Choose (+) and select -> Download Container. Choose the specific folder and save.
  5. Open the sqlite database from the App Container.
  6. Open the Command line and Give the following command which will show the encrypted database.

iOS SDK – Quick Start Guide

Introduction

Quixxi Security is usable by enterprises and mobile app developers to secure their mobile apps form piracy, revenue loss, IP theft, loss of user data , hacking and cracking. Quixxi Security ensures your application is fully protected with our multi layered encryption engine that prevents your application from being reverse engineered and tampered with.

Salient features

  1. Security Framework will encrypt your business logic code of your application and move it to native low layer
  2. Framework uses java reflection to hide the method calls and it removes the method body and replaces it with native method calls to protect the apps business logic from crackers
  3. Prevents revenue loss caused by cracked usage of application
  4. Easy to Integrate with your existing applications
  5. Provides additional APIs for encrypting app data and shared preferences API for storing data secretly in device

QuixxiApp Security Framework

It is a combination of the following modules that makes your app work in a secure way.

Quixxi data protector

Under encrypted data we have the following options.

Quixxi app protector

This will detect that device has jailbroken and application is running in debug mode.

Core data

This will enable the core datastore to encrypt it before storing the value. After the setup, usage of the core data will remain same.

SQLite

Makes the application use the encrypted SQLite Database. With this, all the data will be encrypted into cipher text with a password key.

Steps to apply Quixxi Security to iOS app

Please follow the steps below to protect your Android application with Quixxi Security

  1. Create a new app in Quixxi Portal using “Add New” button.
  2. In “Create your app” dialog give a name of your application and click Continue
  3. Click the newly created app and choose “Security” in the header tab.
  4. Under the iOS Section Click “Protect now” to protect your app.
  5. In the next window make sure Apple Radio button is selected and click on the Compile button.
  6. Scroll down the window and choose the appropriate plan and then click Next.
  7. Once you Click Next the framework will be compiled
  8. Once Quixxi Security framework is compiled, click on the Download Library to download the protection library.

Integration of Quixxi security Framework to your app

  1. Create a XCode project
  2. Right click on the project and choose -> Add Files to Project Name
  3. Redirect to the QuixxiAppSecurity.framework that you have and click open
  4. Now we need to add the framework to the project. For that, click on the Project, choose targets of your project and choose General tab, under General look for the embedded
  5. Binaries, click (+) Plus button and choose the QuixxiAppSecurity.framework.
  6. Search for Other C Flags in build settings for your target and add -DSQLITE_HAS_CODEC (if you have differing Debug and Release flags, add it for both configurations)
  7. Drag the QuixxiActivation.framework and keys.txt file.
  8. Choose the Generic iOS Device, clean and build the project.

Now your application is secured and ready for market release

Utility API

In addition to features, Quixxi Security provides utility APIs for usage in application development.
You can also check out our API Reference for more detailed information about our SDK.

Quixxi App Protector

This will detect that device has jailbroken and application is running in debug mode.


For jailbroken

Open the Appdelegate.m and add the following lines under didFinishLaunchingWithOptions method.


For debugger detection

Open the Appdelegate.m and add the following lines under didFinishLaunchingWithOptions method.


The above codes will check for the device is Jailbroken and Debugging is connected.

Quixxi Data Protector – Core Data

Quixxi Data ProtectorforCore Data makes the core data store makes the data to be stored in the encrypted mode. After the setup, there is no change, the usage is exactly same as working on Core Data. All the data that is present in the database will be encrypted.

  1. Open the ApAppdelegate.h and add the following line

  2. Look for the method

    The above line will be allows the core data store to be used in encrypted store. After the above setup the usage of the core data will be same as usuall.

  3. To test if the database is encrypted or not, choose open XCode -> choose Windows -> Devices
  4. Choose the connected device and select the App -> Choose (+) and select -> Download Container. Choose the specific folder and save.
  5. Open the sqlite database from the App Container.
  6. Open the Command line and Give the following command.

Quixxi Data Protector – SQLite

QuixxiData Protector makes the application to use the Encrypted SQLite Database. So all the data will be encrypted into ciphertext with a password key. All the data that present in the database will be encrypted

  1. Open the Appdelegate.h and add the following line

  2. Add the following two lines after open the database

    The above line will be allows the core data store to be used in encrypted store. After the above setup the usage of the core data will be same as usual.

    Example:


  3. To test the database encrypted or not. Choose Open XCode choose Windows -> Devices
  4. Choose the Connected device and select the App -> Choose (+) and select -> Download Container. Choose the specific folder and save.
  5. Open the sqlite database from the App Container.
  6. Open the Command line and Give the following command which will show the encrypted database.