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 Device Not Show When Click Use Device #1207

Closed
erdncyz opened this issue Jun 23, 2024 · 9 comments
Closed

iOS Device Not Show When Click Use Device #1207

erdncyz opened this issue Jun 23, 2024 · 9 comments

Comments

@erdncyz
Copy link
Contributor

erdncyz commented Jun 23, 2024

When I click to use the device on iPhone devices, the devices do not appear and the screen remains as in the image I shared.

Use version device-farm : 8.4.7-rc.45

image

Log gist: https://gist.github.com/erdncyz/273e33df956845a07d0f7377da61dcb4

@saikrishna321
Copy link
Member

@erdncyz I tried and it works fine.

Steps:

  1. Started a session from the appium-device-farm
  2. Once I'm able to interaction with device from device-farm browser. I opened appium inspector and provided the host and remote port in inspector.
  3. Selected the Attach to session tab.
  4. From the dropdown you should be able to see the session id. select that on click on Attach to Session.

image

Please confirm if you have the same way and the issue exists.

@nskcashHH
Copy link

@erdncyz try to make these values the same in the browser
Screenshot 2024-06-23 at 18 43 18

@sudharsan-selvaraj
Copy link
Member

Currently there is a limitation with appium inspector for loading images from device connected to a remote machine. I have raised a issue in appium inspector to address it appium/appium-inspector#1505

@erdncyz
Copy link
Contributor Author

erdncyz commented Jun 23, 2024

Hi @sudharsan-selvaraj

I think it has nothing to do with appium inspector. When I tried the old version of appium device farm on my old computer, it worked without any problems.

Appium version: 2.6.0 the same
Appium Inspector: 2024.3.4 The same version
Appium device farm version : [email protected] But this version'da android remain loading on inspector

I added a video and a gist, can you take a look?
https://gist.github.com/erdncyz/7d573455aea5ab5406af5aeee9e2e819

new.mp4

@saikrishna321
Copy link
Member

@erdncyz In the video I see it's local machine where device and inspector are in the same machine.

Issue is with hub and node concept.

@erdncyz
Copy link
Contributor Author

erdncyz commented Jun 24, 2024

@saikrishna321

No, it works when I try it both ways, but in this version (37) it does not work at all in the 45th version. In version 37, the only problem is Android loading in Appium Inspectar.

Moreover, But I also wanted to point out that in the 45th version, it does not work when the device and the controller are on the same machine.

@saikrishna321
Copy link
Member

@erdncyz going forward the route that device-farm is going to work with inspector is you need to start the session from device-farm and attach the session in inspector.

There are multiple capabilities that needs to be considered and DF is handling them internally and communicates with Appium.

For iOS you need to upload the wda-resign.ipa for it to work.

Currently as there is a open issue with inspector like @sudharsan-selvaraj mentioned above. We need to wait until that is fixed for remote configuration.

For local setup things should be working fine.

Thanks for raising this issue and giving enough information to understand the use case better.

@erdncyz
Copy link
Contributor Author

erdncyz commented Jun 24, 2024

Okay, thank you @saikrishna321 I will wait for the problem to be resolved and try to use wda-resign during that time. But I shot a video in the 45th version and wanted to share it running on the same machine.

trim.09E60C8F-59FB-4399-803E-06A2C09E2317.MOV

@erdncyz
Copy link
Contributor Author

erdncyz commented Aug 28, 2024

This issue is fixed with wda.resign.ipa.

Thank you very much..

@erdncyz erdncyz closed this as completed Aug 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants