Skip to content

Commit c38c36d

Browse files
committed
Improve build error/warning reporting getsentry#2
1 parent 73cdc31 commit c38c36d

File tree

12 files changed

+107
-917
lines changed

12 files changed

+107
-917
lines changed
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
---
2+
description:
3+
globs:
4+
alwaysApply: true
5+
---
6+
Please don't fix any code errors unless reported by XcodeBuildMCP server tool responses.

example_projects/iOS/MCPTest.xcodeproj/project.pbxproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -396,7 +396,7 @@
396396
CODE_SIGN_STYLE = Automatic;
397397
CURRENT_PROJECT_VERSION = 1;
398398
DEVELOPMENT_ASSET_PATHS = "\"MCPTest/Preview Content\"";
399-
DEVELOPMENT_TEAM = "";
399+
DEVELOPMENT_TEAM = BR6WD3M6ZD;
400400
ENABLE_PREVIEWS = YES;
401401
GENERATE_INFOPLIST_FILE = YES;
402402
INFOPLIST_KEY_UIApplicationSceneManifest_Generation = YES;
@@ -425,7 +425,7 @@
425425
CODE_SIGN_STYLE = Automatic;
426426
CURRENT_PROJECT_VERSION = 1;
427427
DEVELOPMENT_ASSET_PATHS = "\"MCPTest/Preview Content\"";
428-
DEVELOPMENT_TEAM = "";
428+
DEVELOPMENT_TEAM = BR6WD3M6ZD;
429429
ENABLE_PREVIEWS = YES;
430430
GENERATE_INFOPLIST_FILE = YES;
431431
INFOPLIST_KEY_UIApplicationSceneManifest_Generation = YES;

example_projects/iOS/MCPTest/ContentView.swift

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ import SwiftUI
99
import OSLog
1010

1111
struct ContentView: View {
12+
let x: Bool = true
13+
1214
var body: some View {
1315
VStack {
1416
Image(systemName: "globe")
@@ -22,7 +24,6 @@ struct ContentView: View {
2224
}
2325
}
2426
.padding()
25-
2627
}
2728
}
2829

@@ -37,4 +38,4 @@ extension Logger {
3738
category: "default"
3839
)
3940
}
40-
41+

package-lock.json

Lines changed: 14 additions & 139 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,9 +38,7 @@
3838
"url": "https://github.com/cameroncooke/XcodeBuildMCP/issues"
3939
},
4040
"dependencies": {
41-
"@expo/xcpretty": "^4.3.2",
4241
"@modelcontextprotocol/sdk": "^1.6.1",
43-
"@types/uuid": "^10.0.0",
4442
"uuid": "^11.1.0",
4543
"zod": "^3.24.2"
4644
},

src/server/server.ts

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,15 +8,13 @@
88
* Responsibilities:
99
* - Creating and configuring the MCP server instance
1010
* - Setting up server capabilities and options
11-
* - Initializing progress reporting services
1211
* - Managing server lifecycle (start/stop)
1312
* - Handling transport configuration (stdio)
1413
*/
1514

1615
import { McpServer } from '@modelcontextprotocol/sdk/server/mcp.js';
1716
import { StdioServerTransport } from '@modelcontextprotocol/sdk/server/stdio.js';
1817
import { log } from '../utils/logger.js';
19-
import { initProgressService } from '../utils/progress.js';
2018
import { version } from '../version.js';
2119

2220
/**
@@ -43,9 +41,6 @@ export function createServer(): McpServer {
4341
// Log server initialization
4442
log('info', `Server initialized (version ${version})`);
4543

46-
// Initialize the progress service with the server instance
47-
initProgressService(server);
48-
4944
return server;
5045
}
5146

0 commit comments

Comments
 (0)