I want to significantly reduce the amount of file entries generated because currently ever protocol etc is generated which I don't want to.
I browsed through the swift forum and I cannot find anything that helped with this.
Tried using OTHER_SWIFT_FLAGS=-"skip-synthesized-symbols" but the documentation fails.
Is there any other way to skip synthesized symbols by some flag that I can include in my below code?
Like Vera pointed out in this other thread, the -skip-synthesized-symbols is only a flag for the swift-symbolgraph-extract tool. That's why it doesn't work to pass it to the Swift compiler.
That's also why it doesn't work (you get a "Unknown option" command line validation error) to pass it to DocC.
What are some other flags/ways I can use to reduce the number of file entries through just the script I mentioned in my post? Most stuff like accessibility json files etc are a lot and also the view-implementation has ton of file entries