App packaging and signing
Mobile Center supports testing both packaged and non-packaged native and hybrid apps.
A packaged app is an app that Mobile Center has repackaged with record and replay libraries.
Although both packaged and non-package apps are supported by Mobile Center, packaging is still required
|MC version 1.52 or earlier||Tests created with Mobile Center 1.52 or earlier for both hybrid and native apps.|
To generate transaction response time information.
For photo, video, and fingerprint authentication simulation. iOS GPS simulation also requires a packaged app.
There are also some differences between packaged and non-packaged apps in the following areas:
- Full Device Automation functionality such as cross-app recording and recording of system apps, is not supported in packaged apps.
- Support for touch gestures.
Object recognition. For more details, see the Mobile Center 2.70 Readme For UFT, see alsothe Object Method Reference for UFT .
Considerations when using non-packaged hybrid apps
When using non-packaged hybrid apps, note the following:
- For Android apps, remote content debugging must be enabled. For details, see Enable remote content debugging of Android apps.
- iOS hybrid apps must be signed with a development certificate of either an Apple Developer or Enterprise Account.
Mobile Center packaging and signing
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.
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.
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.