-
Notifications
You must be signed in to change notification settings - Fork 515
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Xamarin Forms iOS - MTOUCH : error MT5210: Native linking failed, undefined symbol #11119
Comments
Note that the warnings in the logs happen on succeeding builds. |
We just ran the same pipeline on an Azure Hosted agent and it failed with the same issue. So it seems like a problem between our code and the VS version. |
Just noted that another simpler app works. We are working to find the difference between the two that is causing the issue. |
Just noted that this is also reproducible from Visual Studio on the Mac. |
Continuing to narrow down our project, but it's slow work. Does anyone have ideas on how to read the logs or something? |
Got to the point that the build worked. Adding the code back to narrow down further, still a lot of code to go... 😓 |
Continuing to whittle this down, but it's slow progress, each build takes almost 10 minutes to fail or succeed. I've gotten it down to a single (rather large) project, so the issue is somewhere in the project's code. Any pointers would be very valuable! |
Using VS4Mac you can get the logs from Do you know which is the latest version of VS or Xamarin.Ios with which everything compiled without problems? |
@jsuarezruiz no, unfortunately we do not. It's been a while since we upgraded. |
as i commented in the linked issue, There are some discussions that some NuGet packages cause this issue - we found one, there is a mention of a different one - i am not totally convinced. |
I have verified that the workaround by Juwens here fixes my issue. |
Nice! Juwens fix did it! While I am very happy to have found a workaround, I'm not so happy that this whole thing happened. What steps are being taken to make sure things like this don't happen? |
Description
We're getting lots of MTOUCH errors on our on premise Mac since the latest Visual Studio update.
This is stopping our builds! We can't push updates until this is fixed!
We've tried updating the Mac to High Sierra, but the same issue is happening
Steps to Reproduce
Build with MSBuild (using Azure DevOps Pipeline "Xamarin.iOS" task)
Expected Behavior
It was previously building our ipa
Actual Behavior
MTOUCH
MT5210
errorsNative linking failed, undefined symbol
Please verify that all the necessary frameworks have been referenced and native libraries are properly linked in.
More logs
Basic Information
Environment
Show/Hide Visual Studio info
Build Logs
Full logs from Azure DevOps
Workaround
No workarounds found!
The text was updated successfully, but these errors were encountered: