Swift Playgrounds 4 is released

Following iPadOS 15.2 release, Swift Playgrounds 4 is now available.

With Swift Playgrounds 4 developers can now build apps on iPad and submit them to App Store Connect. Projects created by Swift Playgrounds 4 could be opened by Xcode on the Mac.

Notably, apps created in Swift Playgrounds could only use SwiftUI as user interface framework. Projects could use SwiftPM for dependency management.

Apple Developer: Swift Playgrounds 4 now available

App Store: Swift Playgrounds

Release notes: Swift Playgrounds Release Notes

Next round of betas is released for iOS and other platforms

iOS/iPadOS 15.2, macOS 12.1, watchOS 8.3, tvOS 15.2 beta 3 are released. This time they are accompanied by Xcode 13.2 beta 2.

Xcode 13.2 has couple of interesting features to try:

  • The build system and Swift compiler have a new mode that better utilizes available cores, resulting in faster builds for Swift projects. The mode is opt-in, and you can enable globally with the following user default:
    defaults write com.apple.dt.XCBuild EnableSwiftBuildSystemIntegration 1
  • You can now use Swift Concurrency in applications that deploy to macOS 10.15, iOS 13, tvOS 13, and watchOS 6 or newer. This support includes async/await, actors, global actors, structured concurrency, and the task APIs.
  • Xcode 13.2 includes support for app projects created with Swift Playgrounds 4.