Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

iOS pairing and other issues #130

Open
shamanec opened this issue Nov 18, 2024 · 2 comments
Open

iOS pairing and other issues #130

shamanec opened this issue Nov 18, 2024 · 2 comments
Labels
bug Something isn't working enhancement New feature or request

Comments

@shamanec
Copy link
Owner

          > Honestly - I have no idea 😓 I got only 4 iOS devices and it always works for me so I can't reproduce. Some people use the project with a big pool of devices without any similar failures. For some people like you - it fails. Up until now I was able to do a live debug session with only two people that had this issue and for both it was a problem with the provider setup. Since at least some devices work for you I doubt this is the reason...
  1. Are you using a paid developer account?
  2. Is developer mode enabled on all devices?
  3. Are all devices connected via USB?

It kind of looks like the app installation failed because it doesn't reach 100% but maybe something else fails and stops it in the meantime. If it is possible for you to do a live debug session with me you can contact me on Discord @yunki-cmd

Hi, In the end, the initial issue was due to the account not being renewed. After renewing it and testing the new version of GADS v2.5.0, another problem arose.

Every time the provider started, the "Trust This Computer" alert message popped up on the iPhones. Even after accepting it multiple times, the popup reappeared with every provider reset. It’s worth noting that this didn’t happen with the previous version of GADS; it only started occurring after the upgrade.

I eventually resolved the issue by following the Configurator guide. However, I had to manually input the password into the database and had to make was replacing the custom WDA with the Appium WDA.

Could this be due to a recent change in the configuration, or am I missing an additional setting?

Additionally, I’ve noticed that the error 0530 from forward occasionally appears: close clientConn --> deviceConn. Despite this, the device is controlled properly, and the automation works as expected. I’ve attached a screenshot for clarification.

vncviewer_9aHveOsZIu

Originally posted by @yunki-cmd in #120 (comment)

@shamanec
Copy link
Owner Author

shamanec commented Nov 18, 2024

@yunki-cmd I took the liberty of moving this to a new issue since it is not related to the other one!

So I've never observed this problem with Trust This Computer appearing multiple times, those pair records should be automatically saved somewhere (not really sure where 😅). It might appear if you reset the provider host but not just by restarting the provider instance. I don't see how it could be related with the latest version because I haven't made any changes there but I will look it up. You said it was MacOS Sequioa right? I'm on 15.0 but I might try upgrading to see if it could be related.
It's my fault about the supervision control - I literally forgot about this functionality because I doubted anyone would spend the effort to do it, even though it makes stuff much easier, so good catch! I will try to add this to the provider configuration, also I will add the option to upload the certificate to the DB so you don't have to set it up manually. I didn't understand how was WDA related?

About the error that appears in the console output - don't worry about it, it is something that go-ios spits out but it is completely okay.

Anyway, I am currently working on a new release where go-ios dependency will be updated to the latest version so this should hopefully make anything iOS related more stable. Also I will include multiple UI improvements and the updates for supervision I mentioned above if you are still inclined to use it.

@shamanec shamanec added bug Something isn't working enhancement New feature or request labels Nov 18, 2024
@shamanec
Copy link
Owner Author

@yunki-cmd I've updated go-ios dependency in the latest release, also you should now be able to upload a supervision profile from the Admin panel in the UI and set supervision password in provider configuration. Let me know if you encounter the pairing issue again or other issues so I can hotfix them :P

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant