[MonoTouch] Failed to load AOT module ... in aot-only mode

2012-05-02 Thread dermotos
I've added a new class library to my project, but now it wont run. During
startup, I receive the below error:

Failed to load AOT module
'/private/var/mobile/Applications/E7CCBC79-0454-4086-8B52-2056A27C50D9/Apollo.app/networkio.dll.dylib'
in aot-only mode.

How can I fix this? I cannot find anything on google.

--
View this message in context: 
http://monotouch.2284126.n4.nabble.com/Failed-to-load-AOT-module-in-aot-only-mode-tp4602614.html
Sent from the MonoTouch mailing list archive at Nabble.com.
___
MonoTouch mailing list
MonoTouch@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/monotouch


[MonoTouch] Strange memory leak in my MonoTouch app... only 5 MB live bytes, yet memory goes up to 90 MB and crash

2012-05-02 Thread fmuaddib
I've a problem with a strange memory leak in my Monotouch app. If you
can help please check my post on stackoverflow:

http://stackoverflow.com/questions/10373464/monotouch-app-killed-for-low-mem-why-live-bytes-allocation-5-mb-top

Any help is appreciated! Thanks in advance!
___
MonoTouch mailing list
MonoTouch@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/monotouch


Re: [MonoTouch] Failed to load AOT module ... in aot-only mode

2012-05-02 Thread Rolf Bjarne Kvinge
Hi,

dylibs aren't allowed on iOS devices, so this is somewhat strange. Can you
add -v -v -v to the additional mtouch arguments and attach the complete
build log (after doing a clean)?

Rolf

On Wed, May 2, 2012 at 10:23 AM, dermotos m...@dermotos.com wrote:

 I've added a new class library to my project, but now it wont run. During
 startup, I receive the below error:

 Failed to load AOT module

 '/private/var/mobile/Applications/E7CCBC79-0454-4086-8B52-2056A27C50D9/Apollo.app/networkio.dll.dylib'
 in aot-only mode.

 How can I fix this? I cannot find anything on google.

 --
 View this message in context:
 http://monotouch.2284126.n4.nabble.com/Failed-to-load-AOT-module-in-aot-only-mode-tp4602614.html
 Sent from the MonoTouch mailing list archive at Nabble.com.
 ___
 MonoTouch mailing list
 MonoTouch@lists.ximian.com
 http://lists.ximian.com/mailman/listinfo/monotouch

___
MonoTouch mailing list
MonoTouch@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/monotouch


Re: [MonoTouch] Strange memory leak in my MonoTouch app... only 5 MB live bytes, yet memory goes up to 90 MB and crash

2012-05-02 Thread Rolf Bjarne Kvinge
Hi,

Can you create a complete test project I can try out? I'd like to figure
out what's going on here, but I can't see anything wrong from your code.

Rolf

On Wed, May 2, 2012 at 10:55 AM, fmuaddib fmuad...@gmail.com wrote:

 I've a problem with a strange memory leak in my Monotouch app. If you
 can help please check my post on stackoverflow:


 http://stackoverflow.com/questions/10373464/monotouch-app-killed-for-low-mem-why-live-bytes-allocation-5-mb-top

 Any help is appreciated! Thanks in advance!
 ___
 MonoTouch mailing list
 MonoTouch@lists.ximian.com
 http://lists.ximian.com/mailman/listinfo/monotouch

___
MonoTouch mailing list
MonoTouch@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/monotouch


Re: [MonoTouch] Failed to load AOT module ... in aot-only mode

2012-05-02 Thread Dermot O Sullivan
I had to delete the app from the device and re upload to fix it. Had to do
it on all 3 of my test devices. It seems uploading to the device doesn't
over write something it should, which was causing the problem.

If it helps bug finding, the dll it was looking for was the assembly name
of an old class library I removed while refactoring. (there was definitely
no references left in the project to the old dll)

Sent from mobile device. Please excuse brevity  errors.

On 02/05/2012, at 8:47 PM, Rolf Bjarne Kvinge r...@xamarin.com wrote:

Hi,

dylibs aren't allowed on iOS devices, so this is somewhat strange. Can you
add -v -v -v to the additional mtouch arguments and attach the complete
build log (after doing a clean)?

Rolf

On Wed, May 2, 2012 at 10:23 AM, dermotos m...@dermotos.com wrote:

 I've added a new class library to my project, but now it wont run. During
 startup, I receive the below error:

 Failed to load AOT module

 '/private/var/mobile/Applications/E7CCBC79-0454-4086-8B52-2056A27C50D9/Apollo.app/networkio.dll.dylib'
 in aot-only mode.

 How can I fix this? I cannot find anything on google.

 --
 View this message in context:
 http://monotouch.2284126.n4.nabble.com/Failed-to-load-AOT-module-in-aot-only-mode-tp4602614.html
 Sent from the MonoTouch mailing list archive at Nabble.com.
 ___
 MonoTouch mailing list
 MonoTouch@lists.ximian.com
 http://lists.ximian.com/mailman/listinfo/monotouch

___
MonoTouch mailing list
MonoTouch@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/monotouch


[MonoTouch] Monotouch.Dialog Bug

2012-05-02 Thread Matteo Polito
Hi guys,

I think there is a bug on Monotouch Dialog. If I want to show a tableview
with a custom UITableViewCell and RootElement with more than one Section
and IndexSource this is what happen:

[image: Immagine in linea 1]

Is visible a white box on the right side. I've tried to remove it but seems
that it has the same size of IndexSource and I can't remove it!!!
I attach the source file to try this problem. To run it copy on Monotouch
Dialog Sample application.

Could someone help me?

Thanks


DemoOwnerDrawnElement.cs
Description: Binary data
___
MonoTouch mailing list
MonoTouch@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/monotouch


Re: [MonoTouch] Strange memory leak in my MonoTouch app... only 5 MB live bytes, yet memory goes up to 90 MB and crash

2012-05-02 Thread René Ruppert
Just for info: I’m doing something similar here. A background thread is
creating thumb images of huge PDFs.

The thread keeps on  looping the pages and creates UIImages and saves them
to disk. Everything is encapsulated in using blocks.

In VM Tracker I can see that the memory type “CGImage” keeps on growing
until the last image has been saved to disk and the thread exits. Meanwhile,
I’m getting 200MB of “CGImage” dirty memory. I would expect the CGImages to
be collected immediately because of the using block.

Even after the thread “Memory tag 70” remains high – and from what I heard,
this is cached image data. There shouldn’t be any.

I’ll try if I can hack a small demo project tomorrow.

 

René

 

Von: monotouch-boun...@lists.ximian.com
[mailto:monotouch-boun...@lists.ximian.com] Im Auftrag von Rolf Bjarne
Kvinge
Gesendet: Mittwoch, 2. Mai 2012 12:50
An: fmuaddib
Cc: MonoTouch Forums
Betreff: Re: [MonoTouch] Strange memory leak in my MonoTouch app... only 5
MB live bytes, yet memory goes up to 90 MB and crash

 

Hi,

 

Can you create a complete test project I can try out? I'd like to figure out
what's going on here, but I can't see anything wrong from your code.

 

Rolf

 

On Wed, May 2, 2012 at 10:55 AM, fmuaddib fmuad...@gmail.com wrote:

I've a problem with a strange memory leak in my Monotouch app. If you
can help please check my post on stackoverflow:

http://stackoverflow.com/questions/10373464/monotouch-app-killed-for-low-mem
-why-live-bytes-allocation-5-mb-top

Any help is appreciated! Thanks in advance!
___
MonoTouch mailing list
MonoTouch@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/monotouch

 

___
MonoTouch mailing list
MonoTouch@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/monotouch


[MonoTouch] MonoDevelop Breaks in WebService on exception

2012-05-02 Thread Felix Collins
Hi,
I'm having a recurring problem that is driving me a bit mad.  I have a WCF
client and I make a call to a service using the Begin... and End... methods.
When everything is in order - no problem. If the network is down or the
server throws an exception or anything like that and I am running in the
Debugger, then the debugger halts at the throw in
ClientRuntimeChannel.Process (line 485). This is very frustrating because I
want to handle the exception and carry on, but before I can do that I have
to dismiss the exception helper and allow the execution to continue. When
the call to the End... method is made then I get an exception thrown that I
can catch and handle.  

