UNPKG

@sentry/wizard

Version:

Sentry wizard helping you to configure your project

25 lines (24 loc) 911 B
import type { SentryProjectData } from '../utils/types'; import { type PBXGroup, type PBXObjects, type Project } from 'xcode'; interface ProjectFile { key: string; path: string; } export declare class XcodeProject { projectPath: string; project: Project; objects: PBXObjects; files: ProjectFile[] | undefined; /** * Creates a new XcodeProject instance, a wrapper around the Xcode project file `<PROJECT>.xcodeproj/project.pbxproj`. * * @param projectPath - The path to the Xcode project file */ constructor(projectPath: string); getAllTargets(): string[]; updateXcodeProject(sentryProject: SentryProjectData, target: string, addSPMReference: boolean, uploadSource?: boolean): void; filesForTarget(target: string): string[] | undefined; projectFiles(): ProjectFile[]; buildGroup(group: PBXGroup, path?: string): ProjectFile[]; } export {};