How to add custom Swift files before building the framework? #55
-
I need to add some custom Swift files to the XCFramework. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
Hi! There is currently no officially supported way to add custom Swift files. The good news is that this feature is on our near-term roadmap and that there is a workaround. SKIE bundles all Swift files that are located in a certain directory ( This "feature" is undocumented and not guaranteed to be stable. However, We do not plan to change this behavior in a significant way - at least until we have official support for this use case. |
Beta Was this translation helpful? Give feedback.
Yes, this is a partial implementation of the official support. You can use that as well - In your case, it might be the easier solution, and it's implemented based on what I described above.
For generated code, it's generally better to generate it directly into this directory.