Before you can test an iOS application, the application
must first be instrumented and then installed on the
device. A valid Apple Developer or Enterprise License with a provisioning
profile is required on each iOS device that you use for testing.
If you have the Xcode project for the application under test (AUT),
you can instrument the application and install it on a device at the
same time by running the rtwBuildXcode.sh script.
For details, see Instrumenting iOS applications.
If you do not have the Xcode project for the AUT, you have
several other ways to install the instrumented application on an iOS
device.
- Ask a developer to run the rtwBuildXcode.sh script
and output the instrumented AUT to your device.
For this scenario
to work, the developer must be able to attach your device to a USB
port on his Macintosh computer.
- Attach an iOS device to a USB port on a Windows or Macintosh computer that has iTunes
installed. Then do one of the following tasks:
All iOS devices running iOS 7.1 must use one of these methods
to install an instrumented app on the device. These methods are optional
for iOS devices running an earlier version of iOS.
- If the iOS device is running iOS 6 or iOS 7.0.x, you can use the Install button
in the mobile test client to
install an instrumented iOS application on the iOS device.
- In the test workbench,
click the Display Workbench URL icon
and
copy the Workbench URL.
- On the mobile device, open the mobile test client in a browser
by typing the full Workbench URL (http://ip_address:port/mobile),
for example, http://192.0.2.24:7878/mobile:7878/mobile.
- From the mobile test client,
tap Manage Applications.
- Select the application under test from the list.
- Tap Install.