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

Build error with Xcode 16 beta 6 #261

Closed
3 tasks done
theoks opened this issue Aug 20, 2024 · 3 comments
Closed
3 tasks done

Build error with Xcode 16 beta 6 #261

theoks opened this issue Aug 20, 2024 · 3 comments
Labels
bug Something isn't working

Comments

@theoks
Copy link

theoks commented Aug 20, 2024

Description

Trying to build with Xcode 16 beta 6 and I am getting the following error:

/swift-dependencies/Sources/Dependencies/WithDependencies.swift:71:51: Returning a task-isolated '@noescape @async @callee_guaranteed @substituted <τ_0_0> () -> (@out τ_0_0, @error any Error) for <R>' value as a 'sending' result risks causing data races

Checklist

  • I have determined whether this bug is also reproducible in a vanilla SwiftUI project.
  • If possible, I've reproduced the issue using the main branch of this package.
  • This issue hasn't been addressed in an existing GitHub issue or discussion.

Expected behavior

No response

Actual behavior

No response

Steps to reproduce

No response

Dependencies version information

1.3.7

Destination operating system

iOS 18 beta 7

Xcode version information

Xcode 16.0 beta 6

Swift Compiler version information

No response

@theoks theoks added the bug Something isn't working label Aug 20, 2024
@dafurman
Copy link
Contributor

For a bit more info, this seems to be new to the 1.3.6 release in particular, as I don't experience this error in 1.3.5.
I can also repro this in Xcode 16.0.0-beta 1, so it doesn't seem specific to a particular beta version.

@mbrandonw
Copy link
Member

The Xcode betas are a moving target and so everyone must remember that they are using it at their own risk. This issue in particular already came up in a previous beta and was fixed with #256, and now a new beta has caused that fix to be a problem. That’s just the reality of using betas.

Hopefully #262 will fix things for people until the next problem.

@mbrandonw
Copy link
Member

Hi all, this has been fixed and released in 1.3.8. Going to close this for now, but please do open a discussion if you have questions or discover other problems.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants