1oo7
(J. Shad.)
1
Where can I find a comprehensive list of Swift compiler flags with documentation?
I am trying to figure out what options I can set on a per-file basis in Xcode using the "Compiler Flags" field in the Compile Sources build phase:
Ever since Xcode 13, I keep getting build errors that such-and-such file was modified during the build, which is expected since these files are generated by a build script in a prior build phase.
So I would like to disable that particular error on these files. How can I do so?
Or is this just a known bug in Xcode 13?
Thanks.
4 Likes
byaruhaf
(Franklin Byaruhanga)
2
Check out XcodeBuildSettings.com for a complete reference of every build setting supported for the latest version of Xcode.
1oo7
(J. Shad.)
3
But which one of those settings can be used in this field? How do I know if that's a comprehensive list?
Surely there is some official documentation somewhere about this?
Perhaps the omniscient @xwu might know?
I don't know if they are comprehensive, but maybe swiftc --help-hidden and swiftc -frontend --help-hidden could help?
3 Likes
1oo7
(J. Shad.)
5
Answering my own question:
and
3 Likes