mirror of
https://github.com/home-assistant/iOS.git
synced 2026-06-24 01:03:16 -05:00
## Summary
<!-- Provide a brief summary of the changes you have made and most
importantly what they aim to achieve -->
The macOS `distribute` job started failing at the export/notarize stage.
It was **not** caused by any app code — the GitHub `macos-26` runner's
`Xcode_26.4.app` now resolves to **Xcode 26.4.1**, whose `xcodebuild
-exportArchive` rejects the legacy `developer-id` export method value:
```
error: exportArchive exportOptionsPlist error for key "method"
expected one {app-store-connect, release-testing, enterprise, debugging, validation}
but found developer-id
```
This PR gets the mac lane green again on Xcode 26.4.1:
- **Bump fastlane `2.222.0` → `2.236.1`** — its newer `gym` / Mac
Catalyst platform handling fixes the `developer-id` export rejection.
This also requires bumping `mutex_m` (`~> 0.3`) and `BUNDLED WITH`
(`2.6.9`, since fastlane now needs bundler ≥ 2.4.0; CI installs bundler
from that lockfile line).
- **Drop `verbose: true` from the macOS `notarize` call** — with
fastlane 2.236.1, `notarize` runs `notarytool submit --output-format
json --wait` and JSON-parses the captured output. `verbose: true`
appends `--verbose`, which interleaves `[timestamp] Debug …` log lines
into that output, so `JSON.parse` failed (`invalid number:
'08:48:05.798Z]'`) **even though notarization returned `Accepted`**.
notarytool already suppresses progress under `--output-format json`, so
the flag is unnecessary and the output stays clean JSON.
Verified end-to-end on a manual `Distribute` run of this branch: both
the iOS and macOS legs complete (archive → export → notarize/upload)
successfully.
## Screenshots
<!-- If this is a user-facing change not in the frontend, please include
screenshots in light and dark mode. -->
N/A — CI / build tooling only, no app or UI changes.
## Link to pull request in Documentation repository
<!-- Pull requests that add, change or remove functionality must have a
corresponding pull request in the Companion App Documentation repository
(https://github.com/home-assistant/companion.home-assistant). Please add
the number of this pull request after the "#" -->
Documentation: home-assistant/companion.home-assistant#
## Any other notes
<!-- If there is any other information of note, like if this Pull
Request is part of a bigger change, please include it here. -->
- Unrelated to #4780 (the merge the failures happened to start after);
that PR only touched `HAAPI.swift` / `MagicItem.swift`.
- Heads-up for a future change: the build log warns that fastlane is
nearing end-of-support for Ruby 3.1.2 (will require ≥ 3.3.0). Not
addressed here.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
---------
Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
12 lines
343 B
Ruby
12 lines
343 B
Ruby
source 'https://rubygems.org'
|
|
|
|
gem 'cocoapods'
|
|
gem 'cocoapods-acknowledgements'
|
|
gem 'fastlane', '2.236.1'
|
|
gem 'rubocop', require: false
|
|
|
|
plugins_path = File.join(File.dirname(__FILE__), 'fastlane', 'Pluginfile')
|
|
# rubocop:disable Security/Eval
|
|
eval(File.read(plugins_path), binding) if File.exist?(plugins_path)
|
|
# rubocop:enable Security/Eval
|