Re: [MonoTouch] App size (MT3 vs MT4)

2011-08-10 Thread Sebastien Pouliot
Hello, Both MonoTouch 3.x and 4.x includes the MonoLinker which can shrink your application. The latest (Xamarin's) releases of MonoTouch 4 also includes several enhancements. See http://spouliot.wordpress.com/2011/07/21/smaller-monotouch-applications/ for a sample case. However it's very hard

Re: [MonoTouch] Supporting only Arm v7 builds for the Ipad

2011-08-15 Thread Sebastien Pouliot
Yes. 1. right click your project, select Options menu 2. go to iPhone Build Options, select Avanced tab 3. click Use LLVM optimizinf compiler checkbox 4. select ARMv7 in the combobox 5. (optionallly) click Use Thumb-2... to get smaller binaries (at the expense of some performance). I do not

Re: [MonoTouch] app exits whenever i try to enter some text

2011-08-22 Thread Sebastien Pouliot
Hello, Please take the time to fill a bug report and include a small, self-contained, test case and someone will have a look into the issue, http://bugzilla.xamarin.com Thanks! Sebastien On Mon, Aug 22, 2011 at 9:05 PM, matthieugd matth...@live.com wrote: Got the same problem, fixed it by

Re: [MonoTouch] monotouch-fixes.dylib (Problem on when running from MonoDevelop)

2011-08-24 Thread Sebastien Pouliot
Hello John, We will need more information. The message about monotouch-fixes.dylib is not the source of your crash. This is a fix for something else (OpenGL signals wrt simulator IIRC). GDB will complain about it but you'll only see that if your application crash (elsewhere). Please fill a bug

Re: [MonoTouch] Linking problem target iphone

2011-08-24 Thread Sebastien Pouliot
Oops, I had already answered but forgot the c.c. the list. Here was my answer (since it could help other people too). Hello Chuck, Are you linking in the simulator builds ? By default simulator builds do not use the linker (so the builds are faster). The device builds defaults are to Link

Re: [MonoTouch] RSA key pair generation

2011-08-25 Thread Sebastien Pouliot
Hello, On Thu, Aug 25, 2011 at 3:16 AM, Nic Wise n...@fastchicken.co.nz wrote: This could be worth a look: http://iphonedevelopment.blogspot.com/2009/04/crypto-library.html That looks like an ObjectiveC wrapper. Since CommonCrypto is a C-based API it would be easier to p/invoke directly.

Re: [MonoTouch] Can't compile for the phone

2011-08-25 Thread Sebastien Pouliot
Yep, it's SDK - that's where the gcc compilers we use are provided. Every cases, so far, were from iOS 5 beta 6 (SDK). Please let us know if this is different for you! Sebastien p.s. my original answer is blocked for moderation since it included the original stack trace (which is HUGE ;-) On

Re: [MonoTouch] System.MissingMethodException: Method not found: 'System.Type.op_Equality'.

2011-08-27 Thread Sebastien Pouliot
Hello Guido, System.Type.op_Equality is new in .NET 4.0 and (iirc) is used by the compiler. So your /Users/guivho/Mono/MCSubs/bin/Debug/MCSubs.dll is likely compiled against .NET 4.0. MonoTouch has only partial support for 4.0 (otherwise it looks like the Silverlight profile). To fix this you

Re: [MonoTouch] Installation failed: AMDeviceInstallApplication...

2011-08-28 Thread Sebastien Pouliot
Hello, Such errors means your device refused to install the application after its transfer. Please open a bug report on http://bugzilla.xamarin.com * Include all the exact versions numbers (i.e. iOS device, MonoTouch, MonoDevelop, XCode, OSX) * The device logs about your application

[MonoTouch] Fwd: Are there any known issues with WebClient and SSL?

2011-08-30 Thread Sebastien Pouliot
eventually and, with a bit of luck, the right email address ;-) -- Forwarded message -- From: Sebastien Pouliot sebast...@xamarin.com Date: Wed, Aug 24, 2011 at 2:52 PM Subject: Re: [MonoTouch] Are there any known issues with WebClient and SSL? To: Nic Wise n...@fastchicken.co.nz Hello

Re: [MonoTouch] Are there any known issues with WebClient and SSL?

2011-08-31 Thread Sebastien Pouliot
Right! I had looked at the mail settings options, but not in the Labs section. Thanks Sebastien On Wed, Aug 31, 2011 at 3:54 AM, Nic Wise n...@fastchicken.co.nz wrote: Sebastian said there was something left turned on in 4.1 which caused it. Next version was going to remove it. It was just

Re: [MonoTouch] Get error when building distribution build

2011-09-01 Thread Sebastien Pouliot
Hello, On Thu, Sep 1, 2011 at 9:01 AM, Anita H. bluuema...@gmail.com wrote: Hi, I am getting the following error when building the distribution build of my app: Error: Compressing the resources failed: Unable to rename

Re: [MonoTouch] Condition !is_wrapper not met

