Reputation: 33
C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(373,3): warning MT0178: Debugging symbol file for '/Users/appledevelopment/Library/Caches/Xamarin/mtbs/builds/XamAppHartzSystems.iOS/831856682f36592c89c1d1be72305370c507305528b30a6064078e5ddad8b0d1/bin/iPhoneSimulator/Debug/XamAppHartzSystems.dll' is not valid and was ignored.
Getting this warning in my build process. The build completes without errors.
The build is for a Xamarin iOS project that was working before I updated xcode and visual studio 19 to latest versions.
When I try to put a brakepoint in my shared library, it will not stop in the debugger due to the above warning.
I have tried to clear all the obj and bin folders, but that does not help.
I can't seem to find why it thinks the symbol file is invalid.
Windows VS is up to date Mac xcode is up to date Mac VS is up to date Using Xamarin Forms 4.8.1821, tried the latest version too with no luck.
How do I find out why my symbol file is invalid...
Upvotes: 1
Views: 1087
Reputation: 33
Answer: Somehow in the Library Build Settings, the Debugging information was set to Pdb-only. I changed it to Portable and it fixed the problem.
It happened to a few of my projects after upgrading to the latest VS and xcode.
Upvotes: 1