Is there any way to stop previews from live updating? It's constantly running and that's nice when I'm developing, but I'd like it to pause updating when I'm not using the Xcode. It heats up my m1 air and drains unnecessary power reducing the battery levels significantly.
Can previews be paused in Xcode 14?
You might try to hide the preview pane: Editor > Show Editor Only
(And use Editor > Canvas when you want the Preview pane to come back.)
I don't know if this will stop the preview updating, or if it will continue running and just not show it. But it is something quick you can test.
You can stop Auto refresh canvas via this way: Editor -> Canvas -> Automatically Refresh Canvas. Unselect that item will stop refresh preview automatically.
But my Xcode is 16. I'm not sure there is it in Xcode 14.
I'm not sure whether you have solved this problem. I hope I can help you.