Skip to content

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

Closed
CroffZ with Copilot wants to merge 2 commits into
mainfrom
copilot/fix-github-actions-workflow
Closed

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

Conversation

CopilotAI commented Apr 2, 2026

Copy link
Copy Markdown

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

CopilotAI changed the title [WIP] Fix failing GitHub Actions workflow AnalyzeFix: Bump minimum macOS deployment target to 13.0 to match ComposableArchitecture requirementApr 2, 2026
CopilotAI requested a review from CroffZApril 2, 2026 07:16
@CroffZ
CroffZ marked this pull request as ready for review April 3, 2026 19:49
CopilotAI review requested due to automatic review settings April 3, 2026 19:49

CopilotAI left a comment

Copy link
Copy Markdown

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
FileDescription
Tool/Package.swiftRaises Tool package minimum macOS version to 13.0.
Core/Package.swiftRaises 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

Comment threadTool/Package.swift
let package = Package(
name: "Tool",
platforms: [.macOS(.v12)],
platforms: [.macOS(.v13)],

CopilotAIApr 3, 2026

Copy link

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.

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

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

Comment threadCore/Package.swift
letpackage=Package(
name:"Core",
platforms:[.macOS(.v12)],
platforms:[.macOS(.v13)],

CopilotAIApr 3, 2026

Copy link

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.

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

let package = Package(
name: "Core",
platforms: [.macOS(.v13)],

@droomvriendje-stack

Copy link
Copy Markdown

ok

@albertoblue87-netizenalbertoblue87-netizen left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Done

Comment threadCore/Package.swift
letpackage=Package(
name:"Core",
platforms:[.macOS(.v12)],
platforms:[.macOS(.v13)],

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

let package = Package(
name: "Core",
platforms: [.macOS(.v13)],

Comment threadCore/Package.swift
letpackage=Package(
name:"Core",
platforms:[.macOS(.v12)],
platforms:[.macOS(.v13)],

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

let package = Package(
name: "Core",
platforms: [.macOS(.v13)],

Comment threadTool/Package.swift
let package = Package(
name: "Tool",
platforms: [.macOS(.v12)],
platforms: [.macOS(.v13)],

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

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

@CroffZCroffZ closed this Jun 12, 2026
Sign up for freeto 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.

7 participants

@droomvriendje-stack@joe345-str@albertoblue87-netizen@agunnaya001@CroffZ