xc-mcp
Version:
MCP server that wraps Xcode command-line tools for iOS/macOS development workflows
24 lines • 676 B
TypeScript
/**
* Device information from parsing simctl output
*/
interface BootedDevice {
name: string;
udid: string;
}
/**
* Get the currently booted iOS simulator
*
* @returns Device info with name and UDID
* @throws Error if no booted simulator is found
*/
export declare function getBootedDevice(): Promise<BootedDevice>;
/**
* Resolve a device UDID, using auto-detection if not provided
*
* @param udid - Optional UDID to use directly
* @returns The resolved UDID
* @throws McpError if UDID is empty or if auto-detection fails
*/
export declare function resolveDeviceId(udid?: string): Promise<string>;
export {};
//# sourceMappingURL=device-detection.d.ts.map