From c2cc7f3605bf551fbc0e43970caf2c90a6c801ae Mon Sep 17 00:00:00 2001 From: Sebastien Pouliot Date: Sat, 7 Oct 2023 16:40:52 -0400 Subject: [PATCH] fix(manifest): Bump SDK to include Xcode15 vs NewsstandKit fix With this newer SDK there's a workaround for the issue. Before ``` /usr/local/share/dotnet/packs/Microsoft.iOS.Sdk/16.4.7098/targets/Xamarin.Shared.Sdk.targets(1139,3): error : clang exited with code 1: [/Users/poupou/git/spouliot/templates/uno/4.9.0-dev.164/unoapp/unoapp.Mobile/unoapp.Mobile.csproj::TargetFramework=net7.0-ios] /usr/local/share/dotnet/packs/Microsoft.iOS.Sdk/16.4.7098/targets/Xamarin.Shared.Sdk.targets(1139,3): error : In file included from /Users/poupou/git/spouliot/templates/uno/4.9.0-dev.164/unoapp/unoapp.Mobile/obj/Debug/net7.0-ios/iossimulator-x64/linker-cache/registrar.mm:3: [/Users/poupou/git/spouliot/templates/uno/4.9.0-dev.164/unoapp/unoapp.Mobile/unoapp.Mobile.csproj::TargetFramework=net7.0-ios] /usr/local/share/dotnet/packs/Microsoft.iOS.Sdk/16.4.7098/targets/Xamarin.Shared.Sdk.targets(1139,3): error : /Users/poupou/git/spouliot/templates/uno/4.9.0-dev.164/unoapp/unoapp.Mobile/obj/Debug/net7.0-ios/iossimulator-x64/linker-cache/registrar.h:34:9: fatal error: 'NewsstandKit/NewsstandKit.h' file not found [/Users/poupou/git/spouliot/templates/uno/4.9.0-dev.164/unoapp/unoapp.Mobile/unoapp.Mobile.csproj::TargetFramework=net7.0-ios] /usr/local/share/dotnet/packs/Microsoft.iOS.Sdk/16.4.7098/targets/Xamarin.Shared.Sdk.targets(1139,3): error : #import [/Users/poupou/git/spouliot/templates/uno/4.9.0-dev.164/unoapp/unoapp.Mobile/unoapp.Mobile.csproj::TargetFramework=net7.0-ios] /usr/local/share/dotnet/packs/Microsoft.iOS.Sdk/16.4.7098/targets/Xamarin.Shared.Sdk.targets(1139,3): error : ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [/Users/poupou/git/spouliot/templates/uno/4.9.0-dev.164/unoapp/unoapp.Mobile/unoapp.Mobile.csproj::TargetFramework=net7.0-ios] /usr/local/share/dotnet/packs/Microsoft.iOS.Sdk/16.4.7098/targets/Xamarin.Shared.Sdk.targets(1139,3): error : 1 error generated. [/Users/poupou/git/spouliot/templates/uno/4.9.0-dev.164/unoapp/unoapp.Mobile/unoapp.Mobile.csproj::TargetFramework=net7.0-ios] ``` After ``` ILLINK : warning MT4178: The class 'NewsstandKit.NKAssetDownload' will not be registered because the NewsstandKit framework has been removed from the iOS SDK. [/Users/poupou/git/spouliot/templates/uno/4.9.0-dev.164/unoapp/unoapp.Mobile/unoapp.Mobile.csproj::TargetFramework=net7.0-ios] ILLINK : warning MT4178: The class 'NewsstandKit.NKLibrary' will not be registered because the NewsstandKit framework has been removed from the iOS SDK. [/Users/poupou/git/spouliot/templates/uno/4.9.0-dev.164/unoapp/unoapp.Mobile/unoapp.Mobile.csproj::TargetFramework=net7.0-ios] ILLINK : warning MT4189: The class 'PassKit.PKDisbursementAuthorizationControllerDelegate' will not be registered it has been removed from the iOS SDK. [/Users/poupou/git/spouliot/templates/uno/4.9.0-dev.164/unoapp/unoapp.Mobile/unoapp.Mobile.csproj::TargetFramework=net7.0-ios] ILLINK : warning MT4178: The class 'NewsstandKit.NKIssue' will not be registered because the NewsstandKit framework has been removed from the iOS SDK. [/Users/poupou/git/spouliot/templates/uno/4.9.0-dev.164/unoapp/unoapp.Mobile/unoapp.Mobile.csproj::TargetFramework=net7.0-ios] ILLINK : warning MT4189: The class 'PassKit.PKDisbursementAuthorizationController' will not be registered it has been removed from the iOS SDK. [/Users/poupou/git/spouliot/templates/uno/4.9.0-dev.164/unoapp/unoapp.Mobile/unoapp.Mobile.csproj::TargetFramework=net7.0-ios] ``` --- manifests/uno.ui-preview.manifest.json | 6 +++--- manifests/uno.ui.manifest.json | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/manifests/uno.ui-preview.manifest.json b/manifests/uno.ui-preview.manifest.json index fc2bf2d0..f700d7fd 100644 --- a/manifests/uno.ui-preview.manifest.json +++ b/manifests/uno.ui-preview.manifest.json @@ -4,9 +4,9 @@ "variables": { "OPENJDK_VERSION": "11.0.20.1", "DOTNET_SDK_VERSION": "7.0.401", - "MACCATALYST_SDK_VERSION": "16.4.7054/7.0.100", - "IOS_SDK_VERSION": "16.4.7054/7.0.100", - "MACOS_SDK_VERSION": "13.3.7054/7.0.100", + "MACCATALYST_SDK_VERSION": "16.4.7099/7.0.100", + "IOS_SDK_VERSION": "16.4.7099/7.0.100", + "MACOS_SDK_VERSION": "13.3.7099/7.0.100", "ANDROID_SDK_VERSION": "33.0.46/7.0.100", "MAUI_VERSION": "7.0.86/7.0.100" }, diff --git a/manifests/uno.ui.manifest.json b/manifests/uno.ui.manifest.json index fc2bf2d0..f700d7fd 100644 --- a/manifests/uno.ui.manifest.json +++ b/manifests/uno.ui.manifest.json @@ -4,9 +4,9 @@ "variables": { "OPENJDK_VERSION": "11.0.20.1", "DOTNET_SDK_VERSION": "7.0.401", - "MACCATALYST_SDK_VERSION": "16.4.7054/7.0.100", - "IOS_SDK_VERSION": "16.4.7054/7.0.100", - "MACOS_SDK_VERSION": "13.3.7054/7.0.100", + "MACCATALYST_SDK_VERSION": "16.4.7099/7.0.100", + "IOS_SDK_VERSION": "16.4.7099/7.0.100", + "MACOS_SDK_VERSION": "13.3.7099/7.0.100", "ANDROID_SDK_VERSION": "33.0.46/7.0.100", "MAUI_VERSION": "7.0.86/7.0.100" },