Skip to content

Fix: Bump minimum macOS deployment target to 13.0 to match ComposableArchitecture requirement#809

Open
Copilot wants to merge 2 commits intomainfrom
copilot/fix-github-actions-workflow
Open

Fix: Bump minimum macOS deployment target to 13.0 to match ComposableArchitecture requirement#809
Copilot wants to merge 2 commits intomainfrom
copilot/fix-github-actions-workflow

Conversation

Copy link
Copy Markdown

Copilot AI commented Apr 2, 2026

The Analyze (swift) CodeQL workflow was failing at autobuild because ComposableArchitecture now requires macOS 13.0, while Tool/Package.swift and Core/Package.swift still declared .macOS(.v12).

Changes

  • Tool/Package.swift.macOS(.v12).macOS(.v13) (affects AppActivator, SharedUIComponents, Toast, ChatTab, ChatAPIService)
  • Core/Package.swift.macOS(.v12).macOS(.v13) (downstream consumer of the Tool package)
Original prompt

Fix the failing GitHub Actions workflow Analyze (swift)
Analyze the workflow logs, identify the root cause of the failure, and implement a fix.
Check run ID: 69650404404
Job URL: https://github.com/github/CopilotForXcode/actions/runs/23886527919/job/69650404404

Copilot AI changed the title [WIP] Fix failing GitHub Actions workflow Analyze Fix: Bump minimum macOS deployment target to 13.0 to match ComposableArchitecture requirement Apr 2, 2026
Copilot AI requested a review from CroffZ April 2, 2026 07:16
@CroffZ CroffZ marked this pull request as ready for review April 3, 2026 19:49
Copilot AI review requested due to automatic review settings April 3, 2026 19:49
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 updates the Swift Package Manager manifests to require macOS 13.0, aligning the local packages’ declared minimum platform with the minimum required by swift-composable-architecture and unblocking the failing Swift CodeQL build.

Changes:

  • Bump Tool package minimum macOS platform from 12 → 13.
  • Bump Core package minimum macOS platform from 12 → 13.
Show a summary per file
File Description
Tool/Package.swift Raises Tool package minimum macOS version to 13.0.
Core/Package.swift Raises Core package minimum macOS version to 13.0.

Copilot's findings

Tip

Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

  • Files reviewed: 2/2 changed files
  • Comments generated: 2

let package = Package(
name: "Tool",
platforms: [.macOS(.v12)],
platforms: [.macOS(.v13)],
Copy link

Copilot AI Apr 3, 2026

Choose a reason for hiding this comment

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

Raising the SPM minimum platform to macOS 13.0 may require updating the Xcode targets’ deployment target as well. The Xcode project currently sets MACOSX_DEPLOYMENT_TARGET = 12.0 for several targets (e.g. Copilot for Xcode.xcodeproj/project.pbxproj:848), and those targets depend on products from Tool (e.g. XPCShared) / Core. If the app is intended to support macOS 13+ now, bump the Xcode deployment target (and any shared xcconfig) to 13.0; otherwise, consider pinning ComposableArchitecture to a version that still supports macOS 12.

Copilot uses AI. Check for mistakes.
let package = Package(
name: "Core",
platforms: [.macOS(.v12)],
platforms: [.macOS(.v13)],
Copy link

Copilot AI Apr 3, 2026

Choose a reason for hiding this comment

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

This change effectively drops macOS 12 support for the Core package. README.md currently documents “macOS 12+” as a requirement (README.md:29), and the Xcode project deployment targets are still set to 12.0 in multiple configurations. If macOS 13+ is now required due to ComposableArchitecture, please update the documented requirements and align Xcode build settings; otherwise, the project/package requirements will be inconsistent.

Suggested change
platforms: [.macOS(.v13)],
platforms: [.macOS(.v12)],

Copilot uses AI. Check for mistakes.
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.

3 participants