Skip to content

Remove dead HomeAssistantLogoView.xib#4576

Merged
bgoncal merged 1 commit into
mainfrom
claude/drop-dead-logo-xib
Apr 29, 2026
Merged

Remove dead HomeAssistantLogoView.xib#4576
bgoncal merged 1 commit into
mainfrom
claude/drop-dead-logo-xib

Conversation

@bgoncal
Copy link
Copy Markdown
Member

@bgoncal bgoncal commented Apr 28, 2026

Summary

Sources/App/Settings/HomeAssistantLogoView.xib is dead — the XIB declares a custom view class HomeAssistantLogoView from the HomeAssistant module, but:

  • No HomeAssistantLogoView.swift exists anywhere in the project
  • Nothing loads the nib (no UINib(nibName: "HomeAssistantLogoView", no Bundle.loadNibNamed("HomeAssistantLogoView")
  • The only references to the name are the XIB file itself and its project.pbxproj entries

Removes the XIB and its 4 project.pbxproj references.

Test plan

  • Build still succeeds
  • No visual regressions in Settings (screen never rendered this XIB anyway)

🤖 Generated with Claude Code

The XIB declares a custom view class `HomeAssistantLogoView` from the
HomeAssistant module, but no Swift file with that class name exists
and nothing loads the nib (no `UINib(nibName:)` or
`Bundle.loadNibNamed` call references it). Pure dead resource.

Co-Authored-By: Claude <noreply@anthropic.com>
Copilot AI review requested due to automatic review settings April 28, 2026 23:43
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Removes an unused/dead Settings XIB (HomeAssistantLogoView.xib) and its associated Xcode project references, reducing stale resources in the iOS app target.

Changes:

  • Delete Sources/App/Settings/HomeAssistantLogoView.xib.
  • Remove the corresponding PBXBuildFile / PBXFileReference / group entry / Resources build phase entries from project.pbxproj.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
Sources/App/Settings/HomeAssistantLogoView.xib Deleted unused XIB resource that had no code/class/runtime references.
HomeAssistant.xcodeproj/project.pbxproj Removed all project/resource build phase references to the deleted XIB.

@bgoncal bgoncal enabled auto-merge (squash) April 28, 2026 23:46
@bgoncal bgoncal merged commit 3c2278d into main Apr 29, 2026
16 checks passed
@bgoncal bgoncal deleted the claude/drop-dead-logo-xib branch April 29, 2026 00:08
@codecov
Copy link
Copy Markdown

codecov Bot commented Apr 29, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
⚠️ Please upload report for BASE (main@aa962d0). Learn more about missing BASE report.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #4576   +/-   ##
=======================================
  Coverage        ?   43.24%           
=======================================
  Files           ?      275           
  Lines           ?    16700           
  Branches        ?        0           
=======================================
  Hits            ?     7222           
  Misses          ?     9478           
  Partials        ?        0           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

bgoncal added a commit that referenced this pull request Apr 29, 2026
## Summary

Four pieces of dead code with zero inbound references in `Sources/` or
`Tests/`. Verified by `git grep` against `origin/main` after PRs
#4561#4564 + #4576 landed.

| Item | Lines | Status |
|---|---|---|
| `Sources/App/Utilities/ScaledFont.swift` | 115 | Third-party Keith
Harrison dynamic-type utility, never referenced |
| `Sources/App/Utilities/VoiceShortcutsManager.swift` | 35 | `public
class` wrapping `INVoiceShortcut` lookup, never instantiated |
| `Sources/App/Utilities/InputAccessoryView.swift` | 37 | Custom
`UIView` subclass, never instantiated, no XIB/storyboard `customClass`
reference |
| `EntitiesStateSubscription` protocol in
`Sources/App/Scenes/CarPlaySceneDelegate.swift` | 5 | Declares
`subscribe()`/`unsubscribe()` with no conformers and no callers |

**204 lines deleted across 5 files** (3 source deletions, 1 partial
edit, 1 `project.pbxproj` cleanup). No behavior change.

## Verification

- `git grep` for each type name across `Sources/` and `Tests/` returns
only the file itself + the `project.pbxproj` entry.
- Searched for indirect references: XIB `customClass="X"`,
`NSStringFromClass`, `@objc` selectors, string-based UIKit nib loaders.
None found.
- `plutil -lint` confirms `project.pbxproj` parses.
- `swiftformat` + `rubocop -a` produce zero changes.

## Test plan

- [ ] CI build + tests pass

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-authored-by: Claude <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants