App packaging and signing services

Mobile Center supports testing both packaged and non-packaged native and hybrid apps.

When to use a packaged app

Although both packaged and non-package apps are supported by Mobile Center, packaging is still required in the following cases:

MC version 1.52 or earlier Tests created with Mobile Center 1.52 or earlier for both hybrid and native apps.

TruClient scripts

 

To generate transaction response time information.
You must also define Object Exists end events in your TruClient script steps (for native apps).

Simulation

For photo, video, and fingerprint authentication simulation. iOS GPS simulation also requires a packaged app.

Hybrid apps

When:

  • Using tests created with Mobile Center 2.00 or earlier.
  • Conducting performance testing of hybrid apps.
  • Replaying hybrid app tests on AWS.

Additional considerations

There are also some differences between packaged and non-packaged apps in the following areas:

Considerations when using non-packaged hybrid apps

When using non-packaged hybrid apps, note the following:

Mobile Center packaging and signing services

After you upload an app to Mobile Center, the server automatically attempts to package the app. This gives you the option of selecting either a packaged app or the original version when running a test.

Whenever the content of an app package is changed, for example when the app is repackaged with record and replay libraries, the app also needs to be re-signed. If the app package is not re-signed, you will not be able to install the app on a device.

To enable automatic packaging and signing of apps by Mobile Center, the administrator needs to Set up automatic app packaging and signing services.

You can also package and sign apps manually and then upload them to Mobile Center. For details see, Package an Android app manually or Package an iOS app manually on a Mac machine.

Back to top

Certificates required when signing iOS apps

To test an iOS app with Mobile Center, you may need to re-sign your app. This section explains when you need to re-sign your app, and what certificate to use.

Agent and Agent Launcher apps

The Agent and Agent Launcher apps must be re-signed with a development certificate of an Apple Developer Account, and a development provisioning profile belonging to the same account.

Other iOS apps

Application under Test Mode Re-sign required? Required certificate
iOS native app Packaged app Yes. This is part of the packaging process. Any type of certificate of either an Apple Developer or Enterprise account
iOS native app Non- packaged app No, unless your organization needs to re-sign the app for some specific reason. Any type of certificate of either an Apple Developer or Enterprise account
iOS hybrid app Packaged app Yes

For iOS versions 8.4.1 and higher: Development certificate of an Apple Developer account

For versions lower than iOS 8.4.1: Development certificate of either an Apple Developer or Enterprise account

iOS hybrid app Non-packed app Yes To identify WebView, development certificate of an Apple Developer account

See Videos and slideshows for step-by-step instructions on how to generate a development certificate and provisioning profile, and how to sign iOS apps.

Back to top

See also: