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 17, Xcode 15 ,appium can not connect to iphone via wifi #2097

Closed
HaoWShi opened this issue Oct 17, 2023 · 1 comment
Closed

iOS 17, Xcode 15 ,appium can not connect to iphone via wifi #2097

HaoWShi opened this issue Oct 17, 2023 · 1 comment

Comments

@HaoWShi
Copy link

HaoWShi commented Oct 17, 2023

I set up a local development environment.
Mac::2019 MacBook Pro, MacOS Sonoma 14.0
Xcode: 15.0
Iphone: Iphone14 Pro ,IOS17.0.3
Appium2

I can run test case in appium when iphone connect to mac by usb. And I make iphone and mac connect to same Wifi(other iphone's wifi hotspot). Then I disconnect usb between Mac and Iphone, XCode connect to Iphone via Wifi successfully
2)
Next, I run my script again, there is a error
**
No Real device with udid '*****', Looking for a simulator
Encountered internal error running command: Error: Unknow device or simulator UUID:'****'
at XCUITestDriver.determineDevice
atXCUITestDriver.start()
at XCUITestDriver.createSession()
at AppiumDriver.createSession()
**
3)
I run command 'idevice_id -n' and 'idevice_id -l' can not find the iphone connect to mac via wifi

When I use Appium Inspector to connect , there is a same error.

Very much looking forward to a reply
Warning:

These issues are not tracked. Please create new issues in the main Appium
repository: https://github.com/appium/appium/issues/new

@KazuCocoa
Copy link
Member

Please report it to https://github.com/appium/appium/issues/new with full appium logs. Then, please add appium:showXcodeLog capability as well.

I guess it is xcodebuild internal to find a device. I met frequent no device found error in xcodebuild by Xcode 15 rather than Xcode 14.

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

2 participants