ProxymanApp / Proxyman

Modern. Native. Delightful Web Debugging Proxy for macOS, iOS, and Android ⚡️
https://proxyman.io
5.35k stars 177 forks source link

Unable to capture logs of specific Xamarin iOS App on device or in the Simulator. #1935

Closed clawesome closed 4 months ago

clawesome commented 4 months ago

I'm debugging a Xamarin iOS app and the traffic for a specific project won't show up at all in the Proxyman traffic logs on the desktop app with the iOS Simulator nor will it show up in the mobile app on my device. I'm capturing traffic from other Xamarin apps without issue on both the desktop and mobile app. Is there potentially something in the app's configuration that would prevent it the traffic from showing up in the Proxyman logs?

NghiaTranUIT commented 4 months ago

@clawesome by default, Xamarin iOS doesn't respect the system proxy on your Simulator, so Proxyman can't capture traffic.

You need to find a solution to manually set the proxy to Proxyman in your source code. Here is what we can found: https://github.com/xamarin/xamarin-macios/issues/18635

For the IP and port, you can find it in the Status Bar.

Screenshot 2024-02-15 at 11 39 24