Skip to content

Conversation

@plemarquand
Copy link
Contributor

swiftlang/swift-build#266 changed the API of SwiftBuildService.createSession.

swiftlang/swift-build#266 changed the API of
SwiftBuildService.createSession.
@plemarquand
Copy link
Contributor Author

@swift-ci please test

switch await service.createSession(name: name, resourceSearchPaths: packageManagerResourcesDirectory.map { [$0.pathString] } ?? [], cachePath: nil, inferiorProductsPath: nil, environment: nil) {
switch await service.createSession(
name: name,
developerPath: nil,
Copy link
Contributor

Choose a reason for hiding this comment

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

developerPath defaults to nil, so it shouldn't be needed here. Were you seeing the build fail in some configuration?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I think my dependencies got in to a bad state, I switched to a known good toolchain, cleaned and rebuilt and its not an issue.

Copy link
Member

Choose a reason for hiding this comment

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

Same here. Need to remember to swift package update regularly to get the latest swift build.

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