-
-
Notifications
You must be signed in to change notification settings - Fork 2
Description
hey man first off thank you for the incredible MCP server and this template repo. the rules alone are amazing. i really appreciate the effort and attention to detail.
i hope i'm not bothering with a stupid question here but this is my first time trying to use vscode for an ios project, it could very well be user error.
i used the MCP tool to scaffold the project, it set up everything properly.
however, when i look at the files i get LSP errors in vscode.
*App.swift(app target / entrypoint)
it doesnt recognize the import of the package
ContentView.swift(package)
when using View it says its only available in macOS 10.15 or newer
similar error for Text
vscode swift extension build fails
when trying to run the build through the extension it fails with the same remarks
error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
1 | import SwiftUI
2 |
3 | public struct ContentView: View {
| `- note: add @available attribute to enclosing struct
4 | public var body: some View {
| `- note: add @available attribute to enclosing property
5 | Text("Hello, World!")
| |- error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
6 | }
7 | xcode and MCP build works fine
when opening the parent dir (containing the AppName and AppNamePackage dirs etc) it resolves the references fine.
building through xcode or using the MCP server works fine as well
Xcodebuildmcp_build_sim LinkMarks (simulatorName=iPhone 16, workspacePat...
⚠️ Warning: 2025-09-06 16:53:02.484
appintentsmetadataprocessor[45609:6569226] warning: Metadata extraction
skipped. No AppIntents.framework dependency found.
✅ iOS Simulator Build build succeeded for scheme LinkMarks.
Next Steps:
1. Get app path: get_sim_app_path({ simulatorName: 'iPhone 16', scheme:
'LinkMarks', platform: 'iOS Simulator' })
2. Get bundle ID: get_app_bundle_id({ appPath: 'PATH_FROM_STEP_1' })
3. Launch: launch_app_sim({ simulatorName: 'iPhone 16', bundleId:
'BUNDLE_ID_FROM_STEP_2' })
Or with logs: launch_app_logs_sim({ simulatorName: 'iPhone 16',
bundleId: 'BUNDLE_ID_FROM_STEP_2' })any advice on usage in vscode?