From b5cf1ef51f5580f3e6d7c311a37c3d60e9d4add7 Mon Sep 17 00:00:00 2001 From: Rezisn Date: Fri, 8 May 2026 16:29:29 +0900 Subject: [PATCH 1/2] docs: update docs to include xcbeautify and git submodule --- README.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 311ece0..c19871c 100644 --- a/README.md +++ b/README.md @@ -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 @@ -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": "jpg" },"id":1}' ``` Returns a base64-encoded PNG of the current screen. From 25101e9a935dcb41a3665a9fbd99eea67b6bc045 Mon Sep 17 00:00:00 2001 From: Rezisn Date: Fri, 8 May 2026 16:35:30 +0900 Subject: [PATCH 2/2] docs: update example to use png --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index c19871c..8ef8f67 100644 --- a/README.md +++ b/README.md @@ -80,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":{ "format": "jpg" },"id":1}' + -d '{"jsonrpc":"2.0","method":"device.screenshot","params":{ "format": "png" },"id":1}' ``` Returns a base64-encoded PNG of the current screen.