Page tree
Skip to end of metadata
Go to start of metadata

Last updated: May 21, 2018 11:49

Problem

A test that launches an application on an iOS device running iOS 10 or later, the application fails to launch, and the tester is not sure for what reason.

When launching an application on an iOS device running iOS 9 - a popup stating: iPhone Distribution: "<your company name>" has not been trusted on this <iPhone/iPad>.

Solution

One reason for the application failure to launch may be a lack of registering the application developer as a "trusted" source for applications. For these situations, Perfecto now provides more detailed notification of the underlying cause:

Appium/Selenium

Application will fail and throw an org.openqa.selenium.WebDriverException.

The message will be of the form:

An unknown server-side error occurred while processing the command. Original error: Unable to start WebDriverAgent session: Failed to launch <app bundleId>: The operation couldn’t be completed. Unable to launch <app bundleId> because it has an invalid code signature, inadequate entitlements or its profile has not been explicitly trusted by the user.

Perfecto Native Automation or Interactive

Following Error message will be displayed:


What to do:Use the Settings app to configure the application and trust the developer.