Xcode image Quick Look is not working on M1 Mac
Asked Answered
D

1

7

Ever since switching to an M1 Mac for my development, Xcode no longer shows any image previews at break points.

Quick Look is not functioning with any images: CGImages, UIImages, CIImages, MTLTextures, etc.

I am running in debug mode. Anyone know what's up with this?

enter image description here

CGImage:

enter image description here

CIImage:

enter image description here

MTLTexture:

enter image description here

Derisive answered 15/5, 2021 at 19:50 Comment(3)
Any update on this? It's pretty annoying indeed...Prurigo
Looks like if I pass the UIImage var to another function as a param, I can see it with Quick Look inside that function. Pretty random... but it's something.Prurigo
Trying quick look inside the function and it still doesn't work. This forces me to use my brain compiler to guess what the image is looking like. Hope someone eventually solves this reproducibly.Bradski
A
0

This has been very frustrating at times and I stumbled on something that worked for me. When I turned off all the "Memory Management" goodies in the "Diagnostics" pane of the scheme editor, image quick look started working again. Perhaps this will work for others.

Scheme Editor

Applicant answered 27/5, 2023 at 23:20 Comment(1)
I only had 'malloc stack logging' enabled and switching that off did seem to fix it for me.Legion

© 2022 - 2024 — McMap. All rights reserved.