Skip to content

Commit

Permalink
fix(manifest): Bump SDK to include Xcode15 vs NewsstandKit fix
Browse files Browse the repository at this point in the history
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 <NewsstandKit/NewsstandKit.h> [/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]
```
  • Loading branch information
spouliot committed Oct 7, 2023
1 parent 7889f0c commit c2cc7f3
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions manifests/uno.ui-preview.manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
},
Expand Down
6 changes: 3 additions & 3 deletions manifests/uno.ui.manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
},
Expand Down

0 comments on commit c2cc7f3

Please sign in to comment.