# Chapter 1 - LLDB RPC Server Crash - device.makeLibrary

**URL:** <https://forums.kodeco.com/t/chapter-1-lldb-rpc-server-crash-device-makelibrary/207210>\
**Category:** Metal by Tutorials\
**Created:** [November 10, 2024, 2:34am UTC](https://forums.kodeco.com/t/chapter-1-lldb-rpc-server-crash-device-makelibrary/207210 "2024-11-10T02:34:16Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![davedude68](https://s3.amazonaws.com/cdn.raywenderlich.com/community/forum-assets/noun-game-ghost-878668.png) [@davedude68](https://forums.kodeco.com/u/davedude68)\
**Post date:** [November 10, 2024, 2:34am UTC](https://forums.kodeco.com/t/chapter-1-lldb-rpc-server-crash-device-makelibrary/207210/1 "2024-11-10T02:34:16Z")

</div>

I’m starting on the Metal by Tutorials - and stuck on the first chapter. The code in the playground causes the message: LLDB RPC Server has crashed when the device.makeLibrary function is called.

Seems to be an issue with Xcode 16.1.

The provided playgrounds work no problem. However, if I create a playground from scratch in Xcode 16.1 - I can’t get it to work.

Is Xcode 16.1 supported?

---

<div class="post-metadata">

**Author:** ![caroline](https://assets.chunter.kodeco.com/user_avatar/forums.kodeco.com/caroline/32/111867_2.png) [@caroline](https://forums.kodeco.com/u/caroline)\
**Post date:** [November 10, 2024, 8:58am UTC](https://forums.kodeco.com/t/chapter-1-lldb-rpc-server-crash-device-makelibrary/207210/2 "2024-11-10T08:58:31Z")

</div>

I’m not sure what to suggest. It worked when I went through immediately after WWDC on Xcode 16.0.

I’m using Xcode 16.2 beta and it crashes.

There seems to be a long history of this happening:

> <https://stackoverflow.com/questions/43635522/what-is-lldb-rpc-server-when-does-it-crash-in-xcode-why-it-crashes>

Playgrounds also have a long history of bad things happening.

Perhaps for the time being, you could load the playground that works, delete the code and go through the chapter using that playground?

---

<div class="post-metadata">

**Author:** ![davedude68](https://s3.amazonaws.com/cdn.raywenderlich.com/community/forum-assets/noun-game-ghost-878668.png) [@davedude68](https://forums.kodeco.com/u/davedude68)\
**Post date:** [November 10, 2024, 2:15pm UTC](https://forums.kodeco.com/t/chapter-1-lldb-rpc-server-crash-device-makelibrary/207210/3 "2024-11-10T14:15:14Z")

</div>

Within the Xcode 16 playgrounds, the contents.xcplayground looks like this:

```xml
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<playground version='7.0' target-platform='macos' swift-version='6' buildActiveScheme='true' importAppTypes='true'/>

```

When I remove the `swift-version` attribute it works.

---

<div class="post-metadata">

**Author:** ![caroline](https://assets.chunter.kodeco.com/user_avatar/forums.kodeco.com/caroline/32/111867_2.png) [@caroline](https://forums.kodeco.com/u/caroline)\
**Post date:** [November 10, 2024, 8:40pm UTC](https://forums.kodeco.com/t/chapter-1-lldb-rpc-server-crash-device-makelibrary/207210/4 "2024-11-10T20:40:01Z")

</div>

Excellent find. Thank you for reporting back.

---

<div class="post-metadata">

**Author:** ![hamish76](https://assets.chunter.kodeco.com/user_avatar/forums.kodeco.com/hamish76/32/110816_2.png) [@hamish76](https://forums.kodeco.com/u/hamish76)\
**Post date:** [November 23, 2024, 2:44am UTC](https://forums.kodeco.com/t/chapter-1-lldb-rpc-server-crash-device-makelibrary/207210/5 "2024-11-23T02:44:03Z")

</div>

thanks for much for reporting this. I was wracking my brain on this issue. I changed to swift-version=‘5’ and also worked.

---

<div class="post-metadata">

**Author:** ![basictechs](https://assets.chunter.kodeco.com/user_avatar/forums.kodeco.com/basictechs/32/111081_2.png) [@basictechs](https://forums.kodeco.com/u/basictechs)\
**Post date:** [February 11, 2025, 2:15pm UTC](https://forums.kodeco.com/t/chapter-1-lldb-rpc-server-crash-device-makelibrary/207210/7 "2025-02-11T14:15:16Z")

</div>

Thank you removing it solved the issue.
