Skip to content

Self-hosted, Self-Improving, Federated Everything App — dev management, agent orchestration, persistent mind, digital twin, second brain, and creative pipeline from a single dashboard over Tailscale to port the user into the OS

fix: restore XcodeGen scaffold command dependency

[._.]/ Adam Eivyfcc89a7eb995
diff --git a/server/routes/scaffoldIOS.js b/server/routes/scaffoldIOS.js
index f3244b6345..281392c552 100644
--- a/server/routes/scaffoldIOS.js
+++ b/server/routes/scaffoldIOS.js
@@ -1,11 +1,15 @@
import { chmod, writeFile } from 'fs/promises';
import { join } from 'path';
+import { promisify } from 'util';
+import { exec } from '../lib/childProcess.js';
import { ensureDir, ensureDirs } from '../lib/fileUtils.js';
import {
XCODE_TEAM_ID, XCODE_BUNDLE_PREFIX, XCODE_ENV_EXAMPLE,
generateDeployScript, toBundleId, toTargetName,
} from '../services/xcodeScripts.js';
+const execAsync = promisify(exec);
+
export async function scaffoldIOS(repoPath, name, dirName, addStep) {
const bundleId = toBundleId(name);
const teamId = XCODE_TEAM_ID;