2011-09-02 Thread Sebastien Pouliot
Hello Pavel, Please fill a bug report at http://bugzilla.xamarin.com and attach the full build log. Thanks Sebastien On Fri, Sep 2, 2011 at 7:44 AM, Pavel Sich pavel.s...@me.com wrote: Am receiving error:  Assertion at ../../../../mono/mini/aot-runtime.c:2195, condition `!is_wrapper' not met

Re: [MonoTouch] Method not found: 'MonoTouch.Foundation.RegisterAttribute..ctor'.

2011-09-05 Thread Sebastien Pouliot
Hello Guido, It's a good habit to rebuild your bindings when you update MonoTouch. Other different issues, in Messaging, have been reported in the past. Regenerating the bindings fix them too. Regards, Sebastien On Mon, Sep 5, 2011 at 9:13 AM, Guido Van Hoecke gui...@gmail.com wrote: On Sat,

Re: [MonoTouch] Drawing text containing an apostrophe

2011-09-05 Thread Sebastien Pouliot
Hello, I think you're simply running into encoding issues. Some quotes characters are not 'basic' (the old 7bits ;-) ASCII and might not be defined in MacRoman. See http://stackoverflow.com/questions/7280002/coregraphics-special-characters-not-drawn-correctly about how to use UIKit instead of

Re: [MonoTouch] Error on deploy to iOS5 B7

2011-09-06 Thread Sebastien Pouliot
Hello, Could you fill a bug report in bugzilla.xamarin.com ? Also please include whether this occurs on this single project or for any project. Thanks, Sebastien On Tue, Sep 6, 2011 at 11:44 AM, Dean Cleaver dean.clea...@xceptionsoftware.com wrote: Hi, I’m getting this the second time I

Re: [MonoTouch] Error on deploy to iOS5 B7

2011-09-07 Thread Sebastien Pouliot
, Sebastien Pouliot sebast...@xamarin.com wrote: Hello, Could you fill a bug report in bugzilla.xamarin.com ? Also please include whether this occurs on this single project or for any project. Thanks, Sebastien On Tue, Sep 6, 2011 at 11:44 AM, Dean Cleaver dean.clea...@xceptionsoftware.com wrote

Re: [MonoTouch] seting UIWebview user agent (objectiveC question)

2011-09-12 Thread Sebastien Pouliot
Hello, The 'forHTTPHeaderField' selector is mapped to the indexer of the NSMutableUrlRequest type, so requestObj [User_Agent] = Foobat/1.0; should do what you want. Sebastien On Mon, Sep 12, 2011 at 10:46 AM, dotnet projects coderproje...@gmail.com wrote: Hi, I am trying to convert the

Re: [MonoTouch] seting UIWebview user agent (objectiveC question)

2011-09-12 Thread Sebastien Pouliot
Hey, The original (objectivec) code was using NSMutableUrlRequest, not NSUrlRequest (it was also part of my previous answer ;-). FWIW you cannot change it if it's not mutable. Sebastien On Mon, Sep 12, 2011 at 11:20 AM, coderprojects coderproje...@gmail.com wrote: Hi I tried it and getting

Re: [MonoTouch] Wrapper type 'MonoTouch.MapKit.MKMapViewDelegate' is missing its native ObjectiveC class 'MKMapViewDelegate'. Please check if it's been linked.

2011-09-12 Thread Sebastien Pouliot
Hello Dennis, Could you fill a bug report at http://bugzilla.xamarin.com and include a small, self-contained, test case. I'll look to see if this works with 4.2 and if it could be a linking issue. Thanks Sebastien On Mon, Sep 12, 2011 at 8:55 PM, technohead dj_technoh...@yahoo.com wrote: Looks

Re: [MonoTouch] IPad 2 problems

2011-09-13 Thread Sebastien Pouliot
A different error code means a different reason why the device refused to let you install your application. Anyway the same drill (as before) still applies. We need a bug report, a test case and the logs to duplicate the issue. Without them we cannot fix or, at least, provide a more useful error

Re: [MonoTouch] mtouch crashing under MonoTouch 4.0.7

2011-09-13 Thread Sebastien Pouliot
Hello Tom, This affects a few* projects when building for devices only (simulator builds are fine). MonoTouch 4.2 ('beta' now,but should be moved to 'stable' soon) already has the fix for this. More details in: http://bugzilla.xamarin.com/show_bug.cgi?id=604 Regards, Sebastien * no one could

Re: [MonoTouch] JSON Serialization

2011-09-16 Thread Sebastien Pouliot
Hello Shawn, You can add -v -v -v options to additional mtouch arguments (right click on your project, select Option, then iPhone Build) to enable a more verbose builds. Anything that ends up non-useful, like mtouch failed with no output (1), should be reported as a bug report on

Re: [MonoTouch] Cannot run App on Device using Upload to Device

2011-09-19 Thread Sebastien Pouliot
Hello Mark, Could you fill a bug report on http://bugzilla.xamarin.com and include the version of MonoTouch you're currently using. I remember a similar stack trace and I'll try to see if it's identical and what was its cause. Thanks Sebastien On Mon, Sep 19, 2011 at 1:51 PM, Mark Handzlik

Re: [MonoTouch] System.Reflection.Assembly.GetModules throws System.NotImplementedException on MT 4.2.1

