Im assuming the work didnt make it for the preview ?
Correct. this weeks build will (hopefully) ship some of the imported .fx files, but do note that we’re miles away from actually using any of these types and APIs properly, in any way shape or form.
The problem is that Swift is so convoluted, it’s hard to find even a single API thatch be called without supporting every esoteric bit of Swift ABI. For example, try finding a type that’s not generic. You’d think something as simple as print(5)
would work, right? nope, thats needs Swift.Array, which is (of course) a super complex type.
This “platform” is being (over)designed by idiots and — mark my words — will be the downfall of Apple’s OS as a solid development platform, in the long run.
Actually, you can get the Xcode 13.2 Beta 2 SDKs from SDK Downloads | Elements now (of have EBuild download them for you), they will have the Swift imports too.
But again, don’t expect much (or anything) to work
Sorry, had to pull those for unrelated reasons. I’m hoping to have a fixed import up tomorrow, and to get these shipping in Friday’s build .2647.
They are up now, and will be in today’s build. Only the Xcode 13 SDKs will have the Swift part (ie iOS 15, macOS 12, etc), and (of course) only Island.
Do you think anyone looks at swift for the first time and thinks this makes perfect sense ?
Do I just need to set the xcode commandline tools to xcode 13 ?
Nope.
yes, Xcode 13 needs to be your active Xcode.
I got an iOS app sort of building.
They look like the errors you got so Im going through some tutorials in xcode.
Yeah, those are pretty much all expected. anything that uses Associated Types (Swift’s name for generics in protocols — because why not make things as complicated as we can), will fail. and of course everything in Swift is generics (because again, why not?).
I’m to sure a out the Out of Bounds IE, but its probably not worth casing on its own at this stage.
the last but one is unrelated;ated not Swift — @main to replace @UIApplicationMain is just something wee haven’t implemented yet: * SE-0281 @main
: Type-Based Program Entry Points — (#84619)