Reputation: 17883
I'm getting the following error:
Failed to resolve "System.Void ObjCRuntime.UserDelegateTypeAttribute::.ctor(System.Type)" reference from "Xamarin.iOS, Version=0.0.0.0, Culture=neutral, PublicKeyToken=84e04ff9cfb79065"
When adding and referencing code from the Xamarin.Azure.NotificationHubs.iOS
(v1.2.5.2) or HockeySDK.Xamarin
(4.1.0) NuGet packages in a Xamarin.iOS application.
Upvotes: 5
Views: 1489
Reputation: 17883
This issue can occur when a Xamarin.iOS bindings package is built with the current (Cycle 8) tooling, but is being consumed by older (Cycle 7) tooling.
The best way to solve this issue is to update to the latest Xamarin stable channel and Xcode releases. At this time of this post, those are:
If upgrading your Xamarin tooling is not possible at this time, using an older version of the affected NuGet package may also resolve the issue.
For example, using version 4.1.0-beta3
of the HockeySDK.Xamarin
NuGet package instead of version 4.1.0
.
More information can be found here: https://github.com/bitstadium/HockeySDK-Xamarin/issues/56
Upvotes: 5