2011-09-22 Thread Sebastien Pouliot
Hello Michal, This has been fixed just after the 4.2.1 release and will be part of future MonoTouch releases. You can try disabling the linker (i.e. set the linker option to Don't link) but you might run into bug #587 (also fixed but not part of 4.2.1) on device builds. If this happens you

Re: [MonoTouch] Deploy To Device Fails

2011-09-24 Thread Sebastien Pouliot
Hello Walt, On Fri, Sep 23, 2011 at 8:08 PM, retlaW walterszewelanc...@gmail.com wrote: I just purchased MonoTouch and MonoAndroid and am attempting to install a MonoTouch app to a real device for the first time. My Setup is Mac OSX (Lion) 10.7.1, MonoDevelop 2.8 Beta 1(2.7.20), MonoTouch

Re: [MonoTouch] [Monotouch] EncryptedXml

2011-09-27 Thread Sebastien Pouliot
Hello Pavel, System.Security.dll (which provides types inside System.Security.Cryptography.Xml) is not part of MonoTouch since it was not inside the original Silverlight profile on which Xamarin's mobile products were based. However you can likely compile this assembly from source and, with a few

Re: [MonoTouch] Change URL of webservice during runtime

2011-09-29 Thread Sebastien Pouliot
Hello Andreas, Normally the bindings you generate for your web services will include a constructor/property to allow you to specify your own URL. For more details see: http://stackoverflow.com/q/7497728/220643 Regards, Sebastien 2011/9/29 Andreas Ploetzeneder i...@ploetzeneder-it.com: hello,

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

2011-09-29 Thread Sebastien Pouliot
Hello, The linker (partially) removed the method being called. System.NotSupportedException: Linked away Could you fill a bug report for this and include the version of MonoTouch you're using. I'll have a look at this asap. Thanks, Sebastien p.s. as a temporary workaround you can try using

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

2011-09-29 Thread Sebastien Pouliot
Thanks for the report and for confirming Don't link as a workaround :-) Sebastien Le 2011-09-29 à 14:47, jowi j.wiersm...@chello.nl a écrit : Reported as Bug 1144. Using the don't link option makes it function, thanks. This way i can continue my development :) -- View this message

Re: [MonoTouch] Problem with UIButton in Custom Cell

2011-10-05 Thread Sebastien Pouliot
Hello Andreas, This looks identical to the bug http://bugzilla.xamarin.com/show_bug.cgi?id=1056 that you filled last week. Was the proposed solution not working ? Regards, Sebastien 2011/10/5 Andreas Ploetzeneder i...@ploetzeneder-it.com: Hi, attached i have a button named buttonrund,...and

Re: [MonoTouch] Wrapper type 'Monotouch.UIKIT.UIActionSheetDelegate' is missing its native Objective C class 'UIActionSheetDelegate'. Please check if its be linked

2011-10-06 Thread Sebastien Pouliot
On Thu, Oct 6, 2011 at 2:57 PM, Andreas Ploetzeneder i...@ploetzeneder-it.com wrote: ok, your snippet is to short :D can u help me with longer one? sure :) using System; using System.Collections.Generic; using System.Linq; using MonoTouch.Foundation; using MonoTouch.UIKit; namespace Sepp

Re: [MonoTouch] Sopporting ios 4 and ios 5

