Xamarin iOS registration basics

What is the registration status on Xamarin.iOS (using Xamarin Studio Indie).

I tried using NLog , but it refers to System.ServiceModel - so Xamarin complains that I need a business version (without paying so much for using NLog! )

log4net also does not work, as it refers to classes in System.Configuration that do not exist in Xamarin/MonoTouch .

I find it surprising that there is no affordable logging solution, either using XS, or using the main registration players.

What is missing?

+8
ios logging xamarin
source share
4 answers

Logging in to iOS is slightly different than registering on a desktop / server application, as the user does not have a (simple) way to retrieve logs.

There are several options:

  • For your own debugging purposes:

    use System.Console.WriteLine() . This is equivalent to Obj-C NSLog

  • For remote logging:

    use a third-party structure, for example.

    • TestFlight SDK (for beta testing, but it also creates a private beta version for the build)

    • Crashlytics

    Some solutions even provide remote logging, so you can have access to crash reports and device logs.

    It goes without saying that you can use most of these Xamarin.iOS frameworks, check out https://github.com/mono/monotouch-bindings

+8
source share

I think you can use Xamarin Insights to register. Xamarin insights

+6
source share

I unblocked Apache log4net and made it compile in MonoTouch with some significant additions. Expect errors, as they are not fully tested, but this is the beginning.

monotouch-log4net @GitHub

+2
source share

Crittercism has just released the official crash reporting and logging framework for Xamarin (Full disclosure: I am one of the co-founders). It fully supports automatic logging of unhandled exceptions and signals (signals such as SIGSEGV are handled gracefully, allowing the Mono runtime to process them and pass the full stack to Crittercism). You can also send any logs to Crittercism using processed exception logging. You can download it from the Xamarin store here:

http://components.xamarin.com/view/crittercism

+2
source share

All Articles