pymobiledevice3 icon indicating copy to clipboard operation
pymobiledevice3 copied to clipboard

FEATURE REQUEST: XCUITest

Open Simplify3x opened this issue 1 year ago • 13 comments

Facing this issue, can anyone help. Not able to start the webdriveragent server on the phone for ios 17 and above.

Simplify3x avatar Nov 02 '23 14:11 Simplify3x

Is this issue Resolved? I do facing this issue..

SANSA27 avatar Nov 02 '23 14:11 SANSA27

Facing the Same issue (WebDriveragent launches but doesnt run) . Can someone help

Sandy0831 avatar Nov 02 '23 15:11 Sandy0831

The XCUITest is not currently implemented

doronz88 avatar Nov 03 '23 06:11 doronz88

I'm told that contributors to go-ios will be adding it to that in the near future. I've not yet seen anyone having figured out how XCTests are started on iOS 17.

@doronz88 If you are not going to implement it yourself, could you share us some information of how we could figure out how XCode is doing it? You've figured out the rest of the iOS 17 stuff, so you seem to be in the best position of all of us to figure out XCTest as well.

If it is matter of payment to be willing to spend the time to do so, please give me a quote on what you would want to figure it out and have it added to the project.

nanoscopic avatar Nov 08 '23 03:11 nanoscopic

I've never used the XCUITest feature myself so I'm not encouraged in developing it. Anyhow, you can find in this project all the tools to implement it yourself.

I advise to follow these steps:

  • Sniff the traffic XCode makes over its own tunnel
  • Figure out by this traffic if its RemoteXPC or the old one
  • Implement it accordingly with either:

https://github.com/doronz88/pymobiledevice3/blob/4ebe3af543c31670cc9663e7d5f85843f5c5fce7/pymobiledevice3/remote/remote_service_discovery.py#L81

https://github.com/doronz88/pymobiledevice3/blob/4ebe3af543c31670cc9663e7d5f85843f5c5fce7/pymobiledevice3/remote/remote_service_discovery.py#L91

doronz88 avatar Nov 08 '23 07:11 doronz88

I see. You might as well close this ticket as "Won't Implement" then I guess if that is your position.

You should probably update the documentation to state this somewhere as people aren't going to stop asking about this.

nanoscopic avatar Nov 08 '23 07:11 nanoscopic

I would still be happy to merge a PR that implements it. That's part of being open source

doronz88 avatar Nov 08 '23 07:11 doronz88

Do a little work on it. It's not finished yet. https://github.com/doronz88/pymobiledevice3/compare/master...codeskyblue:pymobiledevice3:feature_xcuitest

codeskyblue avatar Dec 28 '23 06:12 codeskyblue

@codeskyblue looking good! I'll be happy to merge it when it's done

doronz88 avatar Jan 03 '24 21:01 doronz88

pr is ok now.

codeskyblue avatar Jan 12 '24 09:01 codeskyblue

Hello. Are there any plans to extend this feature to iOS 17?

corrrso avatar Mar 20 '24 13:03 corrrso

Do a little work on it. It's not finished yet. master...codeskyblue:pymobiledevice3:feature_xcuitest

@codeskyblue any update on this? Thanks

mega6453 avatar Jun 11 '24 12:06 mega6453

Do a little work on it. It's not finished yet. master...codeskyblue:pymobiledevice3:feature_xcuitest

@codeskyblue any update on this? Thanks

No progress. You need help yourself

codeskyblue avatar Jun 12 '24 04:06 codeskyblue