This repository has been archived on 2022-03-12. You can view files and clone it, but cannot push or open issues or pull requests.

30 lines
1.3 KiB
TypeScript
Raw Normal View History

2021-04-02 02:24:13 +03:00
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 {};