Quantcast
Channel: Xamarin.Forms — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 58056

Supporting iOS 6.1

$
0
0

I am using the new unified API and attempting to build a brand new app for iOS 6.1.6 (10B500).

Whatever I seem to do, I get null reference exceptions throughout the API and the app just crashes out.

According to the following link, Xamarin.Forms supports "iOS 6.1 or higher":
http://developer.xamarin.com/guides/cross-platform/xamarin-forms/introduction-to-xamarin-forms/#2.requirements

Before I submit a bug, does anyone have any experience with supporting iOS 6.1 with Xamarin.Forms? Is there something obvious that I am missing?

I am using Visual Studio 2013 and Visual Studio 2015 (tried creating brand new Xamarin.Forms projects in both and just ran the template without any modifications) and I have no luck.

Here is an example exception I get:

System.ArgumentNullException: Argument cannot be null.
Parameter name: uiFontTextStyle
at UIKit.UIFont.GetPreferredFontForTextStyle (Foundation.NSString uiFontTextStyle) [0x00017] in /Developer/MonoTouch/Source/monotouch/src/build/native/UIKit/UIFont.g.cs:120
at UIKit.UIFont.get_PreferredHeadline () [0x00000] in /Developer/MonoTouch/Source/monotouch/src/UIKit/UIFont.cs:32
at Xamarin.Forms.Platform.iOS.ResourcesProvider.UpdateStyles () [0x00000] in :0
at Xamarin.Forms.Platform.iOS.ResourcesProvider.GetSystemResources () [0x00000] in :0
at Xamarin.Forms.Application..ctor () [0x00000] in :0
at Ios61TestClassic.App..ctor () [0x00000] in c:\Users\Josh\Documents\Visual Studio 2013\Projects\Ios61TestClassic\Ios61TestClassic\App.cs:12
at Ios61TestClassic.iOS.AppDelegate.FinishedLaunching (UIKit.UIApplication app, Foundation.NSDictionary options) [0x00007] in c:\Users\Josh\Documents\Visual Studio 2013\Projects\Ios61TestClassic\Ios61TestClassic.iOS\AppDelegate.cs:26
at (wrapper managed-to-native) UIKit.UIApplication:UIApplicationMain (int,string[],intptr,intptr)
at UIKit.UIApplication.Main (System.String[] args, IntPtr principal, IntPtr delegate) [0x00005] in /Developer/MonoTouch/Source/monotouch/src/UIKit/UIApplication.cs:62
at UIKit.UIApplication.Main (System.String[] args, System.String principalClassName, System.String delegateClassName) [0x0001c] in /Developer/MonoTouch/Source/monotouch/src/UIKit/UIApplication.cs:45
at Ios61TestClassic.iOS.Application.Main (System.String[] args) [0x00002] in c:\Users\Josh\Documents\Visual Studio 2013\Projects\Ios61TestClassic\Ios61TestClassic.iOS\Main.cs:19


Viewing all articles
Browse latest Browse all 58056

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>