---
title: Mixing Languages in an Xcode project
framework: swift
role: sampleCode
role_heading: Sample Code
path: swift/mixinglanguagesinanxcodeproject
---

# 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

Overview note: This sample code project is associated with WWDC 2023 session 10172: Mix Swift and C++. 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++

- [Calling APIs Across Language Boundaries](swift/callingapisacrosslanguageboundaries.md)