2011-10-08 Thread Sebastien Pouliot
Sebastien, I am using Monotouch 4.2.2 and I am still getting same error even if I set SDK version to 4.3. How do I check it is fat binary? Thanks Art On Oct 7, 2011, at 9:19 PM, Sebastien Pouliot [via MonoTouch][hidden email] wrote: Hello Art, On Fri, Oct 7, 2011 at 8:46 PM, Art [hidden email

Re: [MonoTouch] Updated to iOS 5 and now my app crashes

2011-10-15 Thread Sebastien Pouliot
Hello Andrew, I've seen a similar issue reported (yesterday). Are you building this with LLVM ? if so does it work without it ? Thanks Sebastien On Fri, Oct 14, 2011 at 7:27 PM, Andrew Young andrewdyo...@gmail.com wrote: I just upgraded my iPhone to iOS 5 and now my app crashes where it

Re: [MonoTouch] The assembly mscorlib.dll was not found or could not be loaded.

2011-10-17 Thread Sebastien Pouliot
Hello Ogden, On Fri, Oct 14, 2011 at 9:21 PM, ogden dmorri...@ueic.com wrote: Hi, I am trying to link a C library into a large MonoTouch application and have been met with some trouble... Anytime I run the app I get: The assembly mscorlib.dll was not found or could not be loaded. It should

Re: [MonoTouch] Basic TableView

2011-10-19 Thread Sebastien Pouliot
Everytime I see a table I think of MonoTouch.Dialog @ https://github.com/migueldeicaza/MonoTouch.Dialog IMHO much simpler than using Apple API and it comes with a great sample application that shows much of what it can do. There are also quite a few applications (and open source apps) that use it

Re: [MonoTouch] Cannot inherit from UIAlertView

2011-10-20 Thread Sebastien Pouliot
Hello Andrew, This was asked on stackoverflow [1] recently. The workaround is to override only the default constructor and use the properties to set all values. Not sure (yet) about the root cause, it's on my TODO but I got other bugs (without workarounds) to go thru before that. Feel free to

Re: [MonoTouch] Do the makers of Monodevelop actually test the application?

2011-10-24 Thread Sebastien Pouliot
Hello, On Mon, Oct 24, 2011 at 5:37 AM, Nic Wise n...@fastchicken.co.nz wrote: This was something to do with a phantom device and I think Sebastian fixed it (not sure which release tho!) which sounds similar, tho I'm not sure: The phantom device occurs _only_ when wireless sync is enabled in

Re: [MonoTouch] UITabBarController with UISplitViewController

2011-10-25 Thread Sebastien Pouliot
Hello Michael, On Mon, Oct 24, 2011 at 9:52 PM, Michael Muegel mike.mue...@gmail.comwrote: Sorry, Autorotate = true. From: Michael Muegel mike.mue...@gmail.com Date: Mon, 24 Oct 2011 20:44:16 -0500 To: monotouch@lists.ximian.com Subject: Re: UITabBarController with UISplitViewController

Re: [MonoTouch] MGSplitViewController

2011-10-25 Thread Sebastien Pouliot
That's awesome René! Thanks for sharing this with everyone :-) Regards, Sebastien On Tue, Oct 25, 2011 at 10:51 AM, Nic Wise n...@fastchicken.co.nz wrote: Looks nice Rene! Nice work. Just a thought on code style, you might want to remove all the this. everywhere (or not, if thats

Re: [MonoTouch] Monotouch App will not launch on Device but works in Simulator

2011-10-25 Thread Sebastien Pouliot
Hello Rick, I think your email was stuck in the moderation queue. If not then my advice from stackoverflow [1] still holds. You'll need to provide more data to enable us to help you. [1]

Re: [MonoTouch] Monotouch App will not launch on Device but works in Simulator

2011-10-26 Thread Sebastien Pouliot
for the trampolines and only linking monotouch sdk during build. Thanks, -Rick On Tue, Oct 25, 2011 at 10:00 PM, Sebastien Pouliot [via MonoTouch] [hidden email] wrote: Hello Rick, I think your email was stuck in the moderation queue. If not then my advice from stackoverflow [1] still holds. You'll

Re: [MonoTouch] Problem building when set to debug on iPhone

2011-10-27 Thread Sebastien Pouliot
Hello, Please fill a bug report at bugzilla.xamarin.com and state which version of MonoTouch you're using. Attach the full (failed) Build Output of your application. It would also be helpful if you can add -v -v -v to the Additional mtouch arguments since it might give us a few more hints

Re: [MonoTouch] System.MissingMethodException: Method not found: 'System.Type.op_Equality'.

2011-10-27 Thread Sebastien Pouliot
Hello, Just rebuild Json.NET 4.0 Release 3 from source using the 'smcs' compiler provided with MonoTouch. You can also look around (in git) since some people have already built it for MonoTouch (which could save you time). Sebastien On Thu, Oct 27, 2011 at 2:53 PM, jamminjimi

Re: [MonoTouch] UnauthorizedAccessException while accessing resources

2011-10-31 Thread Sebastien Pouliot
Hello, That's a common* mistake. *common enough so there's a Gendarme rule to catch this https://github.com/spouliot/gendarme/wiki/Gendarme.Rules.BadPractice.UseFileOpenOnlyWithFileAccessRule(2.10) Sebastien On Mon, Oct 31, 2011 at 11:21 AM, Jeff Stedfast j...@xamarin.com wrote: Hi

Re: [MonoTouch] Exception with 4.3 SDK: UITableView.MoveRows: unrecognized selector sent to instance

2011-11-01 Thread Sebastien Pouliot
Hello Ivan, This selector should be working under 4.x. Please fill a bug report and include a small, self-contained, test case. Thanks, Sebastien On Tue, Nov 1, 2011 at 12:33 PM, chebum cherniy.bu...@gmail.com wrote: Hello, I have troubles with the latest 5.0.1 build and iOS 4.3. A call to

Re: [MonoTouch] Source code drop: London Bike App source release

2011-11-02 Thread Sebastien Pouliot
Hey Nick, A great, open gesture to the community. It's a real pleasure to have you around :-) You rock! Sebastien Le 2011-11-02 à 17:21, Nic Wise n...@fastchicken.co.nz a écrit : http://www.fastchicken.co.nz/2011/11/02/london-bike-app-source-code-now-available/ Enjoy. Post questions here

Re: [MonoTouch] 5.01 BE WARNED

2011-11-03 Thread Sebastien Pouliot
Le 2011-11-02 à 09:44, Nic Wise n...@fastchicken.co.nz a écrit : True, you shouldn't have to. But bugs DO happen. At least the way back is easy. Now we just need Sebastian or Jeff to say hey, I fixed it, it'll be in 5.0.2 ;-) hey, I fixed it, it'll be in 5.0.2 Sebastien p.s. and

Re: [MonoTouch] Crashing problem: Ran out of trampolines of type 2

