Bug 33121 - iOS deploy shows red message on success
Summary: iOS deploy shows red message on success
Alias: None
Product: Xamarin Studio
Classification: Desktop
Component: iOS add-in ()
Version: Trunk
Hardware: PC Mac OS
: Normal normal
Target Milestone: 5.10 (C6)
Assignee: Jeffrey Stedfast
Depends on:
Reported: 2015-08-14 17:56 UTC by Mikayla Hutchinson [MSFT]
Modified: 2015-09-01 12:32 UTC (History)
2 users (show)

Tags: papercut
Is this bug a regression?: ---
Last known good build:

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.

Please create a new report on Developer Community or GitHub with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:

Description Mikayla Hutchinson [MSFT] 2015-08-14 17:56:09 UTC
This is likely a nonzero exit code or message on stderr, but it's confusing for users.

Comment 1 Jeffrey Stedfast 2015-08-18 11:56:29 UTC
Jeffrey Stedfast [11:54 AM] 
@sebastien: is this stderr message from mtouch itself or a native lib that mtouch uses? http://screencast.com/t/QZ6ykXxhi (2KB)

Jeffrey Stedfast [11:54 AM]
can mtouch remove that text?

Sebastien Pouliot [11:54 AM] 
that comes from Apple libs (edited)

Jeffrey Stedfast [11:54 AM] 
the problem is that the text shows up red (which insinuates "ERROR!") but it's actually a success message

Sebastien Pouliot [11:54 AM] 
and they vary by each version/release of Xcode

Jeffrey Stedfast [11:55 AM] 
XS color codes all stderr text in red

Jeffrey Stedfast [11:55 AM]
yea, I was afraid of that

Sebastien Pouliot [11:55 AM] 
afaik it’s red because XS display it as such (everything from stderr) (edited)

Jeffrey Stedfast [11:55 AM] 

Jeffrey Stedfast [11:55 AM]
but if it changes every release of xcode, we won't be able to effectively filter it out
Comment 2 Jeffrey Stedfast 2015-08-18 12:02:01 UTC
does mtouch itself write anything to stderr?

Jeffrey Stedfast [11:57 AM]
maybe we can just drop all stderr text

Sebastien Pouliot [11:57 AM] 
yeah, it’s an unbound list and any pattern risk hiding something important :neutral_face:

Sebastien Pouliot [11:58 AM]
I don’t think mtouch uses stderr, at least not for messages intended for users
Comment 3 Mikayla Hutchinson [MSFT] 2015-08-20 16:37:52 UTC
Could we maybe use some very limited patterns, e.g. allow for the line number to change and nothing else?

Perhaps printing a final "Success" message at the end *after* all the mtouch output would help?
Comment 4 Jeffrey Stedfast 2015-09-01 12:32:41 UTC
I wrote custom IConsole and custom TextWriter wrappers to try and filter this out. It's the best we can do.