Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/copilot-instructions.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ bundle exec fastlane test
1. **Dependency Injection**: This project uses the "World" pattern. A global `Current` variable (`AppEnvironment`) holds all dependencies. Never assign to `Current.*` outside test code.
2. **Localization**: Add strings to `Sources/App/Resources/en.lproj/Localizable.strings`. SwiftGen generates type-safe `L10n` accessors on build.
3. **SF Symbols**: Use `SFSafeSymbols` (`Image(systemSymbol: .house)`) not string-based APIs.
4. **CocoaPods only**: No Swift Package Manager. Dependencies via `Podfile`.
4. **CocoaPods and SPM**: Dependencies are managed via the `Podfile` (CocoaPods) and Xcode's Swift Package Manager integration for select packages.
5. **Workspace**: Always use `HomeAssistant.xcworkspace`.

### Architecture
Expand Down
4 changes: 2 additions & 2 deletions AGENTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ Home Assistant for Apple Platforms is a native Swift companion app for [Home Ass

- **Language**: Swift 5.8+
- **Platforms**: iOS, watchOS, macOS (Catalyst), CarPlay
- **Build System**: Xcode 26.2+, CocoaPods
- **Build System**: Xcode 26.2+, CocoaPods, Swift Package Manager
- **Workspace**: Always open `HomeAssistant.xcworkspace` (not the `.xcodeproj`)

## Getting Started
Expand All @@ -20,7 +20,7 @@ bundle install
bundle exec pod install --repo-update
```

> CocoaPods manages all third-party dependencies. Never add Swift Package Manager dependencies.
> CocoaPods and Swift Package Manager (SPM) manage third-party dependencies. CocoaPods is used for most dependencies, while SPM is used for select packages (e.g., swift-snapshot-testing, WebRTC, ZIPFoundation, firebase-ios-sdk).

### Code Signing (for device builds)

Expand Down
Loading