r/iOSProgramming • u/locnguyen305 • 2d ago
App Saturday I built Rockxy, a native macOS HTTP/HTTPS debugger for iOS simulator and device traffic
Hi r/iOSProgramming, I'm Stephen, and I built Rockxy.
The problem I kept hitting was a failing request from a Mac app, a CLI, or an iPhone. I was jumping between a proxy, terminal logs, and browser DevTools just to see what actually went over the wire. I wanted one native macOS workspace where I could capture the traffic, find the request, change one thing, replay it, and diff the result.
That's what Rockxy does. It captures HTTP/HTTPS, WebSocket, GraphQL, AI model calls (SSE/NDJSON), and Web3 RPC from Mac apps, CLIs, the iOS Simulator, and physical devices. You can inspect headers and bodies, edit a request, replay it, and compare the response. Replay and diff work on HTTP today; WebSocket replay and RPC method-level filtering are coming soon.
Tech Stack
- Swift, 100% native macOS using Swift + SwiftUI + AppKit
- Security framework and macOS Keychain for the local root CA and private key
- Notarized, signed build distributed via Apple Notarized, Homebrew Cask; macOS 14+
Development Challenge
The hardest part was HTTPS interception that stays safe by default. Rockxy generates a local root CA, keeps its private key in Keychain so it never leaves the Mac, and only decrypts hosts you explicitly add to the SSL Proxying List; everything else stays encrypted. The second problem was certificate-pinned apps, which break when intercepted. I solved that by detecting the failed handshake and letting pinned traffic pass through automatically, so the app keeps working and you still see the connection.
AI Disclosure
AI-assisted: I wrote and designed a feature flow, suggest an algorithm for the app myself and used AI tools for parts of the code and documentation.
The Community source is available under AGPL-3.0:
brew install --cask rockxy
Repo: https://github.com/RockxyApp/Rockxy
Website: https://rockxy.io
I'd love feedback, and happy to answer questions.




22
u/DandyRandysMandy 2d ago
Benefits of this over Proxyman?
6
u/ThanhDongNguyen 2d ago
Nice that it's native, Proxyman is probably what most people here will compare it to.
For the simulator part, do you install the root CA automatically?
xcrun simctl keychain booted add-root-certcan do it without the user dragging the cert into Safari, and that step is where most people get stuck. Same for a real device: a small guide that points to Settings > General > About > Certificate Trust Settings would save a lot of "why is HTTPS not decrypted" issues.Also +1 to marking pinned hosts in the list, otherwise it looks like the app just missed the request.
17
u/Tex-Twil 2d ago
My eyes are bleeding AI-slop tears.
The website is a masterclass in manufactured social proof. Slap on logos from OpenAI, Anthropic, Google, Stripe and a dozen other tech companies without providing any evidence that they actually use your product.
Throw in some random Twitter reactions to promotional videos and present them as customer testimonials. Add a conveniently unverifiable "8,000+ developers trust us" metric.
And the cherry on top? An "open-source" HTTPS interception tool whose official binary isn't built from the publicly available source tree.
Maybe the actual software is decent, but this desperate attempt to manufacture credibility achieves precisely the opposite.
1
u/bramantec 2d ago
+1 to marking the pinned hosts in the list. One question from the Flutter side: Flutter apps use Dart's own HTTP client, which ignores the system proxy by default. Debuggers like this usually see nothing from them until the app is told to use the proxy. Does Rockxy have a way around that? Otherwise Flutter devs would need to set the proxy in code for debug builds.
2
u/SnooRegrets4647 2d ago
It’s too consuming?
0
u/jorshhh 2d ago
My company pays for Fiddler Everywhere for another dev and me but this seems like an amazing replacement that is not limited to just the two of us using it because of budget constraints. I will try it, thanks for making this.
0
u/SnooRegrets4647 2d ago
Does it do copy as curl? All my backend calls are plain URLSession to a REST API, so that's what I'd use most.
-1
u/dawedev 2d ago
Letting pinned traffic pass through automatically is a good default, a pinned app that just stops loading is one of the most confusing moments with any intercepting proxy. I'd still make it visible in the request list, something like a marked row saying the host was passed through because of pinning, so people don't assume capture is broken. For the simulator, do you set the proxy per simulator or rely on the Mac system proxy? That's usually where setup gets confusing when a VPN is also running.