Update AGENTS.md to mention both CocoaPods and SPM for dependency management#4635
Merged
Merged
Conversation
…s and SPM Agent-Logs-Url: https://github.com/home-assistant/iOS/sessions/756ac830-9f71-497f-be02-9e93d520ef0b Co-authored-by: bgoncal <5808343+bgoncal@users.noreply.github.com>
Copilot created this pull request from a session on behalf of
bgoncal
May 13, 2026 12:30
View session
Contributor
There was a problem hiding this comment.
Pull request overview
Updates contributor/agent documentation to reflect that the project uses both CocoaPods and Swift Package Manager for dependency management (CocoaPods for most dependencies, SPM for select packages), aligning written guidance with the repo’s current setup.
Changes:
- Update
AGENTS.mdto state that both CocoaPods and SPM are used, including examples of SPM-managed packages. - Update
.github/copilot-instructions.mdto remove the “CocoaPods only” guidance and describe the mixed dependency approach.
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| AGENTS.md | Updates project overview and dependency guidance to mention CocoaPods + SPM and list example SPM packages. |
| .github/copilot-instructions.md | Updates Copilot guidance to reflect mixed CocoaPods/SPM dependency management. |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #4635 +/- ##
=======================================
Coverage ? 43.98%
=======================================
Files ? 280
Lines ? 17009
Branches ? 0
=======================================
Hits ? 7481
Misses ? 9528
Partials ? 0 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
The project now uses both CocoaPods and Swift Package Manager, but documentation incorrectly stated "CocoaPods only" and "Never add Swift Package Manager dependencies." Updated both
AGENTS.mdand.github/copilot-instructions.mdto reflect reality.SPM packages currently in use: swift-snapshot-testing, WebRTC, ZIPFoundation, firebase-ios-sdk.
Screenshots
N/A — documentation only.
Link to pull request in Documentation repository
Documentation: home-assistant/companion.home-assistant#
Any other notes
Also updated
.github/copilot-instructions.mdwhich contained the same outdated "CocoaPods only" guidance.