Closed rolfbjarne closed 10 years ago
I have tried this with XI 6.3.6.76 and was unable to reproduce this from the sample in source. Was this tested with the component?
Yes, I downloaded the sample from the component store: http://components.xamarin.com/view/xamarin.social/
In order to repro this you gotta enable the static registrar on a device build (which might become the new standard very soonish) You can read more on this here
Just add --registrar:static
to your device build and you should be able to repro the issue.
Alex
Fixed in ca8247629f7
Exception thrown says:
error MT4118: Cannot register two managed types ('Xamarin.Controls.ProgressLabel, Xamarin.Auth.iOS' and 'Xamarin.Controls.ProgressLabel, Xamarin.Social.iOS') with the same native name ('Xamarin_Controls_ProgressLabel').
This happens because both Xamarin.Social.iOS and Xamarin.Auth.iOS have an internal type named "Xamarin.Controls.ProgressiveLabel", which is exported to ObjectiveC (because it inherits from NSObject).
To reproduce just run the sample in the simulator (using 6.3.5+).
The solution is to somehow not have two identically named types.