# Xcode template + installer for Embedded Swift on ESP32-C6

**URL:** <https://forums.swift.org/t/xcode-template-installer-for-embedded-swift-on-esp32-c6/87011>\
**Category:** Using Swift\
**Tags:** embedded\
**Created:** [June 1, 2026, 1:02am UTC](https://forums.swift.org/t/xcode-template-installer-for-embedded-swift-on-esp32-c6/87011 "2026-06-01T01:02:47Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![letstakeabreak](https://sea2.discourse-cdn.com/swift/user_avatar/forums.swift.org/letstakeabreak/32/45432_2.png) [@letstakeabreak](https://forums.swift.org/u/letstakeabreak)\
**Post date:** [June 1, 2026, 1:02am UTC](https://forums.swift.org/t/xcode-template-installer-for-embedded-swift-on-esp32-c6/87011/1 "2026-06-01T01:02:47Z")

</div>

Hi! I've been working on an Xcode-first workflow for Embedded Swift on ESP32-C6.

GitHub: [GitHub - letstakeabreak/Embedded-Swift-Xcode-Template: Write ESP32-C6 firmware in Swift — build and flash directly from Xcode, just like Arduino IDE. · GitHub](https://github.com/letstakeabreak/Embedded-Swift-Xcode-Template)

**What it does:**

- Xcode project template (File → New → Project → ESP32-C6)
- `Cmd+B` builds and flashes via ESP-IDF automatically
- `Cmd+R` streams serial output into the Xcode console
- SwiftUI installer app (.dmg) for one-click setup
- Onboard NeoPixel (WS2812, GPIO 8) RGB cycle as a "first success" smoke test

Tested on macOS 26, Apple Silicon, and an ESP32-C6 compatible board.  
Should work with the official DevKit as well, though not verified.

Still early — feedback on approach and direction very welcome!

---

<div class="post-metadata">

**Author:** ![neilmac](https://sea2.discourse-cdn.com/swift/user_avatar/forums.swift.org/neilmac/32/45796_2.png) [@neilmac](https://forums.swift.org/u/neilmac)\
**Post date:** [June 25, 2026, 7:46am UTC](https://forums.swift.org/t/xcode-template-installer-for-embedded-swift-on-esp32-c6/87011/2 "2026-06-25T07:46:50Z")

</div>

I've given this a go... ultimately resulting in my ESP32-C6 (Devkit) cycling the LED to green, red and blue — so all good there. There were some installation and build problems (not auto-creating some directories, some hard-coded variables that shouldn't be) but nothing that wasn't fixable. Where do you want the details? Here?, Github?

---

<div class="post-metadata">

**Author:** ![Finagolfin](https://sea2.discourse-cdn.com/swift/user_avatar/forums.swift.org/finagolfin/32/34388_2.png) [@Finagolfin](https://forums.swift.org/u/Finagolfin)\
**Post date:** [July 16, 2026, 4:15am UTC](https://forums.swift.org/t/xcode-template-installer-for-embedded-swift-on-esp32-c6/87011/3 "2026-07-16T04:15:25Z")

</div>

[This just showed up on my youtube feed](https://youtu.be/p5PKpLMmyNI), would be great to [get Swift on there](https://microbots.io/), since it's [all open source](https://github.com/microbotsio/CodeCell). 😀
