<!--
{
  "availability" : [
    "macOS: 14.0.0 -",
    "Xcode: 15.0.0 -"
  ],
  "documentType" : "article",
  "framework" : "Swift",
  "identifier" : "/documentation/Swift/CallingAPIsAcrossLanguageBoundaries",
  "metadataVersion" : "0.1.0",
  "role" : "sampleCode",
  "title" : "Calling APIs Across Language Boundaries"
}
-->

# 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

> Note: This sample code project is associated with WWDC 2023 sessions 10172: [Mix Swift and C++](https://developer.apple.com/wwdc23/10172) and 10268: [Meet mergeable libraries](https://developer.apple.com/wwdc23/10268).

### Configure the sample code project

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

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)