Files
Gabriel Donadel Dall'Agnol f670bc132a [cli][menu-bar] Add iOS re-signing with a free Apple ID (#377)
* [cli][menu-bar] Add iOS re-signing with a free Apple ID

Re-sign an installed build that fails code-signing so it runs on a personal
device, using a free Apple ID. When an install fails with
APPLE_APP_VERIFICATION_FAILED, Orbit offers to re-sign and install.

- CLI: `resign-ipa` and `apple-id-auth` (sign-in / verify-2fa with SMS
  fallback / sign-out) commands, driven by ipa-resign.
- Menu-bar: the resign offer + determinate progress in the popover, an Apple
  ID sign-in window (6-digit 2FA input, resend, SMS fallback), error-copy
  mapping, first-install "Untrusted Developer" trust instructions, and an
  Apple ID section in Settings (signed-in state + sign out).
- Session expiry is treated as an automatic logout: the stored Apple ID is
  forgotten and every "signed in as" surface updates, with one-tap re-auth.
- Electron/macOS wiring for the ipa-resign native anisette + zsign helpers,
  transient-env-var plumbing to pass the password to the CLI, and the
  APPLE_APP_VERIFICATION_FAILED mapping that triggers the offer.

[email protected].

* [menu-bar] Fix Electron CI: ensure extraResource dirs exist; drop useless return

- forge.config: create ./bin and ./anisette in the generateAssets hook so
  packaging (and Electron E2E, which runs 'yarn package' without
  'build:helpers') does not fail with ENOENT on the missing extraResource
  dirs. build:helpers still populates them for real builds.
- build-helpers: remove a no-useless-return that failed eslint --max-warnings 0.

* Bump ipa-resign to 0.0.13

* Fix CLI error handling

* Update AppleID auth UI

* Fix Apple ID persistance

* Fix Apple connection lost

* Fix opening settings menu

* Support paid developer accounts in resign copy and show the install step

* Detect builds that need resigning before attempting the install

* Add changelog entry
2026-10-08 20:29:13 +02:00
..
2023-05-25 15:07:30 -03:00