Home > Blockchain >  Swift macros not detected
Swift macros not detected

Time:09-13

After reading Macro key setting

CodePudding user response:

I was setting the macro in the app target, but the code which uses macro is one of the other targets i.e static libs, though the static libs targets are added as a dependency for the app target.

After adding the macro to the static lib target, it works.

  • Related