Re: Treating link warnings as errors
Re: Treating link warnings as errors
- Subject: Re: Treating link warnings as errors
- From: Jens Miltner <email@hidden>
- Date: Fri, 26 Nov 2010 11:23:46 +0100
Am 14.10.2010 um 17:24 schrieb Eric Gorr:
> Is there any way to do this with Xcode?
>
> For compile warnings, there is a useful checkbox in the build settings, but I don't see an equivalent for link warnings.
>
> Is it possible for a script during the Run Script build phase to have access to the build output and to cause the build to fail if there is a link warning? In my case, I would actually want to cause the build to fail if there are > 148 link warnings as I know that those 148 are nothing to worry about.
You could run the xcodebuild tool from a separate a shell script target to build the dependent target and pipe the output through your filter...
Not perfect, though, since it may be a hassle setting up the dependencies, etc. in order to allow debugging directly from that target...
</jum>
Attachment:
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________
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