shamanec/GADS-devices-provider

iOS Docker image error - file does not exist

fast-potat0 opened this issue · 3 comments

I got an error while Building iOS Docker image:
docker build -f Dockerfile-iOS -t ios-appium .

Step 13/14 : COPY configs/supervision.p12 /opt
COPY failed: file not found in build context or excluded by .dockerignore: stat configs/supervision.p12: file does not exist

Yes, the project assumes that you have supervised the iOS devices as stated in the setup docs. You can open Dockerfile-iOS and you can comment out line 28 COPY configs/supervision.p12 /opt. This will let you build the image but there might be an error while starting the containers if you don't have a valid supervision file. In an hour or two I will push a change to GADS-docker-server that will allow you to manually Trust the device when the container is started and let you know :)

@fast-potat0 comment line 28 in Dockerfile-iOS, run docker build --no-cache -f Dockerfile-iOS -t ios-appium . to get the latest GADS-docker-server that I updated with this. When a container is created for a device you should get a Trust popup on the device and around 10-15 seconds to accept it and it should be good to go. If you have any more problems or questions do not hesitate to open issues

Closing this due to inactivity