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

Could not find WebDriverAgent.xcodeproj #73

Open
romainlouvet opened this issue Oct 8, 2020 · 2 comments
Open

Could not find WebDriverAgent.xcodeproj #73

romainlouvet opened this issue Oct 8, 2020 · 2 comments
Labels
bug Something isn't working

Comments

@romainlouvet
Copy link

romainlouvet commented Oct 8, 2020

WebDriverAgent is installed in my device correctly
After launching ./run

in my ./view_log -proc wdaproxy

2020/10/07 15:20:17 main.go:136 freeport 64960
2020/10/07 15:20:17 main.go:252 Open webbrower with http://192.168.171.157:8100
2020/10/07 15:20:17 main.go:139 launch tcp-proxy, listen on 8100
2020/10/07 15:20:17 main.go:148 launch iproxy (udid: "076c2763527a3a69d9403924abf1cd898e3fde81")
2020/10/07 15:20:17 main.go:178 device name: iPhone de Romain (3)
2020/10/07 15:20:17 main.go:180 launch WebDriverAgent(dir=.)
2020/10/07 15:20:17 main.go:192 Could not find WebDriverAgent.xcodeproj or xctestrun of sufficient version

iPhone 8 Plus iOS 13.7
Xcode 12.0.1

@issue-label-bot
Copy link

Issue-Label Bot is automatically applying the label bug to this issue, with a confidence of 0.80. Please mark this comment with 👍 or 👎 to give our bot feedback!

Links: app homepage, dashboard and code for this bot.

@issue-label-bot issue-label-bot bot added the bug Something isn't working label Oct 8, 2020
@nanoscopic
Copy link
Collaborator

The way WDA is built, it has the version of IOS supported in the name of the xctestrun file.

In some cases I've seen xcode build multiple xctestrun files into the same directory.

As a result my customized wdaproxy chooses the xctestrun file to use based on the version.

I did at one point update wdaproxy to select whatever is there if there is not a specific or higher version than needed available, but it seems some users still encounter this issue.

The "correct" fix for this is to make further changes to update wdaproxy to not have this problem.

The current workaround is to rename the xctestrun file to match the version of your IOS device. The file you need to rename can be found in the stf_ios_support/bin/wda folder once you build everything.

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

No branches or pull requests

2 participants