In order for the Car Rental application to run as an AUT on an iOS
device, the application must be re-signed, then installed.
Ensure that basic requirements are met before re-signing and installing Car
onto an iOS device (see Prerequisites
The following procedures for re-signing the TestArchitect
Agent app must be performed on an macOS machine:
Obtain the full name of the private key of your iOS developer account from
Open Keychain Access from
In the Keychain Access window, click
login in the Keychains panel, and then
click Keys in the Category panel.
In the Name panel, expand the imported private key node you
want to use, right-click the certificate, and select Get Info
on the context menu.
Make note of the device's provisional Common Name.
Place the following files into a folder with full read and write
- The provisional profile file (*.mobileprovision)
Note: Assuming that TestArchitect is installed,
FileInfo, iOSInstrumentationDyLib.dylib and
CarRental.ipa files can be found at the following location:
Start the command line terminal and navigate to the directory to which you copied the
files in the preceding step.
Make the script file resign.sh executable by entering the
following command to the terminal, followed by pressing
chmod +x resign.sh
Execute the resign.sh script with the name of
the private key obtained in the earlier step as the first parameter, the name of the
provisional profile file as the second parameter, and the name of the application file to
re-sign as the third parameter.
"iPhone Developer: John Doe (3M2DBQ46ZG)"
The resign.sh script terminates
with the message replacing existing signature, to indicate
that re-signing was successful.
Connect the iOS device to the test machine using a USB cable, and use iTunes to install
the re-signed Car Rental application file onto the device:
Double-click the CarRental.ipa file that you re-signed.
Using iTunes, synchronize the re-signed Car Rental application
file with the device.
The re-signed Car Rental application is installed onto
You can perform step 6
on either an macOS or Windows machine.
With the re-signed Car Rental application installed onto the iOS
device, the Car Rental icon is available on the device's desktop.