-
Notifications
You must be signed in to change notification settings - Fork 10.4k
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
Regression: withTaskGroup crashes immediately for iOSAppOnMac #75771
Comments
I have the same problem on a physical iOS 18.0 beta 4 device where the code is crashing on a withTaskGroup call. However, my project still runs on Swift 5, so I believe this is an error in the libraries, not the Swift language. It runs fine on an iOS 17.5 simulator (I have another regression on the iOS 18 simulator and thus cannot test my project there yet). It worked fine on previous Xcode 16 betas before Xcode 16.0 beta 5. |
I'm getting crashes using |
Can confirm, happening on-device and on iPhone 15, both on iOS 18 Dev Beta, also seems to affect |
Update for Xcode 16 beta 6 for the sample above:
|
I am seeing this on iPhone iOS 18 and Xcode 16 beta 6 with This is not Additionally I don't see this error when I run the same application directly on macOS (it's cross-platform through swiftui) |
There is an ABI mismatch between iOS/macOS Beta 4 and Xcode 16 Beta 5 for the |
Isn't compiling with Xcode 16 beta 6 to run an iOS app on macOS Sonoma 14.6.1 (23G93) back deploying to a previous iOS(AppOnMac) release? Because this crashes as mentioned in my last comment. So we currently can't use Xcode 16 beta for the development of iOSAppOnMac apps on macOS Sonoma. |
After distributing apps built with Xcode 16 RC on the App Store I'm seeing now a lot of crashes for withTaskGroup or withCheckedContinuation. It appears to be devices, which are still on iOS 18 betas instead of the RC. I assume there's an ABI mismatch as well. |
We are seeing the exact same issue as well in our project. We have managed to fix some crashes from FB15175069 |
Anyone know if macOS 14.7 has the required fix? Tempted to "fix" this by bumping our min deployment target... |
Hello, I'm having the same issue. Any workarounds? |
Hello we are having also the same issue with iios18 and withTaskGroup any fix ? |
Description
With Xcode 16.0 beta 5 and Swift 6.0 (6.0.0.7.6) the code sample below crashes, when running as iOS app on mac (iOS apps can run on macOS devices with Apple Silicon). E.g. this applies to destinations where https://developer.apple.com/documentation/foundation/processinfo/3608556-isiosapponmac
ProcessInfo.processInfo.isiOSAppOnMac
is true.Reproduction
Create a new iOS SwiftUI project with the default template and extend the template ContentView with a task modifier and a task group or just use withTaskGroup anywhere else.
Stack dump
Expected behavior
withTaskGroup should not crash and behave as in previous Xcode / Swift versions.
Environment
Xcode 16.0 beta 5 (16A5221g)
Swift 6.0 (6.0.0.7.6)
iOSAppOnMac
Additional information
No response
The text was updated successfully, but these errors were encountered: