I want to play with Swift Macros, but I'm unable to build the template. I use File -> New -> New Package and the generated project doesn't compile.
How to make it work?
Xcode: Version 15.0 beta 4 (15A5195m)
macOS: 13.4 Ventura
MacBook M1 Pro
I asked also my friends at work to try it on their computers and all of them ended up with the same result. Even though they were using different Xcode betas - 2 and 3.
Do you know if there's any way to use test coverage with macros?
Also I'm not entirely sure what the best way to disable coverage is in the beta - it seems like the dropdown from the scheme editor is missing in packages with macros.
I really think it's an unnecessary and confusing change right now, but I guess it's better for the long term. I don't know how to run it with Test Coverage enabled.
And I'm also confused because swift-macro-toolkit (another package with macros) compiles with no problems even with the default testsuite...
UPD:
Well, after hours of searching for workarounds I managed to fix the issue, I simply forgot to declare a compiler plugin type , but the error was not helpful at all