Skip to content

[release/8.0.1xx-sr8] Update the mac/iOS workloads#24321

Merged
PureWeen merged 2 commits into
release/8.0.1xx-sr8from
mattleibow-patch-1
Aug 21, 2024
Merged

[release/8.0.1xx-sr8] Update the mac/iOS workloads#24321
PureWeen merged 2 commits into
release/8.0.1xx-sr8from
mattleibow-patch-1

Conversation

@mattleibow

@mattleibow mattleibow commented Aug 20, 2024

Copy link
Copy Markdown
Member

Description of Change

We are "multitargeting" to 17.0, but this was only really supported in the latest iOS workloads.

Right now, the 17.0 TFM version will always be 17.2.

Maui 8.0.80 with TFM 17.0 is actually

// Microsoft.iOS, Version=17.2.0.0, Culture=neutral, PublicKeyToken=84e04ff9cfb79065

When I use the latest SDKs and workloads and try multitarget SkiaSharp to 17.0 because I want to support everyone, I get this error:

CSC : error CS1705: Assembly 'Microsoft.Maui' with identity 'Microsoft.Maui, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' uses 'Microsoft.MacCatalyst, Version=17.2.0.0, Culture=neutral, PublicKeyToken=84e04ff9cfb79065' which has a higher version than referenced assembly 'Microsoft.MacCatalyst' with identity 'Microsoft.MacCatalyst, Version=17.0.0.0, Culture=neutral, PublicKeyToken=84e04ff9cfb79065' [D:\GitHub\SkiaSharp\source\SkiaSharp.Views.Maui\SkiaSharp.Views.Maui.Core\SkiaSharp.Views.Maui.Core.csproj::TargetFramework=net8.0-maccatalyst17.0]

I can't use 17.2 in SkiaSharp with the new SDK as the only TFM versions that are supported are 17.0 and 17.5

On Main #24263

### Description of Change

We are "multitargeting" to 17.0, but this was only really supported in the latest iOS workloads.

Right now, the 17.0 TFM version will always be 17.2.

Maui 8.0.80 with TFM 17.0 is actually 
```
// Microsoft.iOS, Version=17.2.0.0, Culture=neutral, PublicKeyToken=84e04ff9cfb79065
```

When I use the latest SDKs and workloads and try multitarget SkiaSharp to 17.0 because I want to support everyone, I get this error:

> CSC : error CS1705: Assembly 'Microsoft.Maui' with identity 'Microsoft.Maui, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' uses 'Microsoft.MacCatalyst, Version=17.2.0.0, Culture=neutral, PublicKeyToken=84e04ff9cfb79065' which has a higher version than referenced assembly 'Microsoft.MacCatalyst' with identity 'Microsoft.MacCatalyst, Version=17.0.0.0, Culture=neutral, PublicKeyToken=84e04ff9cfb79065' [D:\GitHub\SkiaSharp\source\SkiaSharp.Views.Maui\SkiaSharp.Views.Maui.Core\SkiaSharp.Views.Maui.Core.csproj::TargetFramework=net8.0-maccatalyst17.0]

I can't use 17.2 in SkiaSharp with the new SDK as the only TFM versions that are supported are 17.0 and 17.5
@mattleibow mattleibow requested a review from a team as a code owner August 20, 2024 02:57
@mattleibow mattleibow requested review from jsuarezruiz and rmarinho and removed request for a team August 20, 2024 02:57
@mattleibow mattleibow changed the title Update the mac/iOS workloads [release/8.0.1xx-sr8] Update the mac/iOS workloads Aug 20, 2024
@PureWeen PureWeen merged commit be0e2f5 into release/8.0.1xx-sr8 Aug 21, 2024
@PureWeen PureWeen deleted the mattleibow-patch-1 branch August 21, 2024 15:10
@samhouts samhouts added fixed-in-net9.0-nightly This may be available in a nightly release! fixed-in-net8.0-nightly This may be available in a nightly release! labels Aug 27, 2024
@samhouts samhouts added fixed-in-8.0.82 and removed fixed-in-net9.0-nightly This may be available in a nightly release! fixed-in-net8.0-nightly This may be available in a nightly release! labels Sep 5, 2024
@github-actions github-actions Bot locked and limited conversation to collaborators Oct 6, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants