r/iOSProgramming • u/locnguyen305 • 21h 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.