Re-sign an iOS application
To interact with certain UI components (such as WebViews), your iOS app must sometimes be signed with a Developer Certificate that includes provisioning for the cloud device.
Perfecto supports re-signing: It replaces the app’s signature with a Perfecto certificate that is provisioned for the cloud device.
On this page:
When to re-sign
-
The original app’s entitlements (for example, push notifications) will be removed.
-
Supported only for hosted cradles.
-
As an alternative, add the device UDID to your provisioning profile and install the app without re-signing.
-
Required for using SFSafariViewController (see iOS - Working with SFSafariViewController).
For a visual overview, see Re-signing illustrated.
Step-by-step instructions

-
Option 1: Use capabilities
CopyJava
capabilities.setCapability("bundleId", "com.apple.mobileslideshow");
capabilities.setCapability("app","PRIVATE:applications/SlideShow.ipa");
capabilities.setCapability("iOSResign",true); -
Option 2: Use Perfecto command
To learn more about the
mobile:application:install
command, see Install application (FR).CopyJava
//declare the Map for script parameters
Map<String, Object> params = new HashMap<>();
params.put("file", "PRIVATE:applications/SlideShow.ipa");
params.put("instrument","noinstrument");
params.put("resign","true");
driver.executeScript("mobile:application:install", params);