UNPKG

vibe-tools

Version:
46 lines (45 loc) 1.2 kB
/** * Shared utilities for Xcode commands. * Contains common functionality used across different Xcode command implementations. */ /** * Information about an Xcode project */ export interface XcodeProject { path: string; type: 'project' | 'workspace'; name: string; } /** * Represents a build error or warning from Xcode */ export interface XcodeBuildError { file?: string; line?: number; column?: number; message: string; type: 'error' | 'warning' | 'note'; } /** * Maps device types to their simulator names. * These are the latest device types available in Xcode 15. */ export declare const DEVICE_TYPES: { readonly iphone: "iPhone 15 Pro Max"; readonly ipad: "iPad Pro 13-inch (M4)"; }; /** * Default timeouts for various operations */ export declare const DEFAULT_TIMEOUTS: { SIMULATOR_BOOT: number; APP_LAUNCH: number; }; /** * Finds an Xcode project or workspace in the given directory. * Prefers workspaces over projects as they're more common in modern apps. * * @param dir - Directory to search in * @returns Project info or null if none found */ export declare function findXcodeProject(dir: string): XcodeProject | null;