@MeloxJourney Sorry to hear you are having trouble with previews. Please make sure to file a Feedback and include diagnostics by going under the Editor menu in the menu bar, then the Canvas submenu, then selecting "Diagnostics".
@azamsharp We have had some bugs reports over the years that would manifest this way over, but those should all be resolved. If you are still seeing issues we'd love a feedback report so I can try to triage why it isn't working for you.
@afterxleep@NathanBLawrence probably worse than "causes previews rebuild loop" having these script phases with incorrect or missing inputs/outputs will cause incremental builds (regular cmd+b/r) to be slower than necessary too
@afterxleep@NathanBLawrence [2/2] I see y'all have tried to deal with that using `if [ $ENABLE_PREVIEWS == "YES" ]` but the modern previews engine reuses the regular debug build so this build setting no longer applies. Some discussion here about this https://t.co/9DyBFxJ3EI
@afterxleep@NathanBLawrence I tried both, but running in to issues getting the macOS to build due to signing issues. Any tips?
And then on the iOS side it seems the project doesn't build for the simulator perhaps? Are you able to build targeting a sim run destination?
@cifilter Previews currently only shuts down the simulators it boots when you quit Xcode. If you preview one a few different platforms or device types the running sims can accumulate :(
@afterxleep That does not look right. We'd love if you'd be able to file a feedback right after reproducing this, and use Editor > Canvas > Diagnostics to grab the previews specific logs to include
@WildCat_io Previews has received a huge build integration improvement in Xcode 16, but we'd love to make sure the issue you are hitting is fixed. Could you file a feedback with the preview diagnostic, and we'll take a look?
@ReCurseMe We'd love to take a look! Could you please file a bug and post the feedback number (e.g F12345678) back here. Also please include the preview diagostics (if the error banner is missing you can use the menu: Editor > Canvas > Diagnostics)
@azamsharp Sounds like a bug π In the feedback report make sure to include the preview diagnostics from Editor > Canvas > Diagnostics, and if possible a sample project that reproduces the issue!