How can I force the Monodevelop debugger to not halt at the throw in
ClientRuntimeChannel.Process?

I tried hooking up an AppDomain.CurrentDomain.UnhandledException handler but
this is not fired so the WCF exception is being handled somewhere. The stack
trace where the debugger halts shows only that call so it is not clear to me
what is going on. I Checked that the ClientRuntimeChannel.Process call is in
the same AppDomain.

Cheers,
Felix

--
View this message in context: 
http://monotouch.2284126.n4.nabble.com/MonoDevelop-Breaks-in-WebService-on-exception-tp4604782.html
Sent from the MonoTouch mailing list archive at Nabble.com.
___
MonoTouch mailing list
MonoTouch@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/monotouch


Re: [MonoTouch] Missing project templates

2012-05-02 Thread mjones309
I had done what you suggested prior to running int the issue I documented here.

I restarted my machine and relaunched Monotouch, then attempted to start a new 
solution. After all that the project templates showed up. Not sure why the were 
not there before. It was frustrating to waste that much time on what was so 
trivial.

Anyway things are better. I am making some progress.

Thanks for responding.



-mj

On May 1, 2012, at 9:35 AM, jawbrey [via MonoTouch] 
ml-node+s2284126n4600870...@n4.nabble.com wrote:

 that article is over 2 years old (it predates the iPad launch) - there have 
 been major changes since then in terms of XCode integration, and I think 
 various project templates have been renamed also
 
 I would try downloading some sample apps from Xamarin and try running them to 
 confirm that your install is correct, and then just play with them to start 
 learning your way around
 
 On Sat, Apr 28, 2012 at 3:05 PM, mjones309 [hidden email] wrote:
 I am very frustrated new user. I am expert C# / MS Visual Studio developer. I
 have minimal time to learn MonoDevelop/MonoTouch/Xcode environments. Getting
 things setup so I can learn has been one of the most frustrating things
 because the environment seems to be a moving target.
 
 Currently I am spending the better part of one of my Saturdays just trying
 to follow what seems like a good tutorial, at
 http://www.drdobbs.com/mobile/222600599?pgno=1
 http://www.drdobbs.com/mobile/222600599?pgno=1
 
 The very first step is to open Monodevelop, go to File | New Solution |
 iPhone | iPhone Monotouch Project  from the C# templates.
 
 From MonDevleop's About window, I am running MonoDevelop 2.8.8.84, MonoTouch
 5.2.11, Xcode 4.2.1 on Mac OS X 10.7.3. I do not see any project templates
 like what is shown in the tutorial. I have tried searching forums,
 documentation can't find anyone with the same problem. I find where someone
 did not install MonoTouch, but obviously I don't have that problem.
 
 I have upgraded a couple times various apps, when prompted to do so. Now
 that I am really trying to learn something, I am lost as to why I don't have
 what the tutorial shows.
 
 Did one of my upgrades blow away project templates? Did I not install things
 properly. Trying to learn how to just crawl and make progress with these
 tools is about as much fun as sticking needles in my eye.
 
 I am sure I am just experiencing newbee type problems, but it is very
 frustrating when simple instructions are either outdated or my system is not
 properly configured.
 
 Any help is greatly appreciated.
 
 
 -
 Mike Jones
 Sr. Solutions Engineer
 Think 1st Solutions
 --
 View this message in context: 
 http://monotouch.2284126.n4.nabble.com/Missing-project-templates-tp4595215p4595215.html
 Sent from the MonoTouch mailing list archive at Nabble.com.
 ___
 MonoTouch mailing list
 [hidden email]
 http://lists.ximian.com/mailman/listinfo/monotouch
 
 
 ___ 
 MonoTouch mailing list 
 [hidden email] 
 http://lists.ximian.com/mailman/listinfo/monotouch
 
 
 If you reply to this email, your message will be added to the discussion 
 below:
 http://monotouch.2284126.n4.nabble.com/Missing-project-templates-tp4595215p4600870.html
 To unsubscribe from Missing project templates, click here.
 NAML


