/** * Detect what kind of iOS project lives in a directory and resolve the * workspace/project xcodebuild should be pointed at. * * Detection order (first match wins): * 1. flutter — pubspec.yaml + ios/ * 2. react-native — package.json with a react-native dep + ios/*.xcworkspace * 3. kmp — iosApp/*.xcodeproj (Kotlin Multiplatform layout) * 4. xcode — *.xcworkspace (preferred) or *.xcodeproj in the dir itself */ export type ProjectKind = "flutter" | "react-native" | "kmp" | "xcode"; export interface ProjectInfo { kind: ProjectKind; /** Absolute path to *.xcworkspace, when one exists (takes priority). */ workspacePath?: string; /** Absolute path to *.xcodeproj, when no workspace is available. */ projectPath?: string; /** Directory xcodebuild/flutter should run relative to. */ buildDir: string; } export declare function detectIosProject(dir: string): Promise; /** `-workspace ` or `-project ` argv slice for xcodebuild. */ export declare function xcodeTargetArgs(info: ProjectInfo): string[]; export declare function listSchemes(info: ProjectInfo): Promise; /** * Pick the scheme to archive: exact "Release" > "-Release" suffix > first * scheme that is neither a test nor a debug scheme > first scheme. */ export declare function pickReleaseScheme(schemes: string[]): string; //# sourceMappingURL=project-detector.d.ts.map