[MonoTouch] Sopporting ios 4 and ios 5

Art coderprojects at gmail.com
Fri Oct 7 23:00:58 EDT 2011


Hello Sebastien,





On Oct 7, 2011, at 9:19 PM, "Sebastien Pouliot [via MonoTouch]"<ml-node+s2284126n3884258h52 at n4.nabble.com> wrote:

> Hello Art, 
> 
> On Fri, Oct 7, 2011 at 8:46 PM, Art <[hidden email]> wrote: 
> > Simulator app dir is 7mb .I use don't link option. if I use link sdk 
> > assemblies only, I get "Attempting to JIT compile method" exception. It 
> > works fine on simulator. 
> 
> That was fixed in MonoTouch 4.2.2 [1] and recent 4.9.x alphas. Of 
> course the monotouch.dll required to support the iOS5 API will be 
> larger (than before) so not linking will result in even larger 
> applications (i.e. linking will become even more important). 
> 
> Another common reason for large applications on device is using FAT 
> binaries (i.e. armv6 + armv7). 
> 
> Regards, 
> Sebastien 
> 
> [1] http://bugzilla.xamarin.com/show_bug.cgi?id=587
> 
> > Art 
> > Thanks 
> > 
> > On Fri, Oct 7, 2011 at 5:18 PM, Rolf Bjarne Kvinge [via MonoTouch] <[hidden 
> > email]> wrote: 
> >> 
> >> Hi, 
> >> 
> >> Yes, it will be fixed in the final MonoTouch 5.0 release. 
> >> For the size change: has the .app directory built for the simulator 
> >> changed that much too? And have you changed how linking is done (by default 
> >> it should link sdk assemblies only). 
> >> Rolf 
> >> On Fri, Oct 7, 2011 at 9:06 PM, dotnet projects <[hidden email]> wrote: 
> >>> 
> >>> Thanks for the reply. Will this be fixed in the next version? 
> >>> 
> >>> After adding MonoDialog and a few xib files, My app size became 35 mb it 
> >>> was 20 mb before. Is there any way to find out what is causing the size 
> >>> increase. 
> >>> 
> >>> Thanks, 
> >>> Art 
> >>> 
> >>> On Thu, Oct 6, 2011 at 4:58 PM, Rolf Bjarne Kvinge <[hidden email]> 
> >>> wrote: 
> >>>> 
> >>>> Hi Art, 
> >>>> 
> >>>> We've very recently discovered that there are a few issues you can 
> >>>> easily run into when deploying applications built with the iOS5 sdk on 
> >>>> iOS4 devices (in particular it will crash immediately upon startup). 
> >>>> If you run into any such issues, just ask and attach the corresponding 
> >>>> crash log, and I can explain how to work around it (in some cases 
> >>>> we'll always link with iOS5 frameworks, which will cause the 
> >>>> application to fail to load on older devices. The fix is to build 
> >>>> against the iOS4 sdk and add the required frameworks manually using 
> >>>> -weak_framework in mtouch' extra arguments). 
> >>>> 
> >>>> Rolf 
> >>>> 
> >>>> On Thu, Oct 6, 2011 at 8:42 PM, Jeff Stedfast <[hidden email]> wrote: 
> >>>> > Hi Art, 
> >>>> > Yes, this should be possible to do. What you'll need to do is check 
> >>>> > the iOS 
> >>>> > version (MonoTouch.UIKit.UIDevice.CurrentDevice.SystemVersion) and 
> >>>> > depending 
> >>>> > on the value, take different code paths in your app providing 
> >>>> > differentfeatures depending on the underlying iOS version. 
> >>>> > Hope that helps! 
> >>>> > Jeff 
> >>>> > 
> >>>> > On Thu, Oct 6, 2011 at 2:31 PM, Art <[hidden email]> wrote: 
> >>>> >> 
> >>>> >> Is it possible to support both ios 4 and ios 5? I want to use new ios 
> >>>> >> 5 
> >>>> >> cloud api. I also want the ios4 users to be able to use the app 
> >>>> >> without 
> >>>> >> the 
> >>>> >> cloud. 
> >>>> >> 
> >>>> >> 
> >>>> >> Thanks 
> >>>> >> Art 
> >>>> >> 
> >>>> >> -- 
> >>>> >> View this message in context: 
> >>>> >> 
> >>>> >> http://monotouch.2284126.n4.nabble.com/Sopporting-ios-4-and-ios-5-tp3879479p3879479.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
> >>>> > 
> >>>> > 
> >>> 
> >> 
> >> 
> >> _______________________________________________ 
> >> 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/Sopporting-ios-4-and-ios-5-tp3879479p3883854.html
> >> To unsubscribe from Sopporting ios 4 and ios 5, click here. 
> > 
> > ________________________________ 
> > View this message in context: Re: Sopporting ios 4 and ios 5 
> > 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/Sopporting-ios-4-and-ios-5-tp3879479p3884258.html
> To unsubscribe from Sopporting ios 4 and ios 5, click here.


--
View this message in context: http://monotouch.2284126.n4.nabble.com/Sopporting-ios-4-and-ios-5-tp3879479p3884336.html
Sent from the MonoTouch mailing list archive at Nabble.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/monotouch/attachments/20111007/69d12876/attachment.html 


More information about the MonoTouch mailing list