-
Mike Jones
Sr. Solutions Engineer
Think 1st Solutions
--
View this message in context: 
http://monotouch.2284126.n4.nabble.com/Missing-project-templates-tp4595215p4600929.html
Sent from the MonoTouch mailing list archive at Nabble.com.___
MonoTouch mailing list
MonoTouch@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/monotouch


Re: [MonoTouch] XCode 4.3.2 and MD 2.8.8.4 - MT code not displaying when editing XIB

2012-05-02 Thread dannyskim
Glad it worked out!

--
View this message in context: 
http://monotouch.2284126.n4.nabble.com/XCode-4-3-2-and-MD-2-8-8-4-MT-code-not-displaying-when-editing-XIB-tp4590243p4601423.html
Sent from the MonoTouch mailing list archive at Nabble.com.
___
MonoTouch mailing list
MonoTouch@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/monotouch


[MonoTouch] iOS crash on 3G when receiving WebResponse

2012-05-02 Thread Abuniz
Hello,
I am using the latest version of MonoTouch on iOS 5.1 and I am receiving an
error when I run this on 3G. The code works well on WiFi and I get responses
normally. Below is the code I use and the error I get on 3G. 

Please Help!!





--
View this message in context: 
http://monotouch.2284126.n4.nabble.com/iOS-crash-on-3G-when-receiving-WebResponse-tp4603819.html
Sent from the MonoTouch mailing list archive at Nabble.com.
___
MonoTouch mailing list
MonoTouch@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/monotouch


Re: [MonoTouch] iOS crash on 3G when receiving WebResponse

2012-05-02 Thread Jason Awbrey
if you included an attachment the mailing list probably stripped it out.
 Try including the text inline, or posting to gisthub

On Wed, May 2, 2012 at 11:57 AM, Abuniz nd...@keylogic.com wrote:

 Hello,
 I am using the latest version of MonoTouch on iOS 5.1 and I am receiving an
 error when I run this on 3G. The code works well on WiFi and I get
 responses
 normally. Below is the code I use and the error I get on 3G.

 Please Help!!





 --
 View this message in context:
 http://monotouch.2284126.n4.nabble.com/iOS-crash-on-3G-when-receiving-WebResponse-tp4603819.html
 Sent from the MonoTouch mailing list archive at Nabble.com.
 ___
 MonoTouch mailing list
 MonoTouch@lists.ximian.com
 http://lists.ximian.com/mailman/listinfo/monotouch

___
MonoTouch mailing list
MonoTouch@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/monotouch


[MonoTouch] MT.Dialog change in Changed event

2012-05-02 Thread danmiser
I just upgraded to MD 2.8.8.4 with MT 5.2.11.

I had an app written with MT.Dialog that worked ok. The code looked similar
to this:

public class DetailElement: EntryElement
{
public DetailElement (string caption, string placeholder, 
string value):
base(caption, placeholder, value)
{
this.Changed += delegate {
if (!string.IsNullOrEmpty(Value)) {
var d = decimal.Parse(Value); 
Value = string.Format({0:0.00}, d);
}
};
}
...

Before the upgrade, it would format the field nicely when moving to the next
field. Now, it takes the first character and formats it immediately and
prevents further modification.

Is there a new event I should be using? Is Changed no longer a good event to
use? Is this just a bug that needs fixing?

--
View this message in context: 
http://monotouch.2284126.n4.nabble.com/MT-Dialog-change-in-Changed-event-tp4605061.html
Sent from the MonoTouch mailing list archive at Nabble.com.
___
MonoTouch mailing list
MonoTouch@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/monotouch


Re: [MonoTouch] MT.Dialog change in Changed event

2012-05-02 Thread Felix Collins



On 3/05/2012 4:00 p.m., danmiser wrote:

I just upgraded to MD 2.8.8.4 with MT 5.2.11.

I had an app written with MT.Dialog that worked ok. The code looked similar
to this:
Is there a new event I should be using? Is Changed no longer a good event to
use? Is this just a bug that needs fixing?



I noticed that too.  I think you want ShoudReturn...
___
MonoTouch mailing list
MonoTouch@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/monotouch