Application Authenticity Protection in Native iOS applications

improve this page | report issue
This is a continuation of the Application Authenticity Protection tutorial.

application-descriptor.xml

Adding the security test

Modify the application-descriptor.xml file of your application.
Add the securityTest attribute to the Android or iPhone/iPad environment element. For example:

<iphone bundleId="com.worklight.MyBankApp" applicationId="MyBankApp" securityTest="customTests" version="1.0">


Specifying the bundleId and applicationId

  1. Specify the bundleId of your application exactly as you defined it in the Apple Developer portal.
  2. missing_alt

    It can be added either in the Source view:

    <iphone bundleId="com.worklight.MyBankApp" version="1.0">

    Or in the Application Description Editor (design view):

    missing_alt

  3. Specify the applicationId. The Application Id value must match the value of the application id property, which is located in the worklight.plist file.
  4. It can be added either in the Source view:

    <iphone bundleId="com.worklight.MyBankApp" applicationId="MyBankApp" securityTest="customTests" version="1.0“>

    Or in the Application Description Editor (design view):

    missing_alt

  5. In Xcode, verify that the following value exists in the Other Linker Flags field: -ObjC
Inclusive terminology note: The Mobile First Platform team is making changes to support the IBM® initiative to replace racially biased and other discriminatory language in our code and content with more inclusive language. While IBM values the use of inclusive language, terms that are outside of IBM's direct influence are sometimes required for the sake of maintaining user understanding. As other industry leaders join IBM in embracing the use of inclusive language, IBM will continue to update the documentation to reflect those changes.
Last modified on November 09, 2016