Modern Concurrency: Getting Started | Kodeco

This content was released on Oct 18 2022. The official support period is 6-months from this date.

Learn how to use Swift’s new native model for writing safe, efficient concurrent code. Create safe, performant and predictable asynchronous apps using these Swift concurrency features: async/await Tasks MainActor Asynchronous sequences


This is a companion discussion topic for the original entry at https://www.kodeco.com/28434449-modern-concurrency-getting-started

Passing this from the feedback given by @csharpusa, “I am unable to get past this error when doing a swift run in a terminal window and I don’t see a way to leave a comment or see the list of issues. in order to maybe find a solution. So, therefore I am unable to take the course. error: terminated(1): /usr/bin/xcrun --sdk macosx --show-sdk-platform-path output: xcrun: error: unable to lookup item ‘PlatformPath’ from command line tools installation xcrun: error: unable to lookup item ‘PlatformPath’ in SDK ‘/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk’”

thanks Gina! @csharpusa there’s an answer in StackOverflow

it suggests trying this command to restore the correct path to the SDK:

$ sudo xcode-select -switch /Applications/Xcode.app/Contents/Developer