Install Xcode 10.0
Install Xcode 10.2
Replace 10.2's XCTest.framework with an older version: facebookarchive/WebDriverAgent#1093 (comment)
Add line "export PATH="/Applications/Xcode.app/Contents/Developer:$PATH" to your bash profile
sudo nano ~/.bash_profile
Install brew and dependencies
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
brew install usbmuxd
brew install libimobiledevice --HEAD
brew install ideviceinstaller
brew install carthage
brew install socat
brew install graphicsmagick zeromq protobuf yasm pkg-config
Download repositories
mkdir /farm
cd /farm
sudo git clone https://github.com/oddgames-david/stf.git stf_oddgames
cd stf_oddgames
npm install
cd bin
sudo git clone https://github.com/mrx1203/WebDriverAgent.git WebDriverAgent
You may receive 'Cannot find module 'eslint-config-appium' on the next command, just ignore it.
cd WebDriverAgent
./Scripts/bootstrap.sh
Open /farm/stf_oddgames/bin/WebDriverAgent/WebDriverAgent.xcodeproj in Xcode
Turn on automatically manage signing and choose your team for all schemes (Including IntegrationApp)
Select WebDriverAgentRunner scheme
Build
Test (to make sure you are actually able to deploy to device)
rethinkdb
cd /farm/stf_oddgames/bin
./stf local --public-ip <ipaddress>
See LICENSE.
Copyright © 2017 The OpenSTF Project. All Rights Reserved.