-
Notifications
You must be signed in to change notification settings - Fork 811
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Swift Macros support #1428
Comments
I've been using macros in packages both remote and local, and has been working 🤷 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I haven't seen any discussion related to Swift Macros support in XcodeGen. Since macros are meant to be distributed as Swift packages, I assumed that I could import a local package containing my macro and that this would just work. However, XcodeGen seems to treat local and remote packages differently (i.e. local packages are not part of the "Package Dependencies" section in the Project navigator), which is causing the compiler to not find my macro when building. If instead I use "Add Package Dependency..." in Xcode and add my local package there manually, the compiler is able to see the macro and everything works fine.
Curious if anyone else has encountered this issue when working with swift macros.
The text was updated successfully, but these errors were encountered: