I created a new project in xCode 15 on MacOS 14. This project only has a View with a Table that has two columns. When I call the view I get the following error several times:
Metal failed to load render pipeline: pipeline=PL008BsovXmw_TprcA3Xhf sdk=23A322
Failed to find reflection in binary archives
Here is the code:
struct Freunde: Identifiable {
var id: UUID = UUID()
var firstName: String = ""
var lastName: String = ""
init(firstName: String, lastName: String) {
self.firstName = firstName
self.lastName = lastName
}
}
struct ContentView: View {
@State var sortOrder = [KeyPathComparator(\Freunde.firstName)]
@State public var selectedItems: Set<UUID> = []
@State var myList: [Freunde] = [
Freunde(firstName: "Klaus", lastName: "Kirchhoff"),
Freunde(firstName: "Patrik", lastName: "Grot"),
Freunde(firstName: "Johannes", lastName: "Gottfried"),
Freunde(firstName: "Daniel", lastName: "Schaedla")
]
var body: some View {
VStack {
Table(myList, selection: $selectedItems, sortOrder: $sortOrder) {
TableColumn("Vorname", value: \.firstName)
TableColumn("Nachname", value: \.lastName)
}
Image(systemName: "globe")
.imageScale(.large)
.foregroundStyle(.tint)
Text("Hello, world!")
}
.padding()
}
}
#Preview {
ContentView()
}
Post
Replies
Boosts
Views
Activity
Hello everyone,
With the MacOS update to Venture 13.2, I get the following error message when closing a MacOS app in xCode:
[client] No error handler for XPC error: Connection invalid
Today I set up a brand new MacOS system which has nothing more installed as except for MacOS Venture 13.2 and xCode 14.2 (14C18).
The error already occurs when I start an app that only contains template code.
I also started the app without xCode and then closed it through the menu. Then I do not receive an error message.
With the Ventura version 13.1 on an AirBook with M1, the problem did not exist.
On my Intel iMac, the error causes the iMac to no longer start normally.
Thank you very much for your support.
I would like to save an image via drag onto the Mac desktop as PNG or BMP or move this image via drag onto the Mac paper copy.
Image(nsImage: accountVM.userImage)
										.resizable()
										.aspectRatio(contentMode: .fill)
										.frame(maxWidth: 100, maxHeight: 150)
										.onDrag { return NSItemProvider(object: accountVM.userImage as NSImage) }