Native binding Sparkle to Xamarin.Mac

Max951 1 Reputation point
2021-11-12T08:25:10.087+00:00

I'm trying to make native binding to Sparkle to my Xamarin.Mac application. All doing like in this article

But when I compile my binding library together with my MacOs application I receive this error:

Undefined symbols for architecture x86_64:    
  "_OBJC_CLASS_$_SPUStandardUpdaterController", referenced from:    

....
ld: symbol(s) not found for architecture x86_64
clang : error : linker command failed with exit code 1 (use -v to see invocation)

What I'm doing wrong?

I'm prepared an example to demonstrate this error: https://github.com/aspnetman/SparkleBinding

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,377 questions
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.