The worst part about writing widgets for iOS apps is that the development tools are absolutely atrocious. Xcode previews work about 10% of the time, itโ€™s just crazy bad.

#iOS #xcode

@leafmuncher We don't have reports of failure rates that high. Would love to see a feedback report with diagnostics generated from the canvas error banner!
@ccjensen happy to help if i can! what i found that seems to have resolved it is nuking the preview simulator state (some simctl). After I did that and cleared up old simulators and runtimes, now it works for me much more consistently ๐Ÿ™Œ
@leafmuncher glad to hear you found a way to get up and running! Obviously ideally things would never end up in a state where you have to manually do that kind of cleanup! If you find yourselves running in to issues please do file a feedback with the diagnostics. We really do look at every single previews bug report that gets filed!
@ccjensen thanks so much for the great support!