Skip to content

[Bug]: Error CS1705 on iOS with v22.2.1 #4200

@marcoablanco

Description

@marcoablanco

Describe the bug 🐞

After updating ReactiveUI to version 22.2.0 in my .NET MAUI 9.0.110 app, I’m getting the following compilation error:
CSC: Error CS1705: Assembly 'ReactiveUI' with identity 'ReactiveUI, Version=22.2.0.0, Culture=neutral, PublicKeyToken=null' uses 'Microsoft.iOS, Version=26.0.0.0, Culture=neutral, PublicKeyToken=***', which has a higher version than referenced assembly 'Microsoft.iOS' with identity 'Microsoft.iOS, Version=18.4.0.0, Culture=neutral, PublicKeyToken=***'

Environment:

ReactiveUI: 22.2.0
.NET MAUI: 9.0.110
Platform: iOS
OS: macOS 15.5


It seems ReactiveUI references a newer version of Microsoft.iOS (26.0.0.0) than the one included in Maui 9.0.110 (18.4.0.0). Is there a recommended workaround or fix for this?

Step to reproduce

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Reproduction repository

https://github.com/reactiveui/ReactiveUI

Expected behavior

The app should compile without assembly version conflicts.

Screenshots 🖼️

No response

IDE

Rider macOS

Operating system

macOS

Version

15.5

Device

No response

ReactiveUI Version

22.2.1

Additional information ℹ️

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions