Skip to main content
Glama
JXAHelpers.d.ts874 B
/** * Helper functions for JXA workspace operations */ /** * Generate JXA script to get workspace by path instead of using activeWorkspaceDocument * This allows targeting specific workspaces when multiple are open * * @param projectPath - The path to the .xcodeproj or .xcworkspace file * @returns JXA script snippet to get the workspace */ export declare function getWorkspaceByPathScript(projectPath: string): string; /** * Generate JXA script that tries to get workspace by path, falling back to active if only one is open * This provides backward compatibility for single-workspace scenarios * * @param projectPath - The path to the .xcodeproj or .xcworkspace file (optional) * @returns JXA script snippet to get the workspace */ export declare function getWorkspaceWithFallbackScript(projectPath?: string): string; //# sourceMappingURL=JXAHelpers.d.ts.map

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/lapfelix/XcodeMCP'

If you have feedback or need assistance with the MCP directory API, please join our Discord server