MonoTouch Binding是指我的静态库,它使用FacebookSDK。
Сhain项目:
MonoTouch App -> MonoTouch Binding -> My Static Library -> FacebookSDK
当你添加接口ApiDefinition时,会出现与FacebookSDK相关的错误如何解决这个问题?也许有人已经遇到过这个问题?
Error MT5211: Native linking failed, undefined Objective-C class:
_OBJC_CLASS_$_FBFriendPickerViewController. If '_OBJC_CLASS_$_FBFriendPickerViewController' is a
protocol from a third-party binding, please check that it has the [Protocol] attribute in its
api definition file, otherwise verify that all the necessary frameworks have been referenced and
native libraries are properly linked in. (MT5211)
答案 0 :(得分:0)
删除当前Facebook SDK框架的引用,并通过将其拖放到框架文件夹中再次添加Facebook SDK。 这将自动添加Facebook SDK路径。