A Possible Vision for Macros in Swift

With Swift Macros, you can't access the protocol definition if the mock is in a different file. So the only way for that to work is to have the mock in the same file of the protocol/class you are trying to mock. Which is not good since the mocks will be shipped to the app, adding unnecessary size to the app.