Holy shit, Swift Playgrounds got an update for the first time in what feels like forever! It doesn’t support Swift 6 yet though, and gets screwy with some common (IMO) Swift Packages.
=> More informations about this toot | More toots from rhysmorgan@mastodon.social
@rhysmorgan Are you sure? I thought they updated to a swift 6 compiler/syntax/whatever.
=> More informations about this toot | More toots from mattiem@mastodon.social
@mattiem Yeah, it still seems to be using Swift 5.10 – the previous update is what bumped it to Swift 5.10 and iOS 17.5
=> More informations about this toot | More toots from rhysmorgan@mastodon.social
@rhysmorgan That’s swift mode though, try “compiler”
=> More informations about this toot | More toots from mattiem@mastodon.social
@mattiem Ah yeah, the compiler is Swift 6! I wonder if there’s a way to switch an app to Swift 6 mode?
=> More informations about this toot | More toots from rhysmorgan@mastodon.social
@rhysmorgan Hmmmm I’m unsure. Do you have any control over compiler flags or the build environment?
=> More informations about this toot | More toots from mattiem@mastodon.social
@mattiem I don’t think you do, with Swift Playground. Not without moving the folder over to a Mac, and manually editing the Package file?
=> More informations about this toot | More toots from rhysmorgan@mastodon.social
@rhysmorgan I have no idea! I have never used it am I’m totally unfamiliar with the system.
=> More informations about this toot | More toots from mattiem@mastodon.social This content has been proxied by September (3851b).Proxy Information
text/gemini