ios – How to support Swift Macro in a project integrated by CocoaPods


I am exploring the usage of Swift Macro in my CocoaPods-integrated project. I have successfully created a custom macro by following the instructions, and it functions properly in the host project. However, in the Pods project, I am unable to import CustomMacro for all the frameworks and development pods.

At this point, I am curious if there is a workaround that supports both CocoaPods and Swift Package Macro.

And also I found a Github thread discussing about a similiar topic: https://github.com/CocoaPods/CocoaPods/issues/11942 , but there’s no further conclusion.

So please help to give some advises about how to use Swift Macro in CocoaPods project if you have any experience.

Latest articles

spot_imgspot_img

Related articles

Leave a reply

Please enter your comment!
Please enter your name here

spot_imgspot_img