[MonoTouch] Strange issue iOS5.1 vs Environment.SpecialFolder.Personal
Nic Wise
nicw at fastchicken.co.nz
Fri Mar 9 11:49:16 UTC 2012
I had the same problem with a running app - which I've not updated for
a while. Rebuild, and it works...
Now to wait for Apple.
On Fri, Mar 9, 2012 at 01:19, Karl Heinz Brehme Arredondo
<karl at e-magesolutions.com> wrote:
> Hi Sebastien,
>
> I see now that I'm since this week with 5.2.5 version… Well.. I think that
> now it's just recompile and publish new version for users…
> I just didn't reproduce it again now, also with the application compiled
> with previous to 5.2.
>
> Thanks,
>
> Karl
>
> From: Sebastien Pouliot <sebastien at xamarin.com>
> Date: Thu, 8 Mar 2012 20:10:04 -0500
> To: Karl Heinz Brehme Arredondo <karl at e-magesolutions.com>
> Cc: "monotouch at lists.ximian.com" <monotouch at lists.ximian.com>
> Subject: Re: [MonoTouch] Strange issue iOS5.1 vs
> Environment.SpecialFolder.Personal
>
> Hello Karl,
>
> AFAIK this error is caused by a change in iOS 5.1 that does not allow
> everyone to write to `stdout` (and return an access denied).
>
> It should only occurs when using "Console.WriteLine" and was fixed in
> MonoTouch 5.2.4 [1] (where the exception will be ignored, i.e. no
> writing on `stdout`).
>
> If you cannot update to 5.2.4 then you can try:
>
> a) calling: Console.SetOut (new StreamWriter (Stream.Null));
>
> b) add #if DEBUG ... #endif around the Console.WriteLine from your
> application (so they won't reach your users)
>
> Regards,
> Sebastien
>
> [1] http://docs.xamarin.com/MonoTouch_5.2#Changes_in_MonoTouch_5.2.4
>
>
> _______________________________________________
> MonoTouch mailing list
> MonoTouch at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/monotouch
>
--
Nic Wise
t. +44 7788 592 806 | @fastchicken | http://www.linkedin.com/in/nicwise
b. http://www.fastchicken.co.nz/
Nearest Bus: find when the next bus is coming to your stop. http://goo.gl/Vcz1p
mobileAgent (for FreeAgent): get your accounts in your pocket.
http://goo.gl/IuBU
Trip Wallet: Keep track of your budget on the go: http://goo.gl/ePhKa
London Bike App: Find the nearest Boris Bike, and get riding! http://goo.gl/Icp2
More information about the MonoTouch
mailing list