Rewrites the builder console to browse local Xcode projects instead of accepting source uploads or git URLs. Replaces the devices page with a profiles page that manages ad-hoc provisioning profiles and lists registered bundle IDs per team. Adds multi-account support: ASC API keys are now stored in an asc_keys table keyed by team_id (team_name, key_id, issuer_id, p8_filename). At build time, the worker reads DEVELOPMENT_TEAM from the Xcode project and auto-picks the matching key for fastlane sigh + JWT signing. Legacy single-key settings auto-migrate on first boot. Fixes storefront IPA parser to handle binary plists produced by Xcode. Drops the enrollment bridge, device management routes, and direct ASC API client -- fastlane sigh handles profile lifecycle now. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
54 lines
1.5 KiB
HTML
54 lines
1.5 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
<title>New Build - Builder</title>
|
|
<link rel="stylesheet" href="/css/style.css">
|
|
</head>
|
|
<body>
|
|
<header>
|
|
<div class="header-left"><h1>Builder</h1></div>
|
|
<nav>
|
|
<a href="/">Builds</a>
|
|
<a href="/build" class="active">New Build</a>
|
|
<a href="/profiles">Profiles</a>
|
|
<a href="/settings">Settings</a>
|
|
<a href="/logout" class="logout">Logout</a>
|
|
</nav>
|
|
</header>
|
|
|
|
<main>
|
|
<h1 class="page-title">New Build</h1>
|
|
|
|
<div class="section">
|
|
<h2>Select Xcode Project</h2>
|
|
<div class="card">
|
|
<div id="path-bar" class="path-bar"></div>
|
|
<div id="file-list" class="file-list">
|
|
<p style="color:var(--text-muted)">Loading...</p>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="project-config" class="section" style="display:none">
|
|
<h2>Build Configuration</h2>
|
|
<div class="card">
|
|
<p id="selected-project" class="mono" style="font-size:13px;color:var(--text-muted);margin-bottom:12px"></p>
|
|
<label>Scheme</label>
|
|
<select id="scheme-select" disabled>
|
|
<option>Select a project first</option>
|
|
</select>
|
|
<div class="btn-row">
|
|
<button id="build-btn" type="button" disabled>Build</button>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="toast" class="toast"></div>
|
|
</main>
|
|
|
|
<script src="/js/build.js"></script>
|
|
</body>
|
|
</html>
|