Re: Scripts, Errors, and xcodebuild
Re: Scripts, Errors, and xcodebuild
- Subject: Re: Scripts, Errors, and xcodebuild
- From: Chris Espinosa <email@hidden>
- Date: Sun, 5 Aug 2007 16:38:20 -0700
On Aug 5, 2007, at 11:07 AM, Scott Thompson wrote: I'd like to run a build as part of a larger script and I'd love to be able to pass along any warnings or errors to the larger script.
I've spent several hours searching and haven't seen a "better" way to do it short of parsing the output of xcode build and looking for lines that look like errors and warnings. This leads to two questions:
1. Is there a more straightforward way to extract the warnings and errors other than parsing the output of the command?
No, in fact you (like Xcode itself) are at the mercy of the entire set of tools that might be called by a custom build rule or Run Script build phase during the build. Parsing is about the best you can do. 2. Is there an xcodebuild equivalent of "continue building after errors"?
Not from its command line, but you can set
defaults write com.apple.Xcode PBXBuildsContinueAfterErrors YES
Chris |
_______________________________________________
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