Skip to content

Update to a newer version of the Swift-DocC Plugin #1234

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

Conversation

d-ronnqvist
Copy link
Contributor

Bug/issue #, if applicable:

Summary

This only updates the resolved version of the swift-docc-plugin dependency to 1.4+ so that both DocC and the plugin depend on the "github.com/swiftlang/swift-docc-symbolkit" link to SymbolKit rather than the "github.com/apple/swift-docc-symbolkit" link.

This fixes a warning when building DocC:

Conflicting identity for swift-docc-symbolkit: dependency 'github.com/apple/swift-docc-symbolkit' and dependency 'github.com/swiftlang/swift-docc-symbolkit' both point to the same package identity 'swift-docc-symbolkit'.

Because the 1.3 dependency was previously specified in the Package.resolved file. Anyone who cloned DocC and built it would encounter this warning.

Dependencies

Update to a newer version of the swift-docc-plugin dependency.

Testing

Nothing in particular. This isn't a user facing change.

Checklist

Make sure you check off the following items. If they cannot be completed, provide a reason.

  • [ ] Added tests
  • Ran the ./bin/test script and it succeeded
  • [ ] Updated documentation if necessary

Sorry, something went wrong.

@d-ronnqvist
Copy link
Contributor Author

We might consider holding this PR until swiftlang/swift-docc-plugin#107 is merged and released as a new tag so that we can pick up those resolve those warnings at the same time.

@d-ronnqvist
Copy link
Contributor Author

@swift-ci please test

@d-ronnqvist d-ronnqvist added the code cleanup Code cleanup *without* user facing changes label Jun 4, 2025
@d-ronnqvist d-ronnqvist merged commit b44fe17 into swiftlang:main Jun 4, 2025
2 checks passed
@d-ronnqvist d-ronnqvist deleted the fix-plugin-dependency-mismatch-warning branch June 4, 2025 16:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
code cleanup Code cleanup *without* user facing changes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants