Skip to content

Add DebugSwift via SwiftPM#4633

Merged
bgoncal merged 2 commits into
home-assistant:mainfrom
bgoncal:codex/debugswift-spm
May 13, 2026
Merged

Add DebugSwift via SwiftPM#4633
bgoncal merged 2 commits into
home-assistant:mainfrom
bgoncal:codex/debugswift-spm

Conversation

@bgoncal
Copy link
Copy Markdown
Member

@bgoncal bgoncal commented May 13, 2026

Summary

  • Add DebugSwift as a Swift Package dependency pinned through Package.resolved at 1.15.0
  • Link the DebugSwift product to the App target
  • Initialize DebugSwift during app launch for Debug builds only

@bgoncal bgoncal marked this pull request as ready for review May 13, 2026 12:13
Copilot AI review requested due to automatic review settings May 13, 2026 12:14
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

This PR adds the DebugSwift debug tooling library to the iOS app and wires it into AppDelegate so it initializes on launch in Debug builds.

Changes:

  • Added DebugSwift as an Xcode SwiftPM dependency and linked its product to the App target.
  • Added #if DEBUG initialization code in AppDelegate to set up and show DebugSwift on launch.
  • Updated Package.resolved to include DebugSwift 1.15.0.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 4 comments.

File Description
Sources/App/AppDelegate.swift Imports DebugSwift in Debug builds and initializes/displays it during app launch.
HomeAssistant.xcworkspace/xcshareddata/swiftpm/Package.resolved Adds the DebugSwift pin (1.15.0) to SwiftPM resolution.
HomeAssistant.xcodeproj/project.pbxproj Adds the SwiftPM package reference and links the DebugSwift product to the App target.

Comment thread HomeAssistant.xcodeproj/project.pbxproj
Comment thread HomeAssistant.xcodeproj/project.pbxproj
Comment thread HomeAssistant.xcworkspace/xcshareddata/swiftpm/Package.resolved
Comment thread HomeAssistant.xcodeproj/project.pbxproj
@bgoncal bgoncal merged commit 54670a1 into home-assistant:main May 13, 2026
6 checks passed
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