Macros and XCFrameworks

I'm also wondering, if there's any benefit or necessity of the macro dependencies going through the heavy weight release mode compilation. In the end the code output of the macro should be the same as in debug and only when the generated code is compiled again it benefits from all the optimizations in release mode right?