go-ios
go-ios copied to clipboard
Pair devices without manual tapping on a popup
Describe the bug Not sure if it is a bug
To Reproduce Plug in device and run ./go-ios pair
Expected behavior The device is paired with the host no manual intervention required
Screenshots If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
- OS: Ubuntu
Smartphone (please complete the following information): ProductName: iPhone OS ProductType: iPhone9,3 ProductVersion: 15.4.1
Additional context How would you run the ./go-ios pair command, I do not have physical access to the device and would like to pair the device using command line only, IE bypass the "tapping the trust message on the device", Is this possible, if so, could you please give me a procedure on how to do this?
There are two steps you need to do to be able to pair devices without manually interacting:
- Supervise your devices. You can find the steps needed to do it here. After you finish the supervision setup you should have a *.p12 file and its password.
- Then you pair your supervised devices using the file and password from step 1 like this:
ios pair --p12file="supervision.p12" --password="${SUPERVISION_PASSWORD}"
Thanks so much, so you have to do this for every device that you plug in? IE you have to make it a manage device 1st?
Yes, you need to manage all the devices under the same profile to be able to pair them without the Trust popup. But I think it will keep working until you hard reset the devices(might even work after hard reset but I haven't tried)
Thanks
On Thu, 26 May 2022, 12:25 Nikola Shabanov, @.***> wrote:
Yes, you need to manage all the devices under the same profile to be able to pair them without the Trust popup. But I think it will keep working until you hard reset the devices(might even work after hard reset but I haven't tried)
— Reply to this email directly, view it on GitHub https://github.com/danielpaulus/go-ios/issues/139#issuecomment-1138385577, or unsubscribe https://github.com/notifications/unsubscribe-auth/AMXKWZKXTHSRNL4JMKDYWOLVL5GQBANCNFSM5WY4CBBA . You are receiving this because you authored the thread.Message ID: @.***>
Make really really sure to backup the credentials when setting up supervision. If you lose those you can, for the most part, never "unsupervise" them.