We often encounter the following errors when compiling the binding native framework library. But no more useful log will be reported.
Error MT5210: Native linking failed, undefined symbol: WrapDecode(void*, unsigned short const*, char const*, char const*, void const*, int, int, unsigned long const*). Please verify that all the necessary frameworks have been referenced and native libraries are properly linked in. (MT5210)
Error MT5202: Native linking failed. Please review the build log. (MT5202)
We can change the log verbosity of our project to diagnostic:
Please include your full build logs, crash reports (if any), test case (to reproduce) and all version information.
To get full build logs just set the log verbosity to diagnostic at the following locations:
On Visual Studio for Mac: Preferences > Projects > Build
On Visual Studio for Windows: Tools > Options > Projects and Solutions > Build and Run
On Visual Studio Windows you also want to add -v -v -v -v to the mtouch additional arguments by right-clicking the project in the solution explorer and selecting Properties.
Note: this is done automatically on Visual Studio for Mac when the log verbosity is set to diagnostic.
Easiest way to get exact version information:
On Visual Studio for Mac: "Visual Studio" menu, "About Visual Studio" item, "Show Details" button.
On Visual Studio for Windows: "Help menu", "About Microsoft Visual Studio" item.
Then copy/paste the version information (you can use the "Copy Information" button).
We often encounter the following errors when compiling the binding native framework library. But no more useful log will be reported.
We can change the log verbosity of our project to diagnostic:
https://bugzilla.xamarin.com/show_bug.cgi?id=59222