Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,12 @@ Control any iOS device or simulator over a simple JSON-RPC API. Tap, swipe, stre
git clone https://github.com/mobile-next/devicekit-ios.git
cd devicekit-ios

# Install dependencies
brew install xcbeautify

# Fetch git submodules
git submodule update --init --recursive

# Build unsigned IPA for real devices
make ipa-unsigned

Expand All @@ -74,7 +80,7 @@ Once the server is running at `127.0.0.1:12004`, make your first call:
```bash
curl -X POST http://127.0.0.1:12004/rpc \
-H "Content-Type: application/json" \
-d '{"jsonrpc":"2.0","method":"device.screenshot","params":{},"id":1}'
-d '{"jsonrpc":"2.0","method":"device.screenshot","params":{ "format": "png" },"id":1}'
Copy link
Copy Markdown
Author

@Rezisn Rezisn May 8, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

found that current implementation of device.screenshot (here) set format as mandatory parameters.

```

Returns a base64-encoded PNG of the current screen.
Expand Down