Is this log noise? "CoreSVG: Error: NULL ref passed to getObjectCoreSVG: Error: NULL ref passed to getObject"

Before I waste time creating an Apple Developer Support ticket, I’m hoping an Apple DTS engineer can confirm if this is just log noise.

Here’s the code:

import SwiftUI

struct ContentView: View {
    @State private var editMode: EditMode = .inactive
    @State private var items = ["Item 1", "Item 2", "Item 3"]

    var body: some View {
        NavigationStack {
            List {
                ForEach(items, id: \.self) { item in
                    Text(item)
                }
                .onDelete { indexSet in
                    items.remove(atOffsets: indexSet)
                }
            }
            .environment(\.editMode, $editMode)
            .toolbar {
                ToolbarItem(placement: .topBarTrailing) {
                    EditButton()
                        .environment(\.editMode, $editMode)
                }
            }
        }
    }
}

#Preview {
    ContentView()
}

When you run this code and tap Edit, you’ll initially get:

  • CoreSVG has logged an error. Set environment variabe [sic] "CORESVG_VERBOSE" to learn more.

After setting CORESVG_VERBOSE = YES, you’ll see:

  • CoreSVG: Error: NULL ref passed to getObjectCoreSVG: Error: NULL ref passed to getObject

This error only appears the first time Edit is tapped after a build and run. It won't happen again, even after force-quitting and reopening the app. The issue also only happens on iOS 18.0 and 18.1—I can’t reproduce it on iOS 17.5. Fortunately, it doesn’t seem to cause any negative side effects.

Is this just log noise?

I submitted FB15622659 to report the typo in the initial CoreSVG log message ("variabe" should be "variable").

Thanks for bringing this up, @Bikrrr .

same here. Curious how it will end.

Is this log noise? "CoreSVG: Error: NULL ref passed to getObjectCoreSVG: Error: NULL ref passed to getObject"
 
 
Q