Re: Displaying errors generated by an external build tool
Re: Displaying errors generated by an external build tool
- Subject: Re: Displaying errors generated by an external build tool
- From: Ken Thomases <email@hidden>
- Date: Sat, 13 Jun 2015 10:20:24 -0500
On Jun 13, 2015, at 9:50 AM, Theodore H. Smith <email@hidden> wrote:
> I created a shell tool, that compiles source code, let's call it "My Unreleased language" (MUL). I'm using MUL as an "external build tool" within Xcode.
>
> If MUL finds an error, it will produce errors as strings. But Xcode doesn't know how to interpret them.
>
> I want the errors to display properly in Xcode, so i can CLICK on the error reports... and just jump directly to the line.
>
> How would I do that? I have no idea really... I assume it has something to do with outputting a string in the correct format so that Xcode can parse it, but what format is that? Where is it even documented?
I think it's just:
<path>:<line number>: error: <message>
You can also use "warning" instead of "error" to make Xcode see your warnings.
Cheers,
Ken
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden