---
title: Calling APIs Across Language Boundaries
framework: swift
role: sampleCode
role_heading: Sample Code
path: sample-code/swift/callingapisacrosslanguageboundaries
---

# Calling APIs Across Language Boundaries

Use a variety of C++ APIs in Swift – and vice-versa – across multiple targets and frameworks in an Xcode project.

## Overview

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

- [Mixing Languages in an Xcode project](swift/mixinglanguagesinanxcodeproject.md)
