MT5210 error when compile xamarin ios project to release

Siu Pang 0 Reputation points
2025-02-06T14:03:01.9666667+00:00

Hi, I wanna to integrate Sipsorcery into my Xamarin iOS app, everything works fine on the simulator. But when I try to compile the Xamarin sample project, I got some errors from VS on my Mac.

_/Users/SP/Downloads/sipsorcery-master/examples/WebRTCExamples/XamarinDataChannelTest/XamarinDataChannelTest.iOS/MTOUCH: Error MT5210: Native linking failed, undefined symbol: FormatMessageW. Please verify that all the necessary frameworks have been referenced and native libraries are properly linked in. (MT5210) (XamarinDataChannelTest.iOS)

Other errors are the same except referring different symbol: _RegCloseKey, _RegEnumKeyExW, _RegOpenKeyExW, _RegQueryInfoKeyW, _RegQueryValueExW.

Would anyone experience this before? Thank you.

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,376 questions
0 comments No comments
{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.