@capgo/cli
Version:
A CLI to upload to capgo servers
23 lines (22 loc) • 792 B
TypeScript
export interface PbxTarget {
name: string;
bundleId: string;
productType: string;
}
/**
* Parse a pbxproj file's content and return all signable native targets
* with their resolved bundle identifiers.
*/
export declare function findSignableTargets(pbxprojContent: string): PbxTarget[];
/**
* Search for an Xcode project.pbxproj file in standard locations:
* <searchDir>/ios/*.xcodeproj/project.pbxproj
* <searchDir>/*.xcodeproj/project.pbxproj
* Returns the first found path, or null.
*/
export declare function findXcodeProject(searchDir: string): string | null;
/**
* Convenience: find the Xcode project in projectDir and read its pbxproj content.
* Returns null if no project is found.
*/
export declare function readPbxproj(projectDir: string): string | null;