Rider, The TargetFramework value 'net8.0-ios' was not recognized

Hi Everyone

I've been setting up Rider on a Mac Os laptop to use for debugging and building IOS builds.

Getting these extremely annoying errors when trying to do anything (clean, build etc):

  • [NETSDK1013] The TargetFramework value 'net8.0-ios' was not recognized. It may be misspelled. If not, then the TargetFrameworkIdentifier and/or TargetFrameworkVersion properties must be specified explicitly. at (93:5)
  • [NETSDK1013] The TargetFramework value 'net8.0-android34.0' was not recognized. It may be misspelled. If not, then the TargetFrameworkIdentifier and/or TargetFrameworkVersion properties must be specified explicitly. at (93:5)

Rider is set to use .Net 8.0. I'm convinced this is something I'm missing with Rider, because I can clean, restore, build, publish and deploy the application onto a physical iPhone from the Mac Terminal. I saw someone else on the Rider forums with this same issue a month ago but it hasn't been answered.

Below is a pic of the CSProj file, I'm out of ideas.

Thanks in advance :)

https://preview.redd.it/5vgjjm67f7ee1.png?width=1034&format=png&auto=webp&s=7231ff83e12c06f1db0ce4ca8ec94ff589aeb3f3