You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Enclosing Context.environment with something like #if !os(iOS) would solve the problem. However, it may become a debt when the new Swift runtime other than Swift Playgrounds appears in the future on iOS or iPadOS.
Thanks for reporting this. This isn't an async-algorithms problem but rather a Swift Playgrounds/Swift PM problem. I am going to close this issue since this is now being tracked in the feedback you filed.
#311 has broken apps depending on swift-async-algorithms on Swift Playgrounds on iPadOS.
The reproducible example is here. Or, you can reproduce the issue by the following steps.
Then, the following error will be shown.
error message
It seems that
Context
is not safe on Swift Playgrounds. IfContext.environment
is used in Package.swift, Swift Playgrounds's SwiftPM will crash.The text was updated successfully, but these errors were encountered: