XcodeIssueGenerator is Aan executable that can be called from a Run Script Build Phase that makes comments such as // TODO: or // SERIOUS: appear in Xcode’s Issue Navigator giving them project-wide visibility.
Features:
- Works in Swift files.
- An upside of using this program as compared to #warning pragmas available to Objective-C is we can keep “treat warnings as errors” on in the host project build settings since this executable runs post-build.
- Comments can be configured as warnings or errors. Error-producing comments stop the build from succeeding.
- Warning or error behavior for comments can be configured differently per build configuration—you can have a // TODO: be a warning in DEBUG and be an error in RELEASE for instance.
