Zyohra AI
A VS Code/Cursor extension that automatically captures Xcode build errors from diagnostic reports and prompts Cursor AI to fix them.
About Zyohra
Zyohra builds AI-powered developer tools that bring intelligence to the build and debugging process.
Founded by Saibernard Yogendran, Zyohra creates products that help Xcode and VS Code developers analyze build diagnostics, automate error correction, and streamline workflows with AI integration.
Features
- ✅ Thorough Error Detection - Checks all error locations in Xcode diagnostic reports
- ✅ Automatic Error Extraction - Parses Diagnostics.json from .xcresult bundles
- ✅ Multiple Error Types - Captures errors, warnings, remarks, and notes
- ✅ Auto-Fix Integration - Automatically prompts Cursor AI to fix errors
- ✅ Works in Any Project - Auto-detects Xcode projects and schemes
- ✅ One-Click Operation - Run from command palette
Quick Start
- Install the extension from the VS Code/Cursor marketplace
- Open your Xcode project in VS Code/Cursor
- Run the command:
Zyohra Build (Cmd+Shift+P / Ctrl+Shift+P)
- View results - Errors are automatically extracted and Cursor AI is prompted to fix them
Usage
Command Palette
- Press
Cmd+Shift+P (Mac) or Ctrl+Shift+P (Windows/Linux)
- Type
Zyohra Build
- Press Enter
The extension will:
- Auto-detect your Xcode project/workspace
- Auto-detect your scheme
- Build the project with diagnostic reports
- Extract all errors from Diagnostics.json
- Create error summaries in
.ios-runtime-logs/
- Prompt Cursor AI to fix errors automatically
⏳ Important: After running the command, please wait for the auto-fix loop to complete. Cursor AI will automatically:
- Read the error files
- Analyze all errors
- Fix the code in your source files
- Update the files automatically
This process may take a few moments. You'll see the fixes appear in your code files once Cursor AI completes the analysis and fixes.
Error Detection
The extension performs a thorough check of all error types:
.issues.errors[] - Standard compilation errors
.errors[] - Top-level errors (alternative structure)
.issues.warnings[] - Warnings
.issues.remarks[] - Remarks (if present)
.issues.notes[] - Notes (if present)
- Structure analysis - Discovers all issue types in the diagnostic report
Output Files
All files are created in .ios-runtime-logs/:
diagnostic_errors_summary.txt - Quick error overview
diagnostic_errors_detailed.txt - Detailed error information with all fields
.cursor_auto_fix.md - Instructions for Cursor AI
DiagnosticResults.xcresult - Xcode diagnostic bundle
Requirements
- macOS (for Xcode)
- Xcode installed
- Xcode project or workspace
jq or python3 installed (for JSON parsing)
- Cursor IDE (for auto-fix feature)
Installation
Install jq (recommended)
brew install jq
Install Extension
- Open VS Code/Cursor
- Go to Extensions (Cmd+Shift+X / Ctrl+Shift+X)
- Search for "Zyohra AI"
- Click Install
How It Works
- Build Detection: Automatically finds
.xcodeproj or .xcworkspace in your workspace
- Scheme Detection: Auto-detects the first available scheme
- Diagnostic Build: Runs
xcodebuild with -resultBundlePath to generate diagnostic reports
- Error Extraction: Parses
Diagnostics.json from the .xcresult bundle
- Thorough Analysis: Checks all possible error locations and types
- Auto-Fix Trigger: Creates
.cursor_auto_fix.md and prompts Cursor AI
Extension Settings
This extension contributes the following command:
Zyohra Build - Capture Xcode diagnostic errors and prompt Cursor AI to fix them
Known Issues
- Requires macOS (Xcode is macOS-only)
- Requires Accessibility permissions for automatic Cursor AI prompting (optional)
Release Notes
1.0.0
Initial release:
- Automatic Xcode diagnostic error capture
- Thorough error detection from all locations
- Cursor AI auto-fix integration
- One-click operation from command palette
License
MIT