Is there any way to test async/await and actors on macOS 11? Some sort of runtime toolchain I can install on my dev machine?
I've ported some code and would love to test it without upgrading my only dev machine to macOS 12 yet.
Thanks! 🙏
Is there any way to test async/await and actors on macOS 11? Some sort of runtime toolchain I can install on my dev machine?
I've ported some code and would love to test it without upgrading my only dev machine to macOS 12 yet.
Thanks! 🙏
Have you tried creating an iOS App project, or an iOS Playground?
You may not be able to test some macOS-only features, but it may be enough for testing simple codes using actors and async/await.
Unfortunately I'm working on a macOS tool (for my own business's use). I'll be fine with targeting 12, but I really wanted to take advantage to the async/await code and be able to test it, but without upgrading my machine until release.
There was some discussion about this on the Swift Forums, it looks like the feature is only going to be available on iOS 15 and macOS 12. If you have space on your dev machine, you could install Monterey on a separate partition to test.