Before you start this lesson, verify that the following requirements are met:
If you meet these requirements, you can instrument the AUT and install it on iOS device, or you can deliver the AUT to other team members for testing. If you do not have a Macintosh computer and the source code for the AUT, proceed to Lesson 3: Installing an instrumented application on an iOS device, where you will learn how to install an application that was instrumented by someone else.
To prepare the AUT for testing:
The build archive contains scripts that are needed to prepare the application for testing.
http://Workbench_URL:port/mobile
For example, enter http://192.0.2.24:7878/mobile
The following folders are included in the build archive: browser, build-script, client, runtime, runtime-bundle
You can specify the Workbench URL of your own computer to add the instrumented AUT to your test workbench, or you can specify the Workbench URL of another team member to add the instrumented AUT to their test workbench. With the device option, you can install the instrumented AUT on any USB-connected device.
The rtwBuildXcode.sh script provides support for both Xcode projects and Xcode workspaces.
unpack_dir/build-script/rtwBuildXcode.sh .xcodeproj file Workbench URL device
Here is an example of the command line syntax to instrument an AUT named UICatalog and send it to the test workbench and to all USB-connected devices:
./rtwBuildXcode.sh /Users/mario/iOSApps/UICatalog/UICatalog.xcodeproj/ http://9.54.119.136:7878 device
Alternatively, you can use the simu option to send the AUT to an iOS Simulator, or the both option to send the AUT to all USB-connected devices and to an iOS Simulator.
After the script completes, the instrumented AUT is visible in the Mobile and Web UI applications window, as shown below:

Incoming applications must be managed to be used in a test, that is, they must be added to a Test Workbench project in the Rational Test Workbench Eclipse Client. After you run the rtwBuildXcode.sh shell-script, do one of the following tasks to manage the application: