Skip to content

Swift: recreate a default Swift package to fix test #2952

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 27, 2025

Conversation

redsun82
Copy link
Contributor

It seems like the Package.swift trying to reuse the source code of the xcode project is not buildable by Swift 5.8.1 (or 5.9.2 for what matters). This just generates an independent default executable package with swift package init (using swift 5.8.1).

Merge / deployment checklist

  • Confirm this change is backwards compatible with existing workflows.
  • Confirm the readme has been updated if necessary.
  • Confirm the changelog has been updated if necessary.

@Copilot Copilot AI review requested due to automatic review settings June 26, 2025 15:47
@redsun82 redsun82 requested a review from a team as a code owner June 26, 2025 15:47
Copy link
Contributor

@Copilot 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.

Copilot encountered an error and was unable to review this pull request. You can try again by re-requesting a review.

Copy link
Contributor

@navntoft navntoft left a comment

Choose a reason for hiding this comment

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

It seems like the Package.swift trying to reuse the source code of the xcode project is not buildable by Swift 5.8.1 (or 5.9.2 for what matters). This just generates an independent default executable package with swift package init (using swift 5.8.1).

Thanks for looking into this!

FYI: I can see that while __action-integration-test.yml uses 5.8, __swift-prebuild.yml uses 6.0.1.

@navntoft
Copy link
Contributor

Merging and rerunning the integration test.

@navntoft navntoft merged commit 428aea5 into main Jun 27, 2025
279 checks passed
@navntoft navntoft deleted the redsun82/fix-swift-test branch June 27, 2025 05:27
@github-actions github-actions bot mentioned this pull request Jun 27, 2025
8 tasks
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