MT5211: Native linking failed, undefined Objective-C class

joaopalmajoaopalma Member ✭✭
edited August 30 in Xamarin.iOS

I made a binding from a objective-c framework, it is working correctly but when I try to link my Xamarin.iOS project (Link Framework SDKs Only), I get this error

MTOUCH: Error MT5211: Native linking failed, undefined Objective-C class: GLKView. The symbol 'OBJC_CLASS$_GLKView' could not be found in any of the libraries or frameworks linked with your application. (MT5211)

In the microsoft documentation, says to add the [Protocol] attribute to the binding project.

I tried to add the attribute in the ApiDefinition.cs, first on top of the class and then before all methods and interfaces the classe have, with no success.

Link for the github repo

Best Answer

  • joaopalmajoaopalma ✭✭
    edited August 30 Accepted Answer

    The problem was my assemblyInfo, problem fixed.

    EDIT Actually, not solved. The problem persists.

Answers

  • joaopalmajoaopalma Member ✭✭
    edited August 30 Accepted Answer

    The problem was my assemblyInfo, problem fixed.

    EDIT Actually, not solved. The problem persists.

Sign In or Register to comment.