# \#lang:swift

**URL:** https://discourse.cmake.org/tag/lang-swift/43.md

[Latest](https://discourse.cmake.org/latest.md) · [Categories](https://discourse.cmake.org/categories.md) · [Tags](https://discourse.cmake.org/tags.md)

---

## [Swift/C++ interop.](https://discourse.cmake.org/t/swift-c-interop/13296)

<div class="topic-metadata">

**Author:** [@eyalamir](https://discourse.cmake.org/u/eyalamir)\
**Replies:** 8\
**Last updated:** [January 7, 2025, 11:53pm UTC](https://discourse.cmake.org/t/swift-c-interop/13296 "2025-01-07T23:53:56Z")

</div>

I’m trying to use the relatively-new interop feature of Swift and C++. Apple provides this example repo: But their interop example only compiles using the Ninja generator, and fails with the Xcode generator. Is there…

---

## [force SwiftSupport folder generate](https://discourse.cmake.org/t/force-swiftsupport-folder-generate/12860)

<div class="topic-metadata">

**Author:** [@shokarta](https://discourse.cmake.org/u/shokarta)\
**Replies:** 0\
**Last updated:** [October 29, 2024, 12:48pm UTC](https://discourse.cmake.org/t/force-swiftsupport-folder-generate/12860 "2024-10-29T12:48:00Z")

</div>

hello guys, since I included firebase to me Qt Creator project which also uses Swift language, I can build and deploy just find in Xcode (xproject generated by cmake). However when I try to publish the app to TestFlig…

---

## [Swift + C/C++ Interop with CMake](https://discourse.cmake.org/t/swift-c-c-interop-with-cmake/11301)

<div class="topic-metadata">

**Author:** [@pusewicz](https://discourse.cmake.org/u/pusewicz)\
**Replies:** 0\
**Last updated:** [July 22, 2024, 2:45pm UTC](https://discourse.cmake.org/t/swift-c-c-interop-with-cmake/11301 "2024-07-22T14:45:21Z")

</div>

I’m trying to setup CMake with Swift and running into issues when compiling cute . Here’s the repo: GitHub - pusewicz/dungeon\_loop\_cute And the command I use: cmake -Bbuild -G Ninja . && cmake --build build. Unfortun…

---

## [Xcode ‘C++ and Objective-C Interoperability’ build setting not getting set](https://discourse.cmake.org/t/xcode-c-and-objective-c-interoperability-build-setting-not-getting-set/9337)

<div class="topic-metadata">

**Author:** [@Vipul\_Gupta](https://discourse.cmake.org/u/Vipul_Gupta)\
**Replies:** 3\
**Last updated:** [November 8, 2023, 4:45pm UTC](https://discourse.cmake.org/t/xcode-c-and-objective-c-interoperability-build-setting-not-getting-set/9337 "2023-11-08T16:45:50Z")

</div>

I m trying to create an xcode project with cpp-swift interoperability(introduced in xcode15) using cmake xcode generator. I m able to invoke cpp code in swift and vice-versa but when opening the project in xcode IDE, the…

---

## [Setup Cpp-Swift Interoperability using CMake](https://discourse.cmake.org/t/setup-cpp-swift-interoperability-using-cmake/9272)

<div class="topic-metadata">

**Author:** [@Vipul\_Gupta](https://discourse.cmake.org/u/Vipul_Gupta)\
**Replies:** 0\
**Last updated:** [October 25, 2023, 8:40am UTC](https://discourse.cmake.org/t/setup-cpp-swift-interoperability-using-cmake/9272 "2023-10-25T08:40:06Z")

</div>

I have been using the Cpp-Swift Interoperability in Xcode15 for direct communication between Cpp and Swift5.9. It required a few Build settings changes for the Swift Compiler, creating clang modules(module map file) to a…

---

## [Using Swig and Lua](https://discourse.cmake.org/t/using-swig-and-lua/3729)

<div class="topic-metadata">

**Author:** [@leventelist](https://discourse.cmake.org/u/leventelist)\
**Replies:** 3\
**Last updated:** [July 12, 2021, 8:25am UTC](https://discourse.cmake.org/t/using-swig-and-lua/3729 "2021-07-12T08:25:55Z")

</div>

I’d like to use CMake to generate my Lua wrapper. I used this before to produce python wrapper. I can generate my wrapper.c by running Everything works fine, but I don’t get my wrapper.c. I use the following code: cmake…
