Re: [MonoTouch] indexPath.Row in UITableViewSource Get Cell crash the app

2014-02-27 Thread Sebastien Pouliot
Hello Gabriel, A partial crash report, without all symbols, is hard to decipher. It's also a bit hard to guess what going on outside the code you provided or the condition under which it's executed (e.g. how many cells). Could you file a bug report along with a self-contained test case ? Thanks

Re: [MonoTouch] My First IOS7 Issue yeah I think?

2013-09-20 Thread Sebastien Pouliot
The compiler warns you that `RectangleF` is a value-type, not a class. See http://stackoverflow.com/a/7902376/220643 On Fri, Sep 20, 2013 at 9:16 AM, Mike Murdock mmurd...@allmeds.com wrote: Guys, Gals I have just install Xamarian upgrade for IOS7 and have my first issue to resolve. **

Re: [MonoTouch] XCode 5

2013-06-24 Thread Sebastien Pouliot
http://blog.xamarin.com/introducing-ios-7-support/ On Mon, Jun 24, 2013 at 5:23 PM, Paul Johnson p...@all-the-johnsons.co.ukwrote: Hi, Is XCode 5 supported on the current alpha release on monotouch? Paul -- Voila! In view humble vaudevillian veteran, cast vicariously as both victim and

Re: [MonoTouch] Crash on a phone but not on the simulator

2013-06-02 Thread Sebastien Pouliot
This is a known issue [1] and was fixed (after 6.3.5 beta) and will be fixed in the next alpha/beta. Temporary workaround included in [1]. [1] https://bugzilla.xamarin.com/show_bug.cgi?id=12356 On Sat, Jun 1, 2013 at 9:25 PM, Paul Johnson p...@all-the-johnsons.co.ukwrote: Hi, Using the

Re: [MonoTouch] Issue with app publishing(refused because of private api usage _NDGetEnviron)

2013-05-02 Thread Sebastien Pouliot
Thanks, Costa On May 1, 2013, at 2:03 PM, Sebastien Pouliot sebast...@xamarin.com wrote: On Wed, May 1, 2013 at 5:24 AM, Kosta Mihajlov co...@halicea.com wrote: Hi All, We have an issue with publishing our IOS app/s on the store we are using the Application Builder

Re: [MonoTouch] Issue with app publishing(refused because of private api usage _NDGetEnviron)

2013-05-02 Thread Sebastien Pouliot
Hey Nic, I meant typo in the original email :-) It's hard to say why Apple would dislike something prefixed with ND* and D and S are close friends (on most keyboards) Sebastien On Thu, May 2, 2013 at 9:30 AM, Nic Wise n...@fastchicken.co.nz wrote: It might be a typo but... NDGetEnviron

Re: [MonoTouch] strange compilation error

2013-04-02 Thread Sebastien Pouliot
Hello Benedikt, We definitively need a test case so we can reproduce the issue. The best place to provide one is on bugzilla (and you can mark the bug and/or the attachment as private). If i remove the line HaarObjectDetector detector; the project compiles again…?! Without more context that

Re: [MonoTouch] Slow Encryption/Decryption Performance

2013-03-28 Thread Sebastien Pouliot
Xy, It's hard without data or source to say what could be wrong / slow. Is the key derivation slow ? or the encryption you do afterward ? A few things that might help... * Even with it's suffix, `AesManaged` the code will use CommonCrypto in recent (5.4+) versions of MonoTouch/Xamarin.iOS. *

Re: [MonoTouch] trouble with 1st gen ipad after latest MonoTouch update..

2013-01-29 Thread Sebastien Pouliot
Hello David, I never had issue with the same hardware. Could you file a bug report and attach the symbolicated crash reports (from Xcode) so we can get more details about what could be wrong ? Thanks Sebastien On Tue, Jan 29, 2013 at 2:08 PM, David Jeske dav...@gmail.com wrote: We're having

Re: [MonoTouch] Launching app on ipadsimulator from cmd line

2013-01-24 Thread Sebastien Pouliot
Hello Guido, The correct option is -device=2 as it match the UIDeviceFamily. All `mtouch` command line arguments are documented in [2] Sebastien [1]

Re: [MonoTouch] iOS 5 crash

2013-01-10 Thread Sebastien Pouliot
Hello Art, Could you open a bug report and add the exception and/or (symbolicated) crash logs so we can see what caused this ? Also specify exactly which version of the software you're using (latest does not tell us if it's the latest stable, beta... and the other tools being used). You can

Re: [MonoTouch] CGImage draw on MTD-OwnerdrawElement context

2012-12-27 Thread Sebastien Pouliot
Hello Benedikt, UIKit and CoreGraphics coordinates system are not identical [1]. You can easily convert between them by translating and scaling the current transform [2]. Happy Holidays, Sebastien [1] http://stackoverflow.com/q/10408786/220643 [2] http://stackoverflow.com/a/5716548/220643 On

Re: [MonoTouch] App crashes on device, not on simulator

2012-12-24 Thread Sebastien Pouliot
Hello Guido, When you see something like: 9 Slidy 0x00490bd2 monoeg_assertion_message (goutput.c:181) in your stacktrace it's a sign that the runtime tried to warn you about something (that often happens when not enough trampolines are available, i.e. before MT

