@sentry/wizard
Version:
Sentry wizard helping you to configure your project
21 lines (20 loc) • 1.19 kB
TypeScript
import { Project } from 'xcode';
type BuildPhase = {
shellScript: string;
};
type BuildPhaseMap = Record<string, BuildPhase>;
export declare function getValidExistingBuildPhases(xcodeProject: any): BuildPhaseMap;
export declare class ErrorPatchSnippet {
snippet: string;
constructor(snippet: string);
}
export declare function patchBundlePhase(bundlePhase: BuildPhase | undefined, patch: (script: string) => string | ErrorPatchSnippet): Promise<void>;
export declare function findBundlePhase(buildPhases: BuildPhaseMap): BuildPhase | undefined;
export declare function doesBundlePhaseIncludeSentry(buildPhase: BuildPhase): boolean;
export declare function addSentryWithBundledScriptsToBundleShellScript(script: string): string | ErrorPatchSnippet;
export declare function addDebugFilesUploadPhaseWithBundledScripts(xcodeProject: any, { debugFilesUploadPhaseExists }: {
debugFilesUploadPhaseExists: boolean;
}): void;
export declare function findDebugFilesUploadPhase(buildPhasesMap: Record<string, BuildPhase>): [key: string, buildPhase: BuildPhase] | undefined;
export declare function writeXcodeProject(xcodeProjectPath: string, xcodeProject: Project): void;
export {};