Skip to content

Commit 97e023e

Browse files
committed
Update diagnostic tool instructions
1 parent bd66e3d commit 97e023e

2 files changed

Lines changed: 3 additions & 13 deletions

File tree

README.md

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,6 @@ A Model Context Protocol (MCP) server that provides Xcode-related tools for inte
2727
- [Code Signing for Device Deployment](#code-signing-for-device-deployment)
2828
- [Troubleshooting](#troubleshooting)
2929
- [Diagnostic Tool](#diagnostic-tool)
30-
- [Using with npx](#using-with-npx)
31-
- [Using with mise](#using-with-mise)
3230
- [MCP Server Logs](#mcp-server-logs)
3331
- [Privacy](#privacy)
3432
- [What is sent to Sentry?](#what-is-sent-to-sentry)
@@ -223,18 +221,9 @@ If you encounter issues with XcodeBuildMCP, the diagnostic tool can help identif
223221

224222
The diagnostic tool is a standalone utility that checks your system configuration and reports on the status of all dependencies required by XcodeBuildMCP. It's particularly useful when reporting issues.
225223

226-
#### Using with npx
227-
228224
```bash
229225
# Run the diagnostic tool using npx
230-
npx xcodebuildmcp@1.10.1 xcodebuildmcp-diagnostic
231-
```
232-
233-
#### Using with mise
234-
235-
```bash
236-
# Run the diagnostic tool using mise
237-
mise x npm:xcodebuildmcp@1.10.1 -- xcodebuildmcp-diagnostic
226+
npx --package xcodebuildmcp@latest xcodebuildmcp-diagnostic
238227
```
239228

240229
The diagnostic tool will output comprehensive information about:

src/diagnostic-cli.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,8 @@ async function runDiagnostic(): Promise<void> {
2727
if (result.content && result.content.length > 0) {
2828
const textContent = result.content.find((item: { type: string }) => item.type === 'text');
2929
if (textContent && 'text' in textContent) {
30-
console.error(textContent.text);
30+
// eslint-disable-next-line no-console
31+
console.log(textContent.text);
3132
} else {
3233
console.error('Error: Unexpected diagnostic result format');
3334
}

0 commit comments

Comments
 (0)