Re: [MonoTouch] mtouch --stdout not writing to file, how to capture output?

2012-12-20 Thread Sebastien Pouliot
On Thu, Dec 20, 2012 at 3:35 AM, Xy x...@pyriformgroup.com wrote: Yes, we are using: using NUnit.Framework; Yes, we are using the runner from MonoTouch. Yes, the output shows up in Application Output in MonoDevelop, but it does not show up when we run the same tests using the mtouch command

Re: [MonoTouch] mtouch --stdout not writing to file, how to capture output?

2012-12-19 Thread Sebastien Pouliot
Hello Xy, Do you see the output when you run your tests from MonoDevelop (Application Output) ? Are you using Touch.Unit runner ? If so you might want to check [1] as there are more advanced options to automate the tests, including how to rediect the output, available to you. Regards, Sebastien

Re: [MonoTouch] Good iPhone icons sets?

2012-12-12 Thread Sebastien Pouliot
You can also create icons from SVG paths (e.g. from FontAwesome [1] or other sources) using this library / tools [2] to convert them into C# code. [1] http://fortawesome.github.com/Font-Awesome/ [2] https://github.com/spouliot/svgpath2code On Wed, Dec 12, 2012 at 7:23 AM, Nic Wise

Re: [MonoTouch] Thanks Everyone!

2012-12-03 Thread Sebastien Pouliot
first app on the App Store. (more info: www.groovepond.com) I just wanted to thank everyone in this forum for there assistance, especially Rolf, Jeff, Nic Wise, Sebastien Pouliot and anyone else who helped me. App is live on the app store https://itunes.apple.com/app/groovepond

Re: [MonoTouch] Auto network credentials

2012-11-28 Thread Sebastien Pouliot
On Wed, Nov 28, 2012 at 11:20 AM, Nic Wise n...@fastchicken.co.nz wrote: ... if anyone happens to be looking into the MT proxy code: If I set a proxy (using the iOS one, usually, but I think it happens if I do it in code too), then: GET https://api.dropbox.com etc (this works) GET

Re: [MonoTouch] Auto network credentials

2012-11-28 Thread Sebastien Pouliot
On Mon, Nov 26, 2012 at 2:25 AM, Brad Moore b.mo...@4pilabs.com.au wrote: Hey Trying to load some data off my server (xml data). I normally just use HttpWebRequest as I can set the utomaticDecompression to DecompressionMethods.GZip | DecompressionMethods.Deflate in order to use gzip

Re: [MonoTouch] Auto network credentials

