This is an XCTest UI test suite that tests some basic functionalities of the AWS Device Farm iOS sample app.
In order to run this app within Device Farm you will need to create a local copy of this repository and build the application from source.
- Select the
AWSDeviceFarmiOSReferenceApp
target. - Select
Generic iOS Device
as our build target. - Click
Product > Build For > Testing
.
- Go into your build directory:
~/Library/Developer/Xcode/DerivedData/ProjectName/Build/Products/Debug-iphoneos
or if you have a custom build directory, go to that location. - Create a new directory named "Payload"
- Move the "*-Runner.app" file into the "Payload" folder
- Right click the Payload folder > Compress.
- Rename "Payload.zip" to "test_runner.ipa".
Follow the steps in the official AWS Device Farm documentation for XCTest UI Testing.