30 lines
1.3 KiB
TypeScript
30 lines
1.3 KiB
TypeScript
interface ProjectFile<L extends string = string> {
|
|
path: string;
|
|
language: L;
|
|
contents: string;
|
|
}
|
|
export declare type AppDelegateProjectFile = ProjectFile<'objc' | 'swift'>;
|
|
export declare function getAppDelegate(projectRoot: string): AppDelegateProjectFile;
|
|
export declare function getSourceRoot(projectRoot: string): string;
|
|
export declare function findSchemePaths(projectRoot: string): string[];
|
|
export declare function findSchemeNames(projectRoot: string): string[];
|
|
export declare function getAllXcodeProjectPaths(projectRoot: string): string[];
|
|
/**
|
|
* Get the pbxproj for the given path
|
|
*/
|
|
export declare function getXcodeProjectPath(projectRoot: string): string;
|
|
export declare function getAllPBXProjectPaths(projectRoot: string): string[];
|
|
export declare function getPBXProjectPath(projectRoot: string): string;
|
|
export declare function getAllInfoPlistPaths(projectRoot: string): string[];
|
|
export declare function getInfoPlistPath(projectRoot: string): string;
|
|
export declare function getAllEntitlementsPaths(projectRoot: string): string[];
|
|
/**
|
|
* Get the entitlements file path if it exists.
|
|
*
|
|
* @param projectRoot
|
|
*/
|
|
export declare function getEntitlementsPath(projectRoot: string): string | null;
|
|
export declare function getSupportingPath(projectRoot: string): string;
|
|
export declare function getExpoPlistPath(projectRoot: string): string;
|
|
export {};
|