Contents

Mixing Languages in an Xcode project

Use C++ APIs in Swift – and Swift APIs in C++ – in a single framework target, and consume the framework’s APIs in a separate app target.

Overview

Configure the sample code project

Before you run the sample code project in Xcode, ensure you’re using macOS 14.0 or later.

See Also

Language Interoperability with C++