shamanec / GADS-devices-provider

Set up iOS/Android devices for remote control with GADS UI and Appium test execution
MIT License
30 stars 4 forks source link

iOS Docker image error - file does not exist #9

Closed fast-potat0 closed 1 year ago

fast-potat0 commented 1 year ago

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

shamanec commented 1 year ago

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 :)

shamanec commented 1 year ago

@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

shamanec commented 1 year ago

Closing this due to inactivity