Mockpod is a powerful network interception and mocking tool designed for macOS users.
Built for Developer, QA and Security Researcher
A powerful network interception and mocking tool for macOS users.
Mockpod is a local proxy server that lets you inspect, modify, and mock HTTP/HTTPS traffic in real-time. It's ideal for testing edge cases, simulating backend failures, and developing frontend applications without a fully functional backend API.
brew install --cask sinanerdinc/tap/mockpodNote: To update Mockpod to the newest version in the future, simply run:
brew update && brew upgrade --cask mockpodIf you prefer not to use Homebrew, you can manually download the latest .dmg file:
📥 Download the latest release from GitHub
Since Mockpod is an open-source tool distributed outside the Mac App Store, macOS Gatekeeper may quarantine it upon the first launch. If the app fails to open or macOS displays a warning, simply run the following command in your Terminal to remove the quarantine flag:
xattr -cr /Applications/Mockpod.appAfter running the command, right-click the Mockpod app and select Open. macOS will remember your choice, and you can launch it normally from then on.
This project uses xcodegen to generate the Xcode project file dynamically. This keeps the repository clean and avoids .xcodeproj merge conflicts.
- macOS 14.0 (Sonoma) or later
- Xcode 16.0 or later
- Swift 5.10 or later
-
Clone the repository
git clone https://github.com/sinanerdinc/mockpod.git cd mockpod -
Install XcodeGen (If you don't have it)
brew install xcodegen
-
Generate the Xcode project and open it
xcodegen open Mockpod.xcodeproj
💡 Tip for Contributors: When building locally, you may need to go to your target's Signing & Capabilities tab in Xcode and select your personal Apple ID team to successfully compile the app.
- Launch Mockpod – Open the application.
- Configure proxy settings – Point your system or browser proxy to the local server (default port is usually
8080). - Create a Rule Set – Define how specific requests should be intercepted and mocked.
- Start the proxy – Begin intercepting traffic.
- Pin important requests – Right-click any traffic entry and select Pin to keep it at the top of the list. Pinned entries are preserved when clearing traffic.
We welcome contributions! Here's the standard workflow:
- Fork the repository.
- Create a new branch:
git checkout -b feature/my-awesome-feature - Commit your changes:
git commit -m 'Add some awesome feature' - Push to the branch:
git push origin feature/my-awesome-feature - Open a Pull Request.
Please remember to run xcodegen and verify the project builds successfully locally before submitting a PR.
This project is licensed under the MIT License. See the LICENSE file for details.
