Skip to content

Instantly share code, notes, and snippets.

@michaelmcguire
Created November 8, 2022 00:24
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save michaelmcguire/b5430df75989ae9d530f0193332610cf to your computer and use it in GitHub Desktop.
FB11765100: Crash lldb in Xcode 14.1 Playground
import SwiftUI
import PlaygroundSupport
/* lldb Crash:
The LLDB RPC server has crashed. The crash log is located in ~/Library/Logs/DiagnosticsReports and has a prefix 'lldb-rpc-server'. Please file a bug and attach the most recent crash log.
*/
let imageContent = HStack {
Image(systemName: "ellipsis").resizable().aspectRatio(contentMode: .fit)
}
PlaygroundPage.current.setLiveView(imageContent.frame(width: 500, height: 500))
/* No Crash */
PlaygroundPage.current.setLiveView(
HStack {
Image(systemName: "ellipsis").resizable().aspectRatio(contentMode: .fit)
}.frame(width: 500, height: 500)
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment