Swift 5.9 is compatible with which minimum iOS version?

As the title suggests, I'm planning to use a combination of Swift and C++ in our application. Our app currently supports iOS 11 as the minimum version, but we're planning to update Xcode in the future and elevate our minimum version to iOS 12.

With that in mind, can an app with iOS 12 as its minimum target use Swift 5.9?

Additionally, is it possible for an app targeting at least iOS 12 to use a mix of Swift and C++?

Replies

Given that you’re targeting iOS, what matters here is the minimum iOS deployment target for Xcode 15 beta. The release notes say that it supports back to iOS 12.

is it possible for an app targeting at least iOS 12 to use a mix of Swift and C++?

AFAIK the C++ integration all happens at compile time, so it imposes no additional deployment target constraints. However, as always, I recommend that you give it a try on a small test project before making an important decision like this one.

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"

Add a Comment