Skip to content

Support universal builds#34

Merged
CraigSiemens merged 2 commits into
mainfrom
update-dependencies
Sep 21, 2025
Merged

Support universal builds#34
CraigSiemens merged 2 commits into
mainfrom
update-dependencies

Conversation

@CraigSiemens
Copy link
Copy Markdown
Owner

No description provided.

Copy link
Copy Markdown

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 refactors the Xcode version management system to support universal builds by restructuring the API models and filtering releases based on architecture compatibility.

Key changes:

  • Restructured API response models to include architecture information
  • Added architecture detection and filtering for download compatibility
  • Added a prefer-universal flag to prioritize universal builds

Reviewed Changes

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

Show a summary per file
File Description
Sources/XcodeVersionManager/Models/XcodeReleasesAPI.swift New API client with enhanced response models including architecture support
Sources/XcodeVersionManager/Models/XcodeReleases.swift Removed old API implementation
Sources/XcodeVersionManager/Models/XcodeRelease.swift New domain model with architecture and OS version requirements
Sources/XcodeVersionManager/Models/CalendarDate.swift New date model for release dates
Sources/XcodeVersionManager/Models/Architecture.swift New architecture detection and enumeration
Sources/XcodeVersionManager/Commands/ListCommand.swift Updated to use new API and added known releases subcommand
Sources/XcodeVersionManager/Commands/DownloadCommand.swift Added architecture filtering and universal build preference
Sources/XcodeVersionManager/Commands/Arguments/InstalledXcodeVersion.swift Updated completion handler signature
Package.swift Updated dependency to use semantic versioning

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

Comment thread Sources/XcodeVersionManager/Models/CalendarDate.swift Outdated
Comment thread Sources/XcodeVersionManager/Commands/DownloadCommand.swift
@CraigSiemens CraigSiemens merged commit d844a9a into main Sep 21, 2025
1 check passed
@CraigSiemens CraigSiemens deleted the update-dependencies branch September 21, 2025 03:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants