xamarin / GoogleApisForiOSComponents

MIT License
225 stars 156 forks source link

VS Mac 17.3 preview 2 and Xamarin.Google.iOS.MobileAds, cannot compile CS1705 #558

Closed polygonsheep closed 2 years ago

polygonsheep commented 2 years ago

CSC: Error CS1705: Assembly ‘Google.MobileAds’ with identity ‘Google.MobileAds, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null’ uses ‘Microsoft.iOS, Version=15.4.300.0, Culture=neutral, PublicKeyToken=84e04ff9cfb79065’ which has a higher version than referenced assembly ‘Microsoft.iOS’ with identity ‘Microsoft.iOS, Version=15.4.100.125, Culture=neutral, PublicKeyToken=84e04ff9cfb79065’ (CS1705)

Reported this on VS 2022 Mac Developer Community and Microsoft dev said : "This issue seems to be caused because the component is built using an older version of .NET for iOS. Please file a ticket with that product at https://github.com/xamarin/GoogleApisForiOSComponents/issues to reach the right team.

Happy coding!"

Here's the link https://developercommunity.visualstudio.com/t/VS-Mac-173-preview-2-breaks-XamarinGoo/10072085?space=41&entry=myfeedback

polygonsheep commented 2 years ago

Looks like the latest .net sdk included an old copy of maui. Updating the maui workload solved this.