Not able to run Xamarin iOS project after Visual studio update.
Because updated IDE requires the latest Xcode (iOS 13.4 SDK shipped with Xcode 11.4)
Environment Details
What I tried.
Instead of updating the Xcode, I simply changed the Linker Behaviour
to Link Framework SDKs Only
.
No luck, I got the following errors.
Error MT5210: Native linking failed, undefined symbol: ___darwin_check_fd_set_overflow.
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)
Error: linker command failed with exit code 1 (use -v to see invocation)
Reference.
Is there any other option to resolve the issue without update the Xcode and macOS?
Any help will be really appreciated.
Thank you
The latest version of Visual-Studio use the latest version of Xamarin.iOS which may not work with the lower version of Xcode .
So use a lower Xamarin.iOS Version would solve this problem.
Cause : Latest visual studio requires latest Xcode (iOS 13.4 SDK shipped with Xcode 11.4)
To solve the issue install the latest
Xcode
or use a lowerXamarin.iOS
Version
if you are on a mac, you might be able to find the previous installer here:
~/Library/Caches/VisualStudio/[Replace with Visual Studio Version]/TempDownload
or, if you know the version of the previous version of ios, you can download it from here (change the version number to suite your needs:
https://dl.xamarin.com/MonoTouch/Mac/xamarin.ios-13.14.1.39.pkg.
Xamarin/xamarin-macios Releases, which contains every version
if you are on windows, this post might give you some clues on where to find the local cache instead: https://montemagno.com/cleanup-up-space-xamarin-dev-machine/
For more details: Ans-1 | Ans-2
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With