-
Clone this repo down to your build machine
-
Install XCode
-
Add your developer Apple ID to XCode
- XCode -> XCode menu -> Preferences -> Accounts Tab
+
underApple IDs
list- Choose
Apple ID
- Login to your account so that dev certs can be downloaded
-
Run
./init.sh
- On your STF server machine
-
Pull STF server image
docker pull openstf/stf
-
Copy
docker-compose.yml
and.env
from server/ -
Generate certs for your system / domain
-
Update
docker-compose.yml
cert paths and.env
-
Start STF
- docker-compose up
-
- Setup your server as normal following upstream instructions
- Alter stf_ios_support/coordinator/proc_stf_provider --connect-sub and --connect-push lines to match your server config
-
Update config.json
-
Run
make
thenmake dist
- dist.tgz will be created
- Copy
dist.tgz
from build machine - Run
tar -xf dist.tgz
- Tweak
config.json
as desired
-
Register(provision) your IOS device to your developer account as a developer device
- Use the API?? https://developer.apple.com/documentation/appstoreconnectapi/devices
- Follow these instructions: https://www.telerik.com/blogs/how-to-add-ios-devices-to-your-developer-profile I couldn't find updated instructions on Apples website. If you find them please let me know so I can link to them.
-
Plug your IOS device in
-
Pair it with your system
-
Have Xcode setup the "developer image" on your IOS device:
- Open Xcode
- Go to Windows... Devices and Simulators
- Wait while Developer Image is installed to your phone
-
Run
./run
( and leave it running ) -
Permissions dialog boxes appear for coordinator to listen on various ports; select accept for all of them
-
Device shows up in STF with video and can be controlled. Yay
- Install openvpn-server on your STF server machine
- Create client certificate(s) using your favorite process...
- Create ovpn file(s) with those client certs
- Deploy those cert(s) to your provider machines; setting them up in Tunnelblick
- Alter config.json on each provider to have the name of the cert setup in Tunnelblick
- Start openvpn server on STF server
- Start coordinator/provider on each provider machine
- Run
./view_log -proc ios_video_stream
to check for errors from video fetching and frame serving process - Run
./view_log -proc h264_to_jpeg
to check for errors from video decoding process - Reboot your IOS device and try again
-
Jailbreak your IOS device
-
Install Veency through Cydia
-
Configure a VNC password if desired
-
Alter
config.json
- Set
"use_vnc": true
- Set
"vnc_scale": 2
( or 3 depending on your device scale ) - If password used, set
"vnc_password": "[your password]"
- Set
-
Start coordinator
-
Clicking is now nearly immediate!
- run
./view_log
to see list of things that log - run
./view_log -proc [one from list]