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

TCP tunnel not working for iOS devices #570

Closed
premun opened this issue Apr 28, 2021 · 0 comments · Fixed by #573
Closed

TCP tunnel not working for iOS devices #570

premun opened this issue Apr 28, 2021 · 0 comments · Fixed by #573
Assignees
Labels
apple iOS/tvOS/WatchOS/Mac Catalyst area critical device Related to a real HW device

Comments

@premun
Copy link
Member

premun commented Apr 28, 2021

mlaunch is failing to open the TCP tunnel for iPhone devices with iOS. Worked in iOS 13.6.1, doesn't work in iOS 14.4.2:

mlaunch --sdkroot /Applications/Xcode_12.4.0.app --tcp-tunnel=53002:53002 --devname 00008030-000A08D234DA802E -v -v -v -v -v

returns

Failed to connect to port 53002 (2767) on device (error: 61)

which can be found here (RealDevice.cs).

The comment says that the port failed to open on the device.

@premun premun added apple iOS/tvOS/WatchOS/Mac Catalyst area critical labels Apr 28, 2021
@premun premun self-assigned this Apr 28, 2021
@premun premun changed the title TCP tunnel not working for iOS (14?) devices TCP tunnel not working for iOS devices Apr 28, 2021
@premun premun mentioned this issue Apr 28, 2021
premun added a commit that referenced this issue Apr 29, 2021
- The port wasn't opened on the device so the tunnel was never connected properly
- Fixing multiple timestamps in logs (cascades of callback/aggregated logs)
- Fixing how we log details when waiting for connections

Resolves #570

Testing showed that mlaunch doesn't quit when app is finished though (#574)
@premun premun added the device Related to a real HW device label Jun 30, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
apple iOS/tvOS/WatchOS/Mac Catalyst area critical device Related to a real HW device
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant