OK, all of a sudden I’m getting warnings (and runtime errors) in code that hasn’t changed in quite some time. I believe this has to do with Swift concurrency.
Further details below. All help appreciated greatly. On where to look next.
I’m getting errors using the new environment variables to open an existing document: Apple Developer Link
I get this error when I have my swiftui View as being @MainActor:
I get this error without it:
I get this if I set the Task to run on the Main Actor
Run time crash:
And console output on runtime crash: