[MonoTouch] App crash on release to device but is Ok on debug and simulator

Karl Heinz Brehme Arredondo karl at e-magesolutions.com
Wed Oct 19 09:54:10 EDT 2011


Hi,

Project configuration file changed when upgraded to MD 2.8 last week, since
the project was migrated and some things was made by MonoDevelop. But, due
to your help, I saw (and remembered that there were) differences between
release and debug..:

Release:
- Use LLVM optimizing compiler: enabled

Debug:
- Use LLVM optimizing compiler: disabled

I don't changed that recently, I think that changed that 2 months ago, with
old MD and MT.

Changing release to "Use LLVM optimizing compiler: disabled" solved the
problem. Also changing "No link" to "Link SDK assemblies only" reduces size
from 38MB to 13.2 MB.

Thanks Sebastien for your help :) And I didn't compare performance benefits
between LLVM or not LLVM in the past months due to lack of timeŠ

Karl

From:  Sebastien Pouliot <sebastien at xamarin.com>
Date:  Wed, 19 Oct 2011 08:35:59 -0400
To:  Karl Heinz Brehme Arredondo <karl at e-magesolutions.com>
Cc:  "monotouch at lists.ximian.com" <monotouch at lists.ximian.com>
Subject:  Re: [MonoTouch] App crash on release to device but is Ok on debug
and simulator

Hello Karl,

You should first compare the project options (e.g. defines) between
your Debug and Release configurations. One might have received updates
(e.g. Debug) when developing while the other (e.g. Release) could have
bitrotten a bit.

Next the crash includes everything about the crash but sometimes lacks
the pre-condition(s) that triggered it.

a) start a terminal window
b) execute the following command: "/Developer/MonoTouch/usr/bin/mtouch
--logdev" (without the quotes)
c) start your application of the device and make it crash
d) copy/paste the console log into your reply email (or better a bug
report).


Regards,
Sebastien
> 



-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/monotouch/attachments/20111019/f208be3e/attachment.html 


More information about the MonoTouch mailing list