Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 87a2bbd

Browse files
committedSep 8, 2024·
Update versions
1 parent 26ab970 commit 87a2bbd

File tree

3 files changed

+10
-5
lines changed

3 files changed

+10
-5
lines changed
 

‎mobile/examples/Maui/MauiVisionSample/MauiVisionSample/MainPage.xaml.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ public MainPage()
3636
ExecutionProviderOptions.Items.Add(nameof(ExecutionProviders.NNAPI));
3737
}
3838

39-
if (DeviceInfo.Platform == DevicePlatform.iOS)
39+
if (DeviceInfo.Platform == DevicePlatform.iOS || DeviceInfo.Platform == DevicePlatform.MacCatalyst)
4040
{
4141
ExecutionProviderOptions.Items.Add(nameof(ExecutionProviders.CoreML));
4242
}

‎mobile/examples/Maui/MauiVisionSample/MauiVisionSample/MauiVisionSample.csproj

+3-3
Original file line numberDiff line numberDiff line change
@@ -57,12 +57,12 @@
5757
</ItemGroup>
5858

5959
<ItemGroup>
60-
<PackageReference Include="Microsoft.ML.OnnxRuntime" Version="1.18.0" />
61-
<PackageReference Include="SkiaSharp" Version="2.88.7" />
60+
<PackageReference Include="Microsoft.ML.OnnxRuntime" Version="1.19.2" />
61+
<PackageReference Include="SkiaSharp" Version="2.88.8" />
6262
<PackageReference Include="Microsoft.Maui.Controls" Version="8.0.14" />
6363
<PackageReference Include="Microsoft.Maui.Controls.Compatibility" Version="8.0.14" />
6464
<PackageReference Include="Microsoft.Extensions.Logging.Debug" Version="8.0.0" />
65-
<PackageReference Include="Microsoft.ML.OnnxRuntime.Extensions.Dummy" Version="0.10.0" />
65+
<PackageReference Include="Microsoft.ML.OnnxRuntime.Extensions.Dummy" Version="0.12.0" />
6666
</ItemGroup>
6767

6868
<!--<ItemGroup>

‎mobile/examples/super_resolution/MAUI/MauiSuperResolution/MauiSuperResolution.csproj

+6-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,12 @@
33
<PropertyGroup>
44
<TargetFrameworks>net8.0-android;net8.0-ios;net8.0-maccatalyst</TargetFrameworks>
55
<TargetFrameworks Condition="$([MSBuild]::IsOSPlatform('windows'))">$(TargetFrameworks);net8.0-windows10.0.19041.0</TargetFrameworks>
6-
6+
<!-- Note for MacCatalyst:
7+
The default runtime is maccatalyst-x64, except in Release config, in which case the default is maccatalyst-x64;maccatalyst-arm64.
8+
When specifying both architectures, use the plural <RuntimeIdentifiers> instead of the singular <RuntimeIdentifier>.
9+
The Mac App Store will NOT accept apps with ONLY maccatalyst-arm64 indicated;
10+
either BOTH runtimes must be indicated or ONLY macatalyst-x64. -->
11+
<!-- For example: <RuntimeIdentifiers>maccatalyst-x64;maccatalyst-arm64</RuntimeIdentifiers> -->
712
<OutputType>Exe</OutputType>
813
<RootNamespace>MauiSuperResolution</RootNamespace>
914
<UseMaui>true</UseMaui>

0 commit comments

Comments
 (0)
Please sign in to comment.