2011-11-04 Thread Sebastien Pouliot
Hello Nick, http://docs.xamarin.com/ios/troubleshooting#Ran_out_of_trampolines_of_type_2 You were likely clause to the limit (using 4.x) and 5.0 class libraries are a bit bigger (crossing the limit). Regards, Sebastien On Fri, Nov 4, 2011 at 4:37 AM, Nic Wise n...@fastchicken.co.nz wrote:

Re: [MonoTouch] [ERROR] FATAL UNHANDLED EXCEPTION: System.ExecutionEngineException

2011-11-04 Thread Sebastien Pouliot
It's being tested as we speak. However you should not have this exception, even with 5.0.1, if you use the linker (e.g. Link SDK assemblies only) when building your application for devices. Sebastien p.s. there's no good reason (except if you have a bug number ;-) to disable the linker for

Re: [MonoTouch] [ERROR] FATAL UNHANDLED EXCEPTION: System.ExecutionEngineException

2011-11-04 Thread Sebastien Pouliot
It could be unrelated to the bug report (but it's not 100% safe to assume the linker will remove the code causing the issue). To be certain about this please fill a bug at bugzilla.xamarin.com and include a small, self-contained, test case that you're sure cause the same exception

Re: [MonoTouch] Native library with Monotouch 5.0 (part 2)

2011-11-06 Thread Sebastien Pouliot
Hello Robert, Is your test case one of the attached files in #707 ? if not the I would appreciate if you could send us your test case and I'll try to dig up why your particular case occurs (it should not, unless something swallow the exception). It seems there's more than a single issue there

Re: [MonoTouch] Native library with Monotouch 5.0 (part 2)

2011-11-07 Thread Sebastien Pouliot
Hello Robert, I'd say pretty unlikely - but there's something unlikely going on... but that's a large set of events. The only way to resolve the mystery is to analyze a test case that demonstrate the issue. Regards, Sebastien On Mon, Nov 7, 2011 at 7:41 AM, Robert Sweitzer bsw...@gmail.com

Re: [MonoTouch] Problem with AudioPlayer on 5.x

2011-11-08 Thread Sebastien Pouliot
Hello Eric, The most obvious problem would be thread-related but it looks like you already covered that aspect with InvokeOnMainThread. The next best thing is filling a bug report [1] and include a small, self-contained, test case to have other people look at the issue. You may also want to

Re: [MonoTouch] Run Iphone App on Ipad

2011-11-08 Thread Sebastien Pouliot
Hello, You should be able to run your (almost*) any MonoTouch application on your iPad, even if developed with the iPhone in mind. Note that the evaluation (free) version of MonoTouch will only work with the iOS simulator. You'll need either the Pro or Enterprise version of MonoTouch to deploy

Re: [MonoTouch] the requested operation cannot be completed because...

2011-11-08 Thread Sebastien Pouliot
Hello, This should not be happening. Did you try Jeff's suggestion to change your project Linker behaviour option ? If you did and this did not help could you create a test case and fill a bug report on http://bugzilla.xamarin so we can have a look at this ? I'd really like to know what's going

Re: [MonoTouch] Why is System.Reflection.Emit in MonoTouch mscorlib?

2011-11-12 Thread Sebastien Pouliot
Hello Michael, This is a planned enhancement but it requires us to switch to the new compiler and version of mono. Right now MonoTouch ships with two mscorlib.dll, one for the compiler (smcs) and one for the runtime. The former is needed by the compiler (used for itself and compiled against) and

Re: [MonoTouch] Why is System.Reflection.Emit in MonoTouch mscorlib?

2011-11-12 Thread Sebastien Pouliot
the various Emit types? A hack, but at least a warning would show up w/ some useful text. -Mike On Sat, Nov 12, 2011 at 2:40 PM, Sebastien Pouliot sebast...@xamarin.com wrote: Hello Michael, This is a planned enhancement but it requires us to switch to the new compiler and version of mono

Re: [MonoTouch] Is iPhoneOSGameView timing bug still not fixed?

2011-11-22 Thread Sebastien Pouliot
Hello, It's fixed but has not yet been released. If you updated to 5.0.x then you can use the assembly attached to the bug report [1] as a workaround (it's not the same as the real fix, but it won't throw exceptions). Regards, Sebastien [1] http://bugzilla.xamarin.com/show_bug.cgi?id=1366 On

Re: [MonoTouch] dll file not loading for registration

2011-11-28 Thread Sebastien Pouliot
Hello, This is likely because your assembly refers to types that does not exists in MonoTouch base class libraries. That would result in a TypeLoadException at runtime (and in this case the error message you see would be wrong). As a general rule you need to re-compile assemblies to make them

Re: [MonoTouch] Any ideas what this is?

2011-12-06 Thread Sebastien Pouliot
Hello Dean, Are you by any chance running inside a virtual machine ? This is the only time I've seen this reported. The same sample code, again inside the simulator, did not show those errors outside a VM. Sebastien On Tue, Dec 6, 2011 at 1:42 PM, Dean Cleaver dean.clea...@xceptionsoftware.com

Re: [MonoTouch] Any ideas what this is?

2011-12-06 Thread Sebastien Pouliot
, on the simulator only. Dimitris Tavlikos Software Developer Email: jimi...@gmail.com Twitter: http://twitter.com/#!/dtavlikos Blog: http://software.tavlikos.com On 6 Dec 2011, at 9:00 PM, Sebastien Pouliot wrote: Hello Dean, Are you by any chance running inside a virtual machine

Re: [MonoTouch] Any ideas what this is?

2011-12-06 Thread Sebastien Pouliot
OSX. Don't even have any VMs running on that machine. Dino -Original Message- From: Sebastien Pouliot [mailto:sebast...@xamarin.com] Sent: Tuesday, December 06, 2011 1:00 PM To: Dean Cleaver Cc: monotouch@lists.ximian.com Subject: Re: [MonoTouch] Any ideas what this is? Hello

Re: [MonoTouch] Very weird crash

2011-12-07 Thread Sebastien Pouliot
as Preserve. Is this correct approach then? -- Pavel Sich @sichy On Wednesday, December 7, 2011 at 7:22 PM, Sebastien Pouliot wrote: Hey, Please always c.c. the mailing-list when you reply. Right now no one else with a similar issue will be able to google any solution in the future. Pavel

Re: [MonoTouch] No NSTimeInterval?

2011-12-10 Thread Sebastien Pouliot
NSTimeInterval is mapped to System.Double (i.e. `double` in C#). On Sat, Dec 10, 2011 at 6:53 PM, technohead dj_technoh...@yahoo.com wrote: Think I found a solution, comparing the property SecondsSinceReferenceDate on the NSDate objects. -- View this message in context:

Re: [MonoTouch] Exception: JIT Compile

2011-12-10 Thread Sebastien Pouliot
Hello, There are some limitations but we try to remove them, whenever possible, and can help you find workaround in the mean time. To help us do so please fill bug reports. One for each case with a test case so it can be reproduced. Thanks Sebastien On Sat, Dec 10, 2011 at 2:36 AM, Mittchel

Re: [MonoTouch] Unit Testing MonoTouch Library Project

2011-12-12 Thread Sebastien Pouliot
Hello, On Mon, Dec 12, 2011 at 8:26 AM, Nic Wise n...@fastchicken.co.nz wrote: Sebastian has done a nice bit of work around this http://spouliot.wordpress.com/ I have several blog entries on the subject (use the touch.unit category). The first one is:

Re: [MonoTouch] Application has increased with a factor 7!!!!

2011-12-12 Thread Sebastien Pouliot
Hello Danny, It's hard to see why such thing would occur without more details. Could you please fill a bug report and include the Build Output from MonoDevelop ? Also could you add -v -v -v to the extra mtouch arguments (in the project options) so we'll have more details about the exact steps

Re: [MonoTouch] Crash on device during a declare of ClientBase

2011-12-16 Thread Sebastien Pouliot
Hello Mark, It could be several reasons. A similar question was asked on stackoverflow [1] this week and while your problem might be different the instructions (to get more details) still applies. Regards, Sebastien [1] http://stackoverflow.com/q/8507579/220643 On Wed, Dec 14, 2011 at 9:56

Re: [MonoTouch] MonoTouch crash on launch on device

2011-12-19 Thread Sebastien Pouliot
Hello, Is your application using native libraries ? If so is it possible it's not available / different on one of your macs ? Also can you attach the output of: /Developer/MonoTouch/usr/bin/mtouch --logdev to your reply. E.g. start the above command from a terminal window, lauch your app (it

Re: [MonoTouch] MonoTouch crash on launch on device

2011-12-19 Thread Sebastien Pouliot
On Mon, Dec 19, 2011 at 8:27 AM, kpijnenburg kpijnenb...@supportware.nl wrote: Hi Sebastien, In response to your remark about the native libraries, i just chose Link all assemblies instead of the deafult SDK assemblies only. It's a bit confusing since there are two linkers: 1. the managed

Re: [MonoTouch] Binding to Static Framework and using Core.Bluetooth

2011-12-19 Thread Sebastien Pouliot
Hello Walt, Older (beta) releases of XCode did not ship CoreBluetooth and this has affected a few people in the past. Please verify that you have the latest XCode 4.2 installed. e.g. 4C199 on Snow Leopard and 4D199 on Lion Sebastien On Sun, Dec 18, 2011 at 12:59 PM, Walter Szewelanczyk

Re: [MonoTouch] Strange SSL/HTTPS error with WebClient

2011-12-19 Thread Sebastien Pouliot
Hello Nic, Wildcard certificates have been supported by Mono for quite some time and since it's working for other people (right?) I think it's unlikely to be related to certificate validation. Is there any way you can get the full exception ? that will confirm if this occurs at negotiation time

Re: [MonoTouch] Assistance tracing an intermittent crash

2011-12-19 Thread Sebastien Pouliot
Hello Brian, 9 PEDICATiPad 0x008ef950 monoeg_g_log (goutput.c:145) ^ that function in your stack trace means the runtime was tried to output something (a message) to you. Try to run the following in a terminal window /Developer/MonoTouch/usr/bin/mtouch --logdev Then run

Re: [MonoTouch] Newtonsoft.Json problem with Twitterizer

2011-12-21 Thread Sebastien Pouliot
Hello, It looks like your using an old and/or miscomputed version of the assembly (that requires things, like SRE, that is not available on iOS devices). See http://stackoverflow.com/q/8342567/220643 for a similar question (and answers). Regards, Sebastien On Wed, Dec 21, 2011 at 6:45 AM,

Re: [MonoTouch] NSObject Linker Issue introduced with 5.0.4

2011-12-23 Thread Sebastien Pouliot
Hello, MakeDirty does not exists in 5.0.x. This is something new in 5.1.x. My guess is that your solution was built with 5.1.x then you downgraded to 5.0.x. A MonoDevelop bug [1] (now fixed but not released) won't rebuild all dependencies when MonoTouch is updated. So the linker was analyzing a

Re: [MonoTouch] Two problem publish app in AppStore with sqlite database

2011-12-23 Thread Sebastien Pouliot
Hello, I can confirm that /usr/lib/system/libsystem_kernel.dylib does not exists on my Snow Leopard system but I do have it on Lion Sebastien On Fri, Dec 23, 2011 at 10:18 AM, johnHolmes francesco.colo...@gmail.com wrote: Snow Leopard Os X 10.6.8 -- View this message in context:

Re: [MonoTouch] Method transitionWithView missing from Transition overloads?

2012-01-10 Thread Sebastien Pouliot
Hello, This is being handled in stackoverflow http://stackoverflow.com/q/8802376/220643 Regards, Sebastien On Tue, Jan 10, 2012 at 6:22 AM, Mikkel Lønow mloe...@gmail.com wrote: Hi, Transition is a static method on UIView. The signature is correct. According to 

Re: [MonoTouch] How do you feel about cross posting to the list and Stackoverflow?

2012-01-10 Thread Sebastien Pouliot
Hello Oivvio, There's no official policy. IMO it's a lot easier to know what question is answered (or not) and makes googling a lot easier when stackoverflow can be used. OTOH the mailing-lists is the only place where you can have a long-running discussion on a subject (IRC is good for shorter

Re: [MonoTouch] Add new contact to existing group Monotouch?

2012-01-21 Thread Sebastien Pouliot
Hello, An answer was provided to your similar question on stackoverflow [1]. Regards, Sebastien [1] http://stackoverflow.com/q/8925757/220643 On Sat, Jan 21, 2012 at 2:36 AM, kramesh2005 ram...@versatile-soft.com wrote: How to Add new contact to existing group Monotouch? I try following

Re: [MonoTouch] dataWithContentsOfMappedFile ?

2012-01-24 Thread Sebastien Pouliot
Hello Matt, Unlikely since dataWithContentsOfMappedFile [1] was deprecated in iOS5 (and OSX 10.7). You should look at using dataWithContentsOfFile:options:error: which is implemented in recent versions of MonoTouch as: public static NSData FromFile (string path,

Re: [MonoTouch] linker issue?

2012-01-25 Thread Sebastien Pouliot
Hello Pavel, This unlikely to be a linker issue (even less if a [Preserve] attribute was added). You can confirm this by using the same linker settings in the simulator builds. If it works then this is not a linker issue but, more likely, one of the AOT/generic limitations. Regards, Sebastien

Re: [MonoTouch] Application executable is missing a required architecture. at least one of the following architecture(s) must be present: armv7

2012-01-25 Thread Sebastien Pouliot
Hello, Note that enabling LLVM for the simulator is a no-op - i.e. it does nothing since the x86 JIT is used for the simulator. Regards, Sebastien On Wed, Jan 25, 2012 at 12:46 PM, trip andywh...@gmail.com wrote: Thanks that worked, but, Enabling LLVM previously would work in the Simulator

Re: [MonoTouch] Save UIImage as png from another thread

2012-01-30 Thread Sebastien Pouliot
Hello, Try to replace the following code: UIImageimg = UIImage.FromFile( path ).Scale( 250,250 ); NSError err; img.AsPNG().Save( filename, true, out err ); with: NSError err; using

Re: [MonoTouch] Antwort: Re: Get IMEI from Device (iPad / iPhone)

2012-02-01 Thread Sebastien Pouliot
Hello, You can use the MAC address of your device. See http://stackoverflow.com/q/9062296/220643 Regards, Sebastien On Wed, Feb 1, 2012 at 6:57 AM, sebastiankell...@cs-ag.de wrote: Hi, hmmm, that's bad Is there another way to identify my devices? kind regards [image: Inactive hide

Re: [MonoTouch] Antwort: Re: Antwort: Re: Get IMEI from Device (iPad / iPhone)

2012-02-01 Thread Sebastien Pouliot
identifier? On Wed, Feb 1, 2012 at 2:57 PM, sebastiankell...@cs-ag.de wrote: Hi, thank you for your help. I think im going to use the Mac-Adress. kind regards [image: Inactive hide details for Sebastien Pouliot sebast...@xamarin.com]Sebastien Pouliot sebast...@xamarin.com *Sebastien

Re: [MonoTouch] System.Net.WebClient.UploadProgressChanged

2012-02-04 Thread Sebastien Pouliot
Hello Benedikt, Mono's WebClient never calls that events (and MonoTouch inherits this behavior). It's a known issue: http://bugzilla.xamarin.com/show_bug.cgi?id=3100 You can add yourself on c.c. on the bug report to be notified of it's progress. Regards, Sebastien 2012/2/4 Benedikt Hübschen

Re: [MonoTouch] Changing the size of an UIView.

2012-02-06 Thread Sebastien Pouliot
Hello Richard, That's how .NET works because `Frame`'s type is RectangleF, a struct (value-type) and not a class (reference). See: http://stackoverflow.com/q/7899415/220643 Sebastien On Mon, Feb 6, 2012 at 4:15 AM, Richard Heesbeen r...@xs4all.nl wrote: Hi All, I’m playing arround with

Re: [MonoTouch] Soap headers getting stripped away

2012-02-14 Thread Sebastien Pouliot
Hello, Please try to use Don't link on the device (it defaults to Link SDK assemblies). You can also try to use Link SDK assemblies on the simulator. If, by changing both, you get the simulator failing and the device working the it's likely a linker issue and we'll need a test case to correct

Re: [MonoTouch] Soap headers getting stripped away

2012-02-16 Thread Sebastien Pouliot
Hello Anders, On Thu, Feb 16, 2012 at 7:34 AM, andersa anders.ag...@larmia.se wrote: Here are my test results: Simulator - Don't link = Works Simulator - Link SDK = Works Simulator - Link all = Fails Device - Don't link = Works Device - Link SDK = Works Device - Link all = Fails I'm

Re: [MonoTouch] Threading best practice

2012-02-23 Thread Sebastien Pouliot
Hello Curtis, Got an URL (or more ;-) for the documentation ? it needs to be updated for 5.2.x. Thanks Sebastien On Thu, Feb 23, 2012 at 9:53 AM, Alex Soto dxdr...@gmail.com wrote: On latest  MonoTouch this isn't needed anymore using (NSAutoreleasePool threadPool = new NSAutoreleasePool ())

Re: [MonoTouch] Linker error when trying to go to device

2012-02-27 Thread Sebastien Pouliot
Hello Dan, On Mon, Feb 27, 2012 at 9:17 PM, danmiser danmi...@gmail.com wrote: Solved. After I got the DLLs compiled inside MD, I was still getting the same error. I tried the different linker settings again, and this time setting the linker to Don't Link, I was able to deploy to the device.

Re: [MonoTouch] Attempting to JIT compile method

2012-02-28 Thread Sebastien Pouliot
Hello Michal, On Tue, Feb 28, 2012 at 12:47 PM, Michal Sartoris m...@resco.net wrote: Hi, Is there a way how to add event handlers through reflection on iOS? This piece of code fails on device: It should be possible. However the linker (enabled by default for devices) can eliminate

Re: [MonoTouch] LINQ and OrderBy, again

2012-03-01 Thread Sebastien Pouliot
Please always c.c. the mailing-list or we lose the googlability for future references. On Thu, Mar 1, 2012 at 12:33 PM, Rodrigo Kumpera kump...@xamarin.com wrote: Hi Dan, I'm in no way the expert on the subject, as you could see by me giving you bad advice. I'm CC'ing Sebastien, who has a

Re: [MonoTouch] App is crashing at random - the app completely freezes indefinitely

2012-03-01 Thread Sebastien Pouliot
Since you're using `UIWebView` I just wanted to make sure that you are aware that it's LoadRequest method is not re-entrant. It's not well documented [1] and took me a while to find it out myself. I'm 100% sure about LoadRequest but other parts could also share the same design decision [2].

Re: [MonoTouch] App is crashing at random - the app completely freezes indefinitely

2012-03-01 Thread Sebastien Pouliot
On Thu, Mar 1, 2012 at 8:24 PM, MilkyJoe leigh.bow...@curvenet.co.uk wrote: Hi Sebastien. I only have a single instance of the UIWebView, so is this still something I need to consider/deal with? It's less likely an issue - but still possible, e.g. UIWebView wv = ... ; // load splash screen

Re: [MonoTouch] Strange issue iOS5.1 vs Environment.SpecialFolder.Personal

2012-03-08 Thread Sebastien Pouliot
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

Re: [MonoTouch] Strange issue iOS5.1 vs Environment.SpecialFolder.Personal

2012-03-09 Thread Sebastien Pouliot
:) (doesn't matter now, but would be good to know if I'm smoking crack and missed it) On Fri, Mar 9, 2012 at 01:10, Sebastien Pouliot sebast...@xamarin.com wrote: 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

Re: [MonoTouch] Weird Json.NET / Newtonsoft errors w/ latest MT beta and 5.1

2012-03-10 Thread Sebastien Pouliot
Hello Nic, It looks identical to bug #3676. You should add yourself on c.c. to the bug report. Sebastien [1] https://bugzilla.xamarin.com/show_bug.cgi?id=3676 On Sat, Mar 10, 2012 at 6:21 AM, Nic Wise n...@fastchicken.co.nz wrote: I'm still not sure whats causing it, but I was deserializing a

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   >