Skip to content
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

[Documentation] Add note in CONTRIBUTING.md about SwiftPM-Package #5732

Merged
merged 2 commits into from
Aug 19, 2022

Conversation

ncooke3
Copy link
Contributor

@ncooke3 ncooke3 commented Aug 18, 2022

Add clarification to CONTRIBUTING.md that emphasizes the need to run the SwiftPM-Package scheme before building other schemes.

Motivation:

I ran into the no such module 'PackageDescription' error when trying to debug something in Swift Package Manager. I filed #5705 and @neonichu clarified that the SwiftPM-Package scheme should be built first before building other schemes. Reason being that the SwiftPM-Package scheme builds the PackageDescription library. I wanted to add a note in the CONTRIBUTING.md to clarify this for future readers.

Modifications:

Added a note to the Using Xcode (Easiest) section that clarifies the importance of first running the SwiftPM-Package scheme. This is a documentation only change.

Result:

Contributors will understand that need to run the SwiftPM-Package scheme to avoid the no such module 'PackageDescription' error.

Copy link
Contributor

@abertelrud abertelrud left a comment

Choose a reason for hiding this comment

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

Thanks @ncooke3 this looks good to me. Let's let @neonichu take a look as well though, since you discussed this issue.

@abertelrud
Copy link
Contributor

@swift-ci please smoke test

@neonichu neonichu merged commit 809b4b5 into swiftlang:main Aug 19, 2022
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