Xamarin.iOS Update to 0.7.0 fails
Closed this issue · 11 comments
Trying to update this package in my Android and iOS projects and get this error when updating for iOS:
Checking compatibility for Com.Getkeepsafe.Relinker 1.3.1 with Xamarin.iOS,Version=v1.0 (win-x86).
Package Com.Getkeepsafe.Relinker 1.3.1 is not compatible with xamarinios10 (Xamarin.iOS,Version=v1.0) / win-x86. Package Com.Getkeepsafe.Relinker 1.3.1 supports: monoandroid (MonoAndroid,Version=v0.0)
I can update to 0.7.0 for Android no problem.
Argh, makes sense.
Let me see if I can fix it.
I think it's possible to set different dependencies in the nuspec file based on the targeted platform
Hi, please try 0.7.1 and post here how it goes for you.
OK. The Nuget package install worked, but now I'm having issues with the JsonAttributes class trying to instantiate one with an NSDictionary. How would I use the "WithDictionary(NSDictionary)" method? I don't see any examples in your sample app. None of the contstructors appear to be public.
It looks like the JsonAttributes interface in the iOS binding has an attribute on it [DisableDefaultCtor] which prevents instantiation. I think what I am trying to do is this:
var attrs = new JsonAttributes().WithDictionary(dict);
The MessageOptions class works this way.
Hi, thanks, this could be a mishap on our side, I will take a look soon.
Please try 0.7.2
Success. Thanks for getting on this so quickly.
👍