MCPcopy Create free account
hub / github.com/expo/expo / generateProjectFromSpec

Method generateProjectFromSpec

tools/src/prebuilds/XcodeProject.ts:38–41  ·  view source on GitHub ↗

* Generates `.xcodeproj` file based on given spec and returns it.

(dir: string, spec: ProjectSpec)

Source from the content-addressed store, hash-verified

36 * Generates `.xcodeproj` file based on given spec and returns it.
37 */
38 static async generateProjectFromSpec(dir: string, spec: ProjectSpec): Promise<XcodeProject> {
39 const xcodeprojPath = await generateXcodeProjectAsync(dir, spec);
40 return new XcodeProject(xcodeprojPath);
41 }
42
43 /**
44 * Name of the project. It should stay in sync with its filename.

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected