BarredEwe / Prefire

🔥 A library based on SwiftUI Preview, for easy generation: Playbook view, Snapshot and Accessibility tests
Apache License 2.0
251 stars 16 forks source link

New macro finder #54

Closed BarredEwe closed 1 month ago

BarredEwe commented 1 month ago

Short description 📝

Fixing this issue: https://github.com/BarredEwe/Prefire/issues/50#issuecomment-2095490483

Solution 📦

Removed the use of reading code from the macro cache, since the new Xcode had an optimization that did not always launch macros. This resulted in Prefire being unable to read the macro cache and not finding Previews until you started viewing them.

Now I have added a simple search for files to get macros.