If both '--sdk SDKROOT' and '--sim' are specified on the command line, we would remove the '--sdk' arguments, but leave '--sim', potentially passing it along to xcodebuild causing a build failure. This happens when 'old-run-webkit-tests --release --sim' invokes build-dumprendertree when DumpRenderTree hasn't been built yet.
This is technically a regression from r168910: [iOS] Support TestWebKitAPI in the iOS Simulator <http://webkit.org/b/129535>
Created attachment 231731 [details] Patch v1
Comment on attachment 231731 [details] Patch v1 Clearing flags on attachment: 231731 Committed r169088: <http://trac.webkit.org/changeset/169088>
All reviewed patches have been landed. Closing bug.