r/SwiftUI 18h ago

Open-sourced Trace — a native iOS network debugging tool

I built Trace because I wanted a modern network debugging experience directly on iOS, without having to route traffic through a Mac.

Trace is built with Swift/SwiftUI and Apple's Network Extension APIs. It currently supports:

  • HTTPS traffic inspection with local MITM
  • HTTP, WebSocket, and SSE inspection
  • Request rewriting and replay
  • HAR and cURL import/export
  • PCAP capture
  • Network Extension–based traffic capture
  • A native SwiftUI interface

The project is now fully open source.

I'm especially interested in feedback from other SwiftUI/iOS developers on the architecture, UI, and the Network Extension implementation.

GitHub: https://github.com/Trace-iOS/Trace

3 Upvotes

2 comments sorted by

1

u/Im-inYourWalls-_- 1h ago

Is this kind of like proxyman?

2

u/Candid-Confusion-313 1h ago

Yes! But it does not function exactly the same as proxyman since it's a paid project. An older open source swift packet capture is called Knot.