I've added latest version from NuGet to both my PCL, Android and IOS project.
On Android everything is working well but on IOS i get the following error on app startup:
System.Exception: Platform implementation not found. Have you added a nuget reference to your platform project?
Stack:
System.Exception: Platform implementation not found. Have you added a nuget reference to your platform project?
at Acr.DeviceInfo.DeviceInfo+<>c.<.cctor>b__20_3 () [0x00000] in :0
at System.Lazy`1[Acr.DeviceInfo.IHardware].CreateValue () [0x00000] in :0
at --- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000b] in /Users/builder/data/lanes/1977/2c66d2fe/source/mono/mcs/class/corlib/System.Runtime.ExceptionServices/ExceptionDispatchInfo.cs:61
at System.Runtime.CompilerServices.AsyncMethodBuilderCore.m__0 (System.Object state) [0x00000] in /Users/builder/data/lanes/1977/2c66d2fe/source/mono/external/referencesource/mscorlib/system/runtime/compilerservices/AsyncMethodBuilder.cs:1006
at MonoTouch.UIKit.UIKitSynchronizationContext+c__AnonStorey0.<>m__0 () [0x00000] in /Users/builder/data/lanes/1977/2c66d2fe/source/maccore/src/UIKit/UIKitSynchronizationContext.cs:24
at MonoTouch.Foundation.NSAsyncActionDispatcher.Apply () [0x00000] in /Users/builder/data/lanes/1977/2c66d2fe/source/maccore/src/Foundation/NSAction.cs:164
at at (wrapper managed-to-native) MonoTouch.UIKit.UIApplication:UIApplicationMain (int,string[],intptr,intptr)
at MonoTouch.UIKit.UIApplication.Main (System.String[] args, IntPtr principal, IntPtr delegate) [0x00005] in /Users/builder/data/lanes/1977/2c66d2fe/source/maccore/src/UIKit/UIApplication.cs:63
at MonoTouch.UIKit.UIApplication.Main (System.String[] args, System.String principalClassName, System.String delegateClassName) [0x0001c] in /Users/builder/data/lanes/1977/2c66d2fe/source/maccore/src/UIKit/UIApplication.cs:46
at MyApp.iOS.Application.Main (System.String[] args) [0x00012] in /Users/JohnDoe/Documents/MyApp/trunk/MyApp/MyApp/MyApp.iOS/Main.cs:19
Is your iOS project a classic one (non-unified)? I only support unified since you can't release the classic iOS/Monotouch any longer.
You're right.
I've migrated to unified ios and now it works.
Thanks