2012-11-28 Thread Sebastien Pouliot
at 4:50 PM, Sebastien Pouliot sebast...@xamarin.com wrote: On Wed, Nov 28, 2012 at 11:20 AM, Nic Wise n...@fastchicken.co.nz wrote: ... if anyone happens to be looking into the MT proxy code: If I set a proxy (using the iOS one, usually, but I think it happens if I do it in code too

Re: [MonoTouch] Invalid binary when uploading my MonoTouch app

2012-11-14 Thread Sebastien Pouliot
On Wed, Nov 14, 2012 at 3:57 PM, Brett Spurrier brett.spurr...@gmail.com wrote: Ugh...Upgraded MonoTouch to 6.0.7 did the trick. I'm glad if it works now but I seriously doubt it has something to do with the 6.0.7 update. Invalid Launch Image - Your app contains a launch image with a size

Re: [MonoTouch] Invalid binary when uploading my MonoTouch app

2012-11-14 Thread Sebastien Pouliot
On Wed, Nov 14, 2012 at 4:05 PM, Sebastien Pouliot sebast...@xamarin.com wrote: On Wed, Nov 14, 2012 at 3:57 PM, Brett Spurrier brett.spurr...@gmail.com wrote: Ugh...Upgraded MonoTouch to 6.0.7 did the trick. I'm glad if it works now but I seriously doubt it has something to do

Re: [MonoTouch] New SSL cert error with MT6

2012-10-16 Thread Sebastien Pouliot
an exception for https but not for http: using (var webClient = new System.Net.WebClient()) { return webClient.DownloadString(https://api.imgur.com/2/stats;); } (Sorry for the delay, we just had a new baby and I haven't been near a computer) On Sun, Sep 30, 2012 at 7:20 AM, Sebastien Pouliot

Re: [MonoTouch] Any idea what this could be?

2012-10-13 Thread Sebastien Pouliot
can't use 5.2.13, although I guess 5.4/6.0 could exhibit the same problem. Dino -Original Message- From: Sebastien Pouliot [mailto:sebast...@xamarin.com] Sent: Friday, October 12, 2012 21:52 To: Dean Cleaver Cc: monotouch@lists.ximian.com Subject: Re: [MonoTouch] Any idea what

Re: [MonoTouch] Any idea what this could be?

2012-10-13 Thread Sebastien Pouliot
). Sebastien Dino -Original Message- From: Sebastien Pouliot [mailto:sebast...@xamarin.com] Sent: Saturday, October 13, 2012 09:41 To: Dean Cleaver Cc: monotouch@lists.ximian.com Subject: Re: [MonoTouch] Any idea what this could be? On Fri, Oct 12, 2012 at 11:38 PM, Dean Cleaver

Re: [MonoTouch] BindingListT on MonoTouch

2012-10-12 Thread Sebastien Pouliot
Hello Artur, It was only added in 'master' (for the next* major release) and not the the 'ios6' branch where the maintenance releases are done. I'll find/review the commit but it looks like it would be safe to backport to the maintenance branch. Regards, Sebastien * no alpha are yet available

Re: [MonoTouch] Any idea what this could be?

2012-10-12 Thread Sebastien Pouliot
On Fri, Oct 12, 2012 at 9:11 PM, Dean Cleaver dean.clea...@xceptionsoftware.com wrote: Craig, I went from version 5.2.12. I didn’t know 6.0.4 was out, until I re-started MonoDevelop after installing 5.2.12 again, but I see it only changes a compiler setting for something specific. Am

Re: [MonoTouch] New SSL cert error with MT6

2012-09-30 Thread Sebastien Pouliot
Kris, The certificate validation process is delegated to iOS (that's where the 0x5 error comes from). The root certificate it trust can vary a bit by versions of iOS (the list gets expanded). A quick way to see if iOS itself trust the certificate is to use Safari (on the same device) and try the

Re: [MonoTouch] Slow compile time for device - dsymutil taking a long time

2012-09-26 Thread Sebastien Pouliot
On Wed, Sep 26, 2012 at 12:51 PM, AndyW andywh...@gmail.com wrote: Hi guys, I've recently upgraded to XCode 4.5 and MonoTouch 6, but I'm experiencing a problem when I build for my actual device. The following part of the build process is taking at least 5 minutes when building Debug for the

Re: [MonoTouch] SQLite | sqlite-net and threads

2012-09-21 Thread Sebastien Pouliot
On Fri, Sep 21, 2012 at 6:30 AM, Phil Cockfield p...@cockfield.net wrote: I'm seeing my app crash when I'm using SQLite (via the sqlite-net ORM) when invoking a connection made on one thread from another thread (via a TPL Task). Nic pointed me to some documentation for SQLite that talked

Re: [MonoTouch] TypeInitializationException on device

2012-09-20 Thread Sebastien Pouliot
if they are explicitly used. Yes (and make sure the method that calls them is called if you use Link all, the default Link SDK is fine). Thanks! Sebastien On Mon, Sep 17, 2012 at 12:38 PM, Sebastien Pouliot sebast...@xamarin.com wrote: Hello Len, On Mon, Sep 17, 2012 at 3:13 PM, Len Charest l

Re: [MonoTouch] TypeInitializationException on device

2012-09-17 Thread Sebastien Pouliot
Hello Len, On Mon, Sep 17, 2012 at 3:13 PM, Len Charest l...@shingl.com wrote: When running on a device, my app is throwing a TypeInitializationException from the static constructor for System.Data.Services.Client.TypeSystem.The constructor is attempting to populate a DictionaryMethodInfo,

Re: [MonoTouch] MonoTouch 5.99.x Location

2012-09-14 Thread Sebastien Pouliot
On Fri, Sep 14, 2012 at 1:09 PM, Chris van Wyk ch...@jib.co.za wrote: Hi Guys, According to the Monotouch_5.99 page I should see this version in the Alpha Channel. Problem is it seems no longer there, at least does not show up any longer. Anyone know where I would be able to download it from?

Re: [MonoTouch] error MT2002: Can not resolve reference when building for iPhone

2012-09-06 Thread Sebastien Pouliot
Hello, On Thu, Sep 6, 2012 at 10:04 AM, bobreck rr...@keylogic.com wrote: Folks, I am getting a strange error when building my app for debug deployment to my test device. This does not happen when compiling for the simulator. This is because: a) the linker (reporting the error) is not used

Re: [MonoTouch] error MT2002: Can not resolve reference when building for iPhone

2012-09-06 Thread Sebastien Pouliot
won't work) but it will likely (if I'm right) solve your build-time issue. monotouch System System.Core System.Json System.Xml System.Xml.Linq I'm not sure what I need to do to resolve this. I did try clean all and rebuild all with no change. Bob On Sep 6, 2012, at 10:19 AM, Sebastien

Re: [MonoTouch] error MT2002: Can not resolve reference when building for iPhone

2012-09-06 Thread Sebastien Pouliot
command-line option: `--linkskip=IOSTChart' This goes in the Project Options Compiler Additional arguments, correct? Bob On Sep 6, 2012, at 11:53 AM, Sebastien Pouliot sebast...@xamarin.com wrote: On Thu, Sep 6, 2012 at 11:30 AM, Robert Reck rr...@keylogic.com wrote: Sebastien, Thank

Re: [MonoTouch] error MT2002: Can not resolve reference when building for iPhone

2012-09-06 Thread Sebastien Pouliot
? Bob On Sep 6, 2012, at 11:53 AM, Sebastien Pouliot sebast...@xamarin.commailto:sebast...@xamarin.com wrote: On Thu, Sep 6, 2012 at 11:30 AM, Robert Reck rr...@keylogic.commailto:rr...@keylogic.com wrote: Sebastien, Thank for the response. Unfortunately, I'm still fairly new

Re: [MonoTouch] App rejected because of crash

2012-09-06 Thread Sebastien Pouliot
Hello Liam, On Thu, Sep 6, 2012 at 7:53 PM, Liam Houlahan liamhoula...@gmail.com wrote: Hi Everyone I have submitted an app to the appstore and it has been rejected because it crashes. The description of when the app crashes by apple is vague and I cannot reproduce the crash. I have

Re: [MonoTouch] Crash in Mono.Data.Sqlite.UnsafeNativeMethods.sqlite3_step - opinions?

2012-08-29 Thread Sebastien Pouliot
On Wed, Aug 29, 2012 at 4:18 AM, René Ruppert rene.rupp...@gmail.com wrote: Hi, after upgrading from 5.2.13 to 5.3.6, this crash is the first thing I see in the 5.1 Simulator on Mountain Lion and this time I can reproduce it. I have pasted the full log to a Gist:

Re: [MonoTouch] System.ArgumentNullException exception when using subclassed UIViewController

2012-08-28 Thread Sebastien Pouliot
To avoid duplication: http://stackoverflow.com/q/1218/220643 Sebastien On Mon, Aug 27, 2012 at 10:03 AM, René Ruppert rene.rupp...@gmail.com wrote: Hi, sorry, I don't understand at all why this is happening. If the UIPopoverController is working without subclassing, it should also work

Re: [MonoTouch] System.ArgumentNullException exception when using subclassed UIViewController

2012-08-28 Thread Sebastien Pouliot
dxdr...@gmail.com wrote: Hi sebastien and thanks for your response, im a new with unit test could you elaborate or point me on how to implement this? Sounds really helpful Alex El 28/08/2012, a las 07:59 a.m., Sebastien Pouliot sebast...@xamarin.com escribió: To avoid duplication: http

Re: [MonoTouch] New error calling HttpWebRequest.GetRequestStream()

2012-08-23 Thread Sebastien Pouliot
Hello Kris, On Thu, Aug 23, 2012 at 12:24 AM, Kris Owens kri...@startcom.com wrote: I'm recompiling my app using MT 5.2.13, and I now get an exception calling HttpWebRequest.GetRequestStream(). I'm using the exact same call in the published version of the app and it works fine, so I don't

Re: [MonoTouch] Protocol/Delegate SizeF binding issue

2012-08-20 Thread Sebastien Pouliot
Hello Lasse, This sounds like a marshaling bug (i.e. rules differs from the simulator, i386, and the ARM-based devices). Please fill a bug report and attach (best) or link to your test case. Also state which version of MonoTouch (and iOS) you are using. Thanks Sebastien On Mon, Aug 20, 2012 at

Re: [MonoTouch] NSStringFromClass equivalent in monotouch?

2012-08-17 Thread Sebastien Pouliot
Hello Steve, Using `is` and `GetType` is the best - but it's not always possible. There's a similar question (and several answers) on stackoverflow that cover this. http://stackoverflow.com/q/11655354/220643 Sebastien On Fri, Aug 17, 2012 at 11:31 AM, Nic Wise n...@fastchicken.co.nz wrote: It

Re: [MonoTouch] need some advice on the best platform

2012-08-12 Thread Sebastien Pouliot
The error if I try to upload to the device is Initializing file service... Transferring application Finalizing file service... Installing application Installation failed: Send Message Error (error: 0xe82d) error MT1006: Could not install the application

Re: [MonoTouch] Missing string resources in OData client lib

2012-08-04 Thread Sebastien Pouliot
On Fri, Aug 3, 2012 at 8:59 PM, Len Charest l...@shingl.com wrote: The OData client library (System.Data.Services.Client.dll) does not ship with any string resources. This is bad because any non-200 level response from an OData service is materialized as an exception on the client side, and

Re: [MonoTouch] ZBar constant Binding works in Debug not in Release builds

2012-08-04 Thread Sebastien Pouliot
On Fri, Aug 3, 2012 at 3:29 PM, Nscavezze nate.scave...@gmail.com wrote: I have given up on binding the ScanditSDk and I have go the ZBar bindings working perfectly in Debug builds. The issue I am having is that in the Release build I get a null reference exception when i try and get the

Re: [MonoTouch] When to implement Foo(IntPtr) constructors

2012-08-02 Thread Sebastien Pouliot
wrote. We're looking at better solution to debug this and, based on this, we should be able to propose some patterns to help (to avoid and/or fix them). Sebastien René Am 31.07.2012 um 17:47 schrieb Sebastien Pouliot sebast...@xamarin.com: Hello Adam, Thanks for the bug report / test case

Re: [MonoTouch] Can't connect device and debugging failed.

2012-08-01 Thread Sebastien Pouliot
Hello, Can you tell us a bit more about: * what version of MonoTouch you upgraded to ? * what version of MonoDevelop you're using ? * what version of OSX you're using ? Thanks Sebastien On Wed, Aug 1, 2012 at 4:20 AM, diviner divinerc...@gmail.com wrote: I want to do debugging on device due to

Re: [MonoTouch] When to implement Foo(IntPtr) constructors

2012-07-31 Thread Sebastien Pouliot
it is being resurrected. -- Adam Kemp adam.k...@ni.com (512) 683-6058 Nic Wise n...@fastchicken.co.nz wrote on 07/30/2012 01:01:26 PM: From: Nic Wise n...@fastchicken.co.nz To: Adam Kemp adam.k...@ni.com Cc: monotouch@lists.ximian.com, Sebastien Pouliot sebast...@xamarin.com, Rolf

Re: [MonoTouch] adding a Sharepoint Web Service from a Mac (Ipad app)

2012-07-31 Thread Sebastien Pouliot
Hello Chuck, There were some recent changes for NTLM in Mono itself. They might not be in Mono 2.10., i.e. only in 2.11 (I don't recall). OTOH Mono support for NTLM is incomplete, e.g. Kerberos is not supported, so not every type of windows authentication can work from Mac/Linux. Regards,

Re: [MonoTouch] Obtaining a Policy Object and Evaluating Trust in MonoTouch

2012-07-18 Thread Sebastien Pouliot
Hello, This API is not presently exposed in MonoTouch but you can see how to use it in [1]. That's the code that both MonoTouch and MonoMac use to verify the X.509 certificates when doing SSL/TLS connections. Sebastien [1]

Re: [MonoTouch] Play sound on splash image screen

2012-07-17 Thread Sebastien Pouliot
Hello, MonoTouch (or any other iOS) apps do not show their splash screen (i.e. launch images), iOS itself does that while the application is being loaded. This means there will always be a delay before any of the application code is being executed. Sebastien On Tue, Jul 17, 2012 at 6:00 AM,

Re: [MonoTouch] Hardware accelerated crypto in MT 5.3?

2012-07-16 Thread Sebastien Pouliot
Hello René, Several answers inline... On Tue, Jul 10, 2012 at 8:39 AM, René Ruppert rene.rupp...@gmail.com wrote: On iOS this could default to the native implementation - I really would like to know if it WILL. Are they compatible? Yes. The .NET crypto stack is pluggable (new or replacement

Re: [MonoTouch] String named monotouch assembly

2012-07-16 Thread Sebastien Pouliot
Geoff, Future* versions of MonoTouch will include a strongnamed monotouch.dll assembly. Regards, Sebastien * it might not be in 5.4 On Fri, Jul 13, 2012 at 10:34 AM, Ergwun geoff.bat...@nicta.com.au wrote: Thanks for your reply, Alan. I realize that assembly identification and

Re: [MonoTouch] Support for multiple installations of MonoTouch?

2012-07-16 Thread Sebastien Pouliot
Hello René, You can install different MonoTouch versions in separate directories, e.g. /Developer/MonoTouch-5.2.12/ /Developer/MonoTouch-5.2.12-hoxfix/ /Developer/MonoTouch-5.3.3/ Then tell MonoDevelop which one to use with: - MonoDevelop menu - Preferences... - SDK Locations - MonoTouch SDK

Re: [MonoTouch] Guid.Parse doesn't seem to exist with Reflection

2012-07-16 Thread Sebastien Pouliot
Hello, It's likely linked away since it's used thru reflection (and the linker can't mark it as required). You can confirm this by trying to link sdk on the simulator (faster) or don't link on devices. Regards, Sebastien On Mon, Jul 16, 2012 at 11:51 AM, Rolf Bjarne Kvinge r...@xamarin.com

Re: [MonoTouch] ERROR Build as Release

2012-06-21 Thread Sebastien Pouliot
I'm assuming you did the binding library: /Users/pos/Desktop/binding/VPC_MonoTouch/NextFrameWorkBindingLibrary.dll If you expand the static library (.a) you should see a libXXX.linkwith.cs file. This is where the [LinkWith] attribute is located. You'll need to add: Frameworks = CoreGraphics

Re: [MonoTouch] ERROR Build as Release

2012-06-21 Thread Sebastien Pouliot
If you're using a Makefile then you're likely not using the new binding project, which includes LinkWith support. Try adding: -gcc_flags=-framework CoreGraphics to your project's Options, iPhone Build, inside the additional mtouch arguments. This will do the same as [LinkWith] does (but you'll

Re: [MonoTouch] Problem with MonoTouch 5.3.4 (beta)

2012-06-20 Thread Sebastien Pouliot
Petr, UIImage is mostly a small wrapper around CoreGrpahics CGImage (which is thread safe). We had confirmation (from Apple) that UIImage itself is also thread safe and the check was removed (in this instance) for the next MonoTouch release. Regards, Sebastien On Wed, Jun 20, 2012 at 6:03 AM,

Re: [MonoTouch] XML Serialization and writing to a file in MOnoDevelop with C#

2012-06-19 Thread Sebastien Pouliot
UIAlertView uvy=new UIAlertView(Notification, Invalid Credentials! Please try again!, null, OK, null); Try removing the last `null` parameter since it's a `params` and should not be required. Sebastien p.s. this code was changed in 5.3.x and should not throw an NRE anymore, even if there's

Re: [MonoTouch] XML Serialization and writing to a file in MOnoDevelop with C#

2012-06-19 Thread Sebastien Pouliot
Hello, Try to pinpoint where the issue is. The NRE is a consequence, not the real issue. E.g. Add a breakpoint on string clientcode=txtClientCode.Text; then look if the file exists (easy, at least on the simulator) and is non-empty. That will tell you if you were able to serialize correctly

Re: [MonoTouch] UIWebView and forcing a proxy

2012-06-17 Thread Sebastien Pouliot
Hello, ASIHttpRequest [1] is a separate framework that is not (presently) binded in MonoTouch. You can either do the bindings yourself, like any other ObjectiveC library. It does not seems to be very complication (at least for your scenario) [2] so a partial binding should be enough. Or you can

Re: [MonoTouch] UIWebView and forcing a proxy

2012-06-17 Thread Sebastien Pouliot
forgot to paste 2nd link On Sun, Jun 17, 2012 at 1:29 PM, Sebastien Pouliot sebast...@xamarin.com wrote: Hello, ASIHttpRequest [1] is a separate framework that is not (presently) binded in MonoTouch. You can either do the bindings yourself, like any other ObjectiveC library. It does

Re: [MonoTouch] Infinite loop and crash when calling native library - the ghost of bug #707?

2012-06-14 Thread Sebastien Pouliot
Hello Daniel, Such recursion crashes often occurs when the native library is not included with the application. Please ensure that you're effectively linking with the static library in your device builds. Many people (Xamarin and otherwise) are at the WWDC this week (and network connectivity

Re: [MonoTouch] Odd SSL error - any ideas?

2012-05-31 Thread Sebastien Pouliot
try them with a build of 5.3.3 of MT, see if that makes any difference. On Mon, May 28, 2012 at 2:02 PM, Sebastien Pouliot sebast...@xamarin.com wrote: Maybe some devices / ISP / cell providers are more likely to have networking issues. Try to get keep track of the data maybe some pattern

Re: [MonoTouch] Odd SSL error - any ideas?

2012-05-28 Thread Sebastien Pouliot
Hello Nic, On Mon, May 28, 2012 at 8:30 AM, Nic Wise n...@fastchicken.co.nz wrote: This is a bit of an oddball one, and not one I can reproduce. 20120528/113316: URL: https://bbsc.freeagent.com/verify 20120528/113317: Ex in Verify: Error getting response stream (Write: The authentication or

Re: [MonoTouch] Odd SSL error - any ideas?

2012-05-28 Thread Sebastien Pouliot
...@fastchicken.co.nz wrote: thanks Sebastien - that makes sense. It appears to only happen with a small number of my customers - a VERY small number. I wonder if it's a device issue On Mon, May 28, 2012 at 1:52 PM, Sebastien Pouliot sebast...@xamarin.com wrote: Hello Nic, On Mon, May 28, 2012 at 8:30

Re: [MonoTouch] AVAssetImageGenerator.CopyCGImageAtTime

2012-05-24 Thread Sebastien Pouliot
Hello, On Thu, May 24, 2012 at 10:21 PM, Baramuse baram...@gmail.com wrote: Hi ! I'm starting using the AVFoundation, and still trying to do basic operations. So please forgive me if the answers seems obvious to you. I've done some research, and could not find one on my own. So, I'm

Re: [MonoTouch] Bindings for PopoverBackgroundType

2012-05-22 Thread Sebastien Pouliot
Hello Drew, Can you confirm that your code work as expected on 5.3.x ? If so the code is small and I can share it with you. Regards, Sebastien On Mon, May 21, 2012 at 9:59 PM, Drew Greenwell dgreenw...@leapfroginteractive.com wrote: Made some changes but, still having no effect. Should I be

Re: [MonoTouch] Trouble building project for Ad-Hoc deploy

2012-05-17 Thread Sebastien Pouliot
Linking SDK only for assembly /Users/cdodge/dev/Currents/MyApp/MyApp.App.Touch/bin/iPhone/Release/MyAppMobileAppTouch.exe into /Users/cdodge/dev/Currents/MyApp/MyApp.App.Touch/bin/iPhone/Release/MyAppAppTouch.app error MT2002: Can not resolve reference: System.Void

Re: [MonoTouch] MT 5.3.3

2012-05-16 Thread Sebastien Pouliot
Hello Wally, On Wed, May 16, 2012 at 11:23 AM, Wally McClure theevilprogram...@hotmail.com wrote: Sebastien, I went back to 5.2.11.  I did some more testing and discovered that the bug seems to only happen in the emulator.  It seems to work fine on the device that I am testing with.  How big

Re: [MonoTouch] My Ipad app doesn't start in some countries.

2012-05-15 Thread Sebastien Pouliot
On Tue, May 15, 2012 at 11:36 AM, Art coderproje...@gmail.com wrote: My iPad app doesn't start in some countries.   Based on the user reports, Turkey is the only country right now. Is there anything I can do to repeat the crash. Try changing your device settings's Region Format to Turkish

Re: [MonoTouch] My Ipad app doesn't start in some countries.

2012-05-15 Thread Sebastien Pouliot
Hello Art, Can you fill a bug report with a test case we can try ? Just curious if the issue is (partially) inside the class libraries, e.g. a culture aware string manipulation. Thanks Sebastien On Tue, May 15, 2012 at 3:41 PM, dotnet projects coderproje...@gmail.com wrote: I forgot to

Re: [MonoTouch] MT 5.3.3

2012-05-15 Thread Sebastien Pouliot
Hello Wally, On Tue, May 15, 2012 at 4:32 PM, Wally McClure theevilprogram...@hotmail.com wrote: I was working with the MT 5.3.3 version.  I ran into a strange issue.  I created a UITableViewDelegate.  When I implemented my RowSelected method, the app would crash.  I went back to 5.2.11 and

Re: [MonoTouch] Ssl socket

2012-05-13 Thread Sebastien Pouliot
On Sun, May 13, 2012 at 5:40 AM, Slicc steven_liccia...@hotmail.com wrote: Is it possible to create a secure socket connection from monotouch. I understand that nettcp is not possible, but are there other options? Sslstream for example? There's no suport for SSL/TLS on a socket (in MonoTouch,

Re: [MonoTouch] NSLocale preferredLanguages empty?

2012-05-10 Thread Sebastien Pouliot
Hello John, I have 33 values myself. Can you tell us how you got this ? Simulator, devices ? which version of MonoTouch ? Even better for a small, self-contained test case attached to a bug report on http://bugzilla.xamarin.com That will make sure we're testing the same thing :-) Regards,

Re: [MonoTouch] Where is uttype in monotouch

2012-05-09 Thread Sebastien Pouliot
Hello Felix, Normally the NSString constants comes with the associated bindings. They are loaded from Apple code, i.e. they are not strings in MonoTouch code, so you're always sure to get the same value. I did not see (quick check) bindings for UTType so the constants might be missing from

Re: [MonoTouch] Crash in MonoTouch.Foundation.NSArray.ArrayFromHandle[NSDictionary] (IntPtr handle)

2012-04-30 Thread Sebastien Pouliot
Hello Phillipe, On Mon, Apr 30, 2012 at 8:24 AM, activa phili...@activa.be wrote: Ok, I finally managed to get a crash log, and it wasn't related to the map view at all. The crash happens when calling XDocument.Load() with a URL. This is the crash log: That's the managed stack trace (not a

Re: [MonoTouch] Crash in MonoTouch.Foundation.NSArray.ArrayFromHandle[NSDictionary] (IntPtr handle)

2012-04-30 Thread Sebastien Pouliot
the data with an async HttpWebReqeust, then load it into the XDocument.  That gives you a lot more granular control over identifying and handling exceptions On Mon, Apr 30, 2012 at 7:54 AM, Sebastien Pouliot sebast...@xamarin.com wrote: Hello Phillipe, On Mon, Apr 30, 2012 at 8:24 AM, activa

Re: [MonoTouch] The registrar cannot marshall parameter of type error when building for phone with latest alpha

2012-04-28 Thread Sebastien Pouliot
On Sat, Apr 28, 2012 at 2:53 PM, slodge m...@slodge.com wrote: I'm getting this error when rebuilding some mvvmcross samples after updating several things from the latest alpha channel. Error MT4105: The registrar cannot marshal the parameter of type `MonoTouch.Foundation.NSAction` in

Re: [MonoTouch] IAsyncResult exception on device, on simulator is ok

2012-04-28 Thread Sebastien Pouliot
of MonoTouch you're using. Sebastien p.s. please always c.c. the mailing-list as any answer might prove useful to others in the future. -Original Message- From: Sebastien Pouliot [mailto:sebast...@xamarin.com] Sent: Friday, April 27, 2012 9:35 AM To: Mike Murdock Cc: monotouch

Re: [MonoTouch] IAsyncResult exception on device, on simulator is ok

2012-04-27 Thread Sebastien Pouliot
No. They were two different workarounds. Using 'false' was much better (than disabling linking) and the correct fix. Sebastien On Thu, Apr 26, 2012 at 9:18 AM, mgmiphone mmurd...@allmeds.com wrote: So what do we mean when you don't use Linker  Does it mean iar.AsyncWaitHandle.WaitOne(15,true)

Re: [MonoTouch] Using ImageOptim / ImageAlpha in the MT build cycle

2012-04-27 Thread Sebastien Pouliot
//Platforms/iPhoneOS.platform/Developer/usr/bin/iphoneos-optimize Then I can make mycompressionstep.sh and do whatever I want in there. If I dont set it up, it does the default... On Thu, Apr 26, 2012 at 17:56, Sebastien Pouliot sebast...@xamarin.com wrote: Hello Nic, I had a very quick look

Re: [MonoTouch] MKMapView crashing on all my customer's iPads, runs fine on ours

2012-04-26 Thread Sebastien Pouliot
Bonjour Philippe, Do you have any crash logs ? If so can you open a bug report at http://bugzilla.xamarin.com and attach them to it ? We'll look at them asap. Also (long shot) but do you use Console.WriteLine in your application ? If you're using an old (before 5.2.4) MonoTouch then non

Re: [MonoTouch] What was in the update?

2012-04-12 Thread Sebastien Pouliot
If you installed 5.2.10 then the releases notes are available at: http://docs.xamarin.com/ios/releases/MonoTouch_5/MonoTouch_5.2#MonoTouch_5.2.10 note: 5.2.11 is not yet released Sebastien On Thu, Apr 12, 2012 at 1:16 PM, MojoDK m...@fpr.dk wrote: The link you refer to does not say anything

Re: [MonoTouch] Error with Namespace System.Drawing.Color

2012-04-10 Thread Sebastien Pouliot
Hello, The link would be: http://iosapi.xamarin.com/?link=T%3aSystem.Drawing.Color and it clearly states System.Drawing.Color Structure, i.e. not namespace. This means you cannot do something like using System.Drawing.Color; is C#. The namespace of the Color *structure* is named System.Drawing

Re: [MonoTouch] update to MonoDevelop 2.8.8.4 makes our app crash

2012-04-10 Thread Sebastien Pouliot
Hello, On Mon, Apr 9, 2012 at 4:44 PM, Conway Wieler conway.wie...@librestream.com wrote: I updated my MonoDevelop to 2.8.8.4 and now the Debug build of our app crashes during startup with an Unable to resolve pinvoke method error. The Release build still works properly. Our app has a bunch of

Re: [MonoTouch] update to MonoDevelop 2.8.8.4 makes our app crash

2012-04-10 Thread Sebastien Pouliot
IIRC there was a change made for iPad (only) applications since Apple now enforce them (when submitted to the AppStore) to use ARMv7. On Mon, Apr 9, 2012 at 11:44 PM, Conway Wieler conway.wie...@librestream.com wrote: I continued to investigate and found the problem. I just happened to notice

Re: [MonoTouch] How can this code cause those exceptions? Trampolines problem?

2012-04-09 Thread Sebastien Pouliot
to be the case for the crash you're experiencing Grüße, René Am 09.04.2012 um 00:09 schrieb Sebastien Pouliot sebast...@xamarin.com: Hello René, This (generated) Trampoline* code is new (well changed) in 5.3.x so you might be (the first) to hit a bug on it. I'll try to reproduce this and ensure

Re: [MonoTouch] Crash problem

2012-04-08 Thread Sebastien Pouliot
Dean, From your description things seems to be correct. It would be helpful if you could create a small, self-contained, test case that shows this issue and attach it to a bug report (mark it private if needed). Thanks Sebastien On Sat, Apr 7, 2012 at 2:35 PM, Dean Cleaver

Re: [MonoTouch] How can this code cause those exceptions? Trampolines problem?

2012-04-08 Thread Sebastien Pouliot
Hello René, This (generated) Trampoline* code is new (well changed) in 5.3.x so you might be (the first) to hit a bug on it. I'll try to reproduce this and ensure it get fixed in the next alpha/beta releases. Regards, Sebastien On Sun, Apr 8, 2012 at 10:15 AM, René Ruppert

Re: [MonoTouch] PresentViewController crashes on real iPhone

2012-04-08 Thread Sebastien Pouliot
Hello, On Sun, Apr 8, 2012 at 11:55 AM, Mg mgre...@cinci.rr.com wrote: I have an app that has been running fine on the simulator, but crashes on a real device. I have a button on my main screen that in its touchupinside handler is attempting to call presentviewcontroller to display another

Re: [MonoTouch] MT 5.3.2 using ServiceStack.Text Json Deserialization Fails

2012-03-30 Thread Sebastien Pouliot
Hello Bobby, On Fri, Mar 30, 2012 at 2:45 PM, Bobby Johnson bobby.john...@gmail.com wrote: I am running the alfa channel and noticed that my code runs locally fine but fails on the device with the following error: System.ExecutionEngineException: Attempting to JIT compile method

Re: [MonoTouch] Monotouch.Dialog MultiLineElement

2012-03-28 Thread Sebastien Pouliot
Hello, It strangely remind me of something... Can you give us a string that shows this ? If so please open a bug report [1] with this information and we'll look into it. Also include the version of MonoTouch you're currently using. Regards, Sebastien [1] http://bugzilla.xamarin.com On Wed,

Re: [MonoTouch] Any idea what could cause this crash?

2012-03-22 Thread Sebastien Pouliot
On Thu, Mar 22, 2012 at 11:52 AM, René Ruppert rene.rupp...@googlemail.com wrote: Does the 5.3.2 alpha contain all the fixes that are in 5.2.10? http://docs.xamarin.com/ios/releases/MonoTouch_5/MonoTouch_5.3#MonoTouch_5.3.2 Sebastien ___ MonoTouch

Re: [MonoTouch] Null Reference in 5.2.9

2012-03-20 Thread Sebastien Pouliot
Hello Aaron, This looks to be the same issue as #3960 [1] and was fixed in MonoTouch 5.2.10. Please fill a bug report if you can still duplicate it after the update. Regards, Sebastien [1] https://bugzilla.xamarin.com/show_bug.cgi?id=3960 On Tue, Mar 20, 2012 at 12:03 PM, aknabb

Re: [MonoTouch] Object reference not set exception when calling UIView.Animate

2012-03-18 Thread Sebastien Pouliot
Hello, This was reported in bug #3950, along with a reproducable test case, and is now fixed. The workaround is to avoid having a null parameter for the `completion` parameter (it can be replaced with a empty method) so a missing null check won't cause the exception you're hitting. Regards,

Re: [MonoTouch] Object reference not set exception when calling UIView.Animate

2012-03-18 Thread Sebastien Pouliot
On Sun, Mar 18, 2012 at 4:48 PM, Krumelur rene.rupp...@gmail.com wrote: By now fixed you mean now in 5.2.9? No. My answer to Dennis was about the issue he described from using 5.2.9. Because I'M hitting the same problem and it has nothing to do with the completion handler. I don't even use

Re: [MonoTouch] MonoTouch and iOS 5.1

2012-03-13 Thread Sebastien Pouliot
On Tue, Mar 13, 2012 at 1:12 PM, MilkyJoe leigh.bow...@curvenet.co.uk wrote: Darn it. My entire logging class is written around the console! Do we know why Apple has made this change? No we don't (at least not yet). Being able to log to the console has really helped me to get to the bottom

  1   2   >