How to resolve the "Declaration name is not covered by macro" error
In XCode, open your Swift Macro and in the Macro definition, set the names to "arbitrary".
To resolve the error above, open the macro and navigate to the definition.
Replace names: named(init) with names: arbitrary.
This will resolve your issue.
Looking to learn more about SwiftUI, Swift, Design and Technology?
Search our blog to learn more about Swift, SwiftUI, design and technology.
Any Questions?
We are actively looking for feedback on how to improve this resource. Please send us a note to inquiries@delasign.com with any thoughts or feedback you may have.