How to generate the Xcode compiler warnings and errors in jenkins? I was using Xcode Server before and there was an API available to get the complete build summary. Now we are migrating it to Jenkins. I searched a lot and I could’d find any API available for this purpose. I want an API or JSON or XML that will have the list of warnings and errors generated by Xcode. I am using swxftlint for code analysis. That is only providing the code quality report not the above.
There is an option to generate warnings report in Jenkins. We need to
Install Warnings plugin in jenkins,
Add a post build step to scan compiler warnings,
Select Clang LLVM as parser.
A trend graph for warnings will be shown and a remote API is available to use the report elsewhere.