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
Would you mind adding these two flags to your Package.swift?
I'm facing @mainactor warnings that startRunning/stopRunning did not got called on the main thread.
for target in package.targets {
if target.type == .binary { continue }
target.swiftSettings = target.swiftSettings ?? []
target.swiftSettings?.append(
.unsafeFlags([
"-Xfrontend", "-strict-concurrency=targeted",
"-Xfrontend", "-enable-actor-data-race-checks"
], .when(configuration: .debug))
)
}
The text was updated successfully, but these errors were encountered:
Hi Paul,
Would you mind adding these two flags to your
Package.swift
?I'm facing @mainactor warnings that startRunning/stopRunning did not got called on the main thread.
The text was updated successfully, but these errors were encountered: