BarredEwe / Prefire

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

New macro finder #54

Closed BarredEwe closed 6 months ago

BarredEwe commented 6 months 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.