diff --git a/Uno.Gallery/Uno.Gallery.csproj b/Uno.Gallery/Uno.Gallery.csproj
index 65f086c9c..ed90883e5 100644
--- a/Uno.Gallery/Uno.Gallery.csproj
+++ b/Uno.Gallery/Uno.Gallery.csproj
@@ -8,7 +8,6 @@
$(TargetFrameworkOverride)
net9.0-ios;
- net9.0-maccatalyst;
net9.0-windows10.0.19041;
net9.0-desktop;
net9.0-browserwasm;
@@ -35,8 +34,8 @@
com.nventive.uno.gallery
uno.platform.gallery.native
- com.nventive.uno.gallery
- uno.platform.gallery.native
+ com.nventive.uno.gallery
+ uno.platform.gallery.native
1.0
@@ -61,7 +60,7 @@
false
true
false
- true
+ true
false
Material;
@@ -158,7 +157,7 @@
true
true
true
- MacCatalyst\Entitlements.plist
+ MacCatalyst\Entitlements.plist
Uno Gallery Native (Catalyst)
Uno Gallery Native Canary (Catalyst)
diff --git a/azure-pipelines.yml b/azure-pipelines.yml
index b9286691d..18e8b27d4 100644
--- a/azure-pipelines.yml
+++ b/azure-pipelines.yml
@@ -136,13 +136,6 @@ stages:
BuildCommand: publish
UseNativeRendering: true
VariantName: Native
- Catalyst:
- BuildTargetFramework: net9.0-maccatalyst
- ArtifactName: Catalyst
- ApplicationBuildNumberOffset: 50
- BuildCommand: build
- UseNativeRendering: true
- VariantName: Native
iOS_Skia:
BuildTargetFramework: net9.0-ios
ArtifactName: iOS-mobile
@@ -150,9 +143,9 @@ stages:
BuildCommand: publish
UseNativeRendering: false
VariantName: Skia
- Catalyst_Skia:
- BuildTargetFramework: net9.0-maccatalyst
- ArtifactName: Catalyst
+ macOS_Skia:
+ BuildTargetFramework: net9.0-desktop
+ ArtifactName: desktop
ApplicationBuildNumberOffset: 50
BuildCommand: build
UseNativeRendering: false
@@ -245,6 +238,7 @@ stages:
xCodeRoot: $(XCODE_ROOT)
- template: build/stage-build-mobile.yml
+ - template: build/stage-build-skia-desktop-mac.yml
- stage: WebAssembly
displayName: 'WebAssembly'
@@ -293,11 +287,11 @@ stages:
- ${{ if startsWith(variables['Build.SourceBranch'], 'refs/heads/canaries/dev') }}:
- template: build/templates/canary-publish/stage-publish-wasm-canary.yml
- template: build/templates/canary-publish/stage-publish-ios-canary.yml
- - template: build/templates/canary-publish/stage-publish-catalyst-canary.yml
+ - template: build/templates/canary-publish/stage-publish-macos-canary.yml
- template: build/templates/canary-publish/stage-publish-android-canary.yml
- ${{ if startsWith(variables['Build.SourceBranch'], 'refs/heads/master') }}:
- template: build/templates/master-publish/stage-publish-wasm.yml
- template: build/templates/master-publish/stage-publish-ios.yml
- - template: build/templates/master-publish/stage-publish-catalyst.yml
+ - template: build/templates/master-publish/stage-publish-macos.yml
- template: build/templates/master-publish/stage-publish-android.yml
diff --git a/build/build.csproj b/build/build.csproj
index b0a961db7..6531fa4e8 100644
--- a/build/build.csproj
+++ b/build/build.csproj
@@ -58,7 +58,7 @@
<_SourceBasePath>$(MSBuildThisFileDirectory)../$(AppName)
<_AppxManifestPath>$(_SourceBasePath)/Package.appxmanifest
<_MobileAndroidManifestPath>$(_SourceBasePath)/Platforms/Android/AndroidManifest.xml
- <_catalystPlistFilePath>$(_SourceBasePath)/Platforms/MacCatalyst/Info.plist
+ $(_SourceBasePath)/Platforms/MacCatalyst/Info.plist
<_MobileiOSPlistFilePath>$(_SourceBasePath)/Platforms/iOS/Info.plist
<_AndroidNamespace>
@@ -85,20 +85,20 @@
Value="$(_VersionCode)"
Namespaces="$(_AndroidNamespace)" />
-
-
+
+
<_XmlUpdate
- XmlFileName="$(_catalystPlistFilePath)"
+ XmlFileName="$(UnoMacOSCustomInfoPlist)"
XPath="//plist/dict/key[text() = 'CFBundleShortVersionString']/following-sibling::string[1]"
Value="$(_AppVersion)" />
<_XmlUpdate
- XmlFileName="$(_catalystPlistFilePath)"
+ XmlFileName="$(UnoMacOSCustomInfoPlist)"
XPath="//plist/dict/key[text() = 'CFBundleVersion']/following-sibling::string[1]"
Value="$(_AppleBuildNumber)" />
-
+
<_XmlUpdate
XmlFileName="$(_MobileiOSPlistFilePath)"
XPath="//plist/dict/key[text() = 'CFBundleShortVersionString']/following-sibling::string[1]"
diff --git a/build/stage-build-mobile.yml b/build/stage-build-mobile.yml
index 70ea7a8de..5b20a5bda 100644
--- a/build/stage-build-mobile.yml
+++ b/build/stage-build-mobile.yml
@@ -6,7 +6,7 @@ steps:
- template: templates/dotnet-install-mac.yml
parameters:
- UnoCheckParameters: '--tfm net9.0-ios --tfm net9.0-maccatalyst'
+ UnoCheckParameters: '--tfm net9.0-ios'
- template: templates/canary-updater.yml
diff --git a/build/stage-build-skia-desktop-mac.yml b/build/stage-build-skia-desktop-mac.yml
new file mode 100644
index 000000000..55a31260c
--- /dev/null
+++ b/build/stage-build-skia-desktop-mac.yml
@@ -0,0 +1,24 @@
+steps:
+- checkout: self
+ clean: true
+ fetchDepth: 0
+ persistCredentials: true
+
+- template: templates/gitversion.yml
+- template: templates/dotnet-install-windows.yml
+- template: templates/canary-updater.yml
+
+- bash: |
+ dotnet publish Uno.Gallery/Uno.Gallery.csproj -p:TargetFrameworkOverride=net9.0-desktop -c Release -p:PackageFormat=pkg -p:InformationalVersion=$(NBGV_InformationalVersion) -bl:$(build.artifactstagingdirectory)/build.binlog
+
+- task: CopyFiles@2
+ displayName: Copy Skia output
+ inputs:
+ SourceFolder: Uno.Gallery/bin/Release/net9.0-desktop
+ Contents: '**/*.pkg'
+ TargetFolder: $(Build.ArtifactStagingDirectory)/bin
+
+- task: PublishBuildArtifacts@1
+ retryCountOnTaskFailure: 3
+ inputs:
+ ArtifactName: desktop
diff --git a/build/templates/canary-publish/stage-publish-catalyst-canary.yml b/build/templates/canary-publish/stage-publish-catalyst-canary.yml
deleted file mode 100644
index 29f706064..000000000
--- a/build/templates/canary-publish/stage-publish-catalyst-canary.yml
+++ /dev/null
@@ -1,62 +0,0 @@
-stages:
-- stage: Catalyst_Publish
- displayName: 'Catalyst Publish'
- dependsOn: Apple
-
- jobs:
- - deployment: 'Catalyst_Publish_Native'
- displayName: 'Publish Catalyst Native'
- environment: Uno Gallery
- pool:
- vmImage: macos-latest
-
- strategy:
- runOnce:
- deploy:
- steps:
- # https://github.com/microsoft/azure-pipelines-tasks/issues/17207
- - download: none
- - task: DownloadPipelineArtifact@2
- inputs:
- artifactName: 'catalyst-native'
- targetPath: '$(Pipeline.Workspace)/drop'
- displayName: Download artifacts
-
- - task: ms-vsclient.app-store.app-store-release.AppStoreRelease@1
- displayName: 'Publish to the App Store TestFlight track'
- inputs:
- serviceEndpoint: 'App Store (uno platform)'
- appIdentifier: uno.platform.gallery.native_canary
- appType: macOS
- ipaPath: '$(Pipeline.Workspace)/drop/net9.0-maccatalyst/Uno.Gallery-*.pkg'
- shouldSkipWaitingForProcessing: true
- appSpecificId: 1619130328
-
- - deployment: 'Catalyst_Publish_Skia'
- displayName: 'Publish Catalyst Skia'
- environment: Uno Gallery
- pool:
- vmImage: macos-latest
-
- strategy:
- runOnce:
- deploy:
- steps:
- # https://github.com/microsoft/azure-pipelines-tasks/issues/17207
- - download: none
- - task: DownloadPipelineArtifact@2
- inputs:
- artifactName: 'Catalyst-skia'
- targetPath: '$(Pipeline.Workspace)/drop'
- displayName: Download artifacts
-
- - task: ms-vsclient.app-store.app-store-release.AppStoreRelease@1
- displayName: 'Publish to the App Store TestFlight track'
- inputs:
- serviceEndpoint: 'App Store (uno platform)'
- appIdentifier: com.nventive.uno.gallery-canary
- appType: macOS
- ipaPath: '$(Pipeline.Workspace)/drop/net9.0-maccatalyst/Uno.Gallery-*.pkg'
- shouldSkipWaitingForProcessing: true
- appSpecificId: 6739235480
-
diff --git a/build/templates/canary-publish/stage-publish-macos-canary.yml b/build/templates/canary-publish/stage-publish-macos-canary.yml
new file mode 100644
index 000000000..2c4547dac
--- /dev/null
+++ b/build/templates/canary-publish/stage-publish-macos-canary.yml
@@ -0,0 +1,34 @@
+stages:
+- stage: MacOS_Publish
+ displayName: 'macOS Publish'
+ dependsOn: Apple
+
+ jobs:
+ - deployment: 'MacOS_Publish_Skia'
+ displayName: 'Publish macOS Skia'
+ environment: Uno Gallery
+ pool:
+ vmImage: macos-latest
+
+ strategy:
+ runOnce:
+ deploy:
+ steps:
+ # https://github.com/microsoft/azure-pipelines-tasks/issues/17207
+ - download: none
+ - task: DownloadPipelineArtifact@2
+ inputs:
+ artifactName: 'macOS-skia'
+ targetPath: '$(Pipeline.Workspace)/drop'
+ displayName: Download artifacts
+
+ - task: ms-vsclient.app-store.app-store-release.AppStoreRelease@1
+ displayName: 'Publish to the App Store TestFlight track'
+ inputs:
+ serviceEndpoint: 'App Store (uno platform)'
+ appIdentifier: com.nventive.uno.gallery-canary
+ appType: macOS
+ ipaPath: '$(Pipeline.Workspace)/drop/net9.0-desktop/Uno.Gallery-*.pkg'
+ shouldSkipWaitingForProcessing: true
+ appSpecificId: 6739235480
+
diff --git a/build/templates/canary-updater.yml b/build/templates/canary-updater.yml
index 607a5e12a..253aa9c1f 100644
--- a/build/templates/canary-updater.yml
+++ b/build/templates/canary-updater.yml
@@ -71,5 +71,5 @@ steps:
$a = $_.fullname; ( get-content $a ) |
foreach-object { $_ -replace "com.nventive.uno.gallery","com.nventive.uno.gallery-canary" } |
set-content $a }
- displayName: 'Adjust info.plist bundle name (Catalyst)'
+ displayName: 'Adjust info.plist bundle name (macOS)'
condition: startsWith(variables['Build.SourceBranch'], 'refs/heads/canaries')
diff --git a/build/templates/master-publish/stage-publish-catalyst.yml b/build/templates/master-publish/stage-publish-catalyst.yml
deleted file mode 100644
index de78c0c4e..000000000
--- a/build/templates/master-publish/stage-publish-catalyst.yml
+++ /dev/null
@@ -1,62 +0,0 @@
-stages:
-- stage: Catalyst_Publish
- displayName: 'Catalyst Publish'
- dependsOn: Apple
-
- jobs:
- - deployment: 'Catalyst_Publish_Native'
- displayName: 'Publish Catalyst Native'
- environment: Uno Gallery
- pool:
- vmImage: macos-latest
-
- strategy:
- runOnce:
- deploy:
- steps:
- # https://github.com/microsoft/azure-pipelines-tasks/issues/17207
- - download: none
- - task: DownloadPipelineArtifact@2
- inputs:
- artifactName: 'catalyst-native'
- targetPath: '$(Pipeline.Workspace)/drop'
- displayName: Download artifacts
-
- - task: ms-vsclient.app-store.app-store-release.AppStoreRelease@1
- displayName: 'Publish to the App Store TestFlight track'
- inputs:
- serviceEndpoint: 'App Store (uno platform)'
- appIdentifier: uno.platform.gallery.native
- appType: macOS
- ipaPath: '$(Pipeline.Workspace)/drop/net9.0-maccatalyst/Uno.Gallery-*.pkg'
- shouldSkipWaitingForProcessing: true
- appSpecificId: 6739235480
-
- - deployment: 'Catalyst_Publish_Skia'
- displayName: 'Publish Catalyst Skia'
- environment: Uno Gallery
- pool:
- vmImage: macos-latest
-
- strategy:
- runOnce:
- deploy:
- steps:
- # https://github.com/microsoft/azure-pipelines-tasks/issues/17207
- - download: none
- - task: DownloadPipelineArtifact@2
- inputs:
- artifactName: 'Catalyst-skia'
- targetPath: '$(Pipeline.Workspace)/drop'
- displayName: Download artifacts
-
- - task: ms-vsclient.app-store.app-store-release.AppStoreRelease@1
- displayName: 'Publish to the App Store TestFlight track'
- inputs:
- serviceEndpoint: 'App Store (uno platform)'
- appIdentifier: com.nventive.uno.gallery
- appType: macOS
- ipaPath: '$(Pipeline.Workspace)/drop/net9.0-maccatalyst/Uno.Gallery-*.pkg'
- shouldSkipWaitingForProcessing: true
- appSpecificId: 1619130328
-
diff --git a/build/templates/master-publish/stage-publish-macos.yml b/build/templates/master-publish/stage-publish-macos.yml
new file mode 100644
index 000000000..90a876fd8
--- /dev/null
+++ b/build/templates/master-publish/stage-publish-macos.yml
@@ -0,0 +1,34 @@
+stages:
+- stage: macOS_Publish
+ displayName: 'macOS Publish'
+ dependsOn: Apple
+
+ jobs:
+ - deployment: 'MacOS_Publish_Skia'
+ displayName: 'Publish macOS Skia'
+ environment: Uno Gallery
+ pool:
+ vmImage: macos-latest
+
+ strategy:
+ runOnce:
+ deploy:
+ steps:
+ # https://github.com/microsoft/azure-pipelines-tasks/issues/17207
+ - download: none
+ - task: DownloadPipelineArtifact@2
+ inputs:
+ artifactName: 'macOS-skia'
+ targetPath: '$(Pipeline.Workspace)/drop'
+ displayName: Download artifacts
+
+ - task: ms-vsclient.app-store.app-store-release.AppStoreRelease@1
+ displayName: 'Publish to the App Store TestFlight track'
+ inputs:
+ serviceEndpoint: 'App Store (uno platform)'
+ appIdentifier: com.nventive.uno.gallery
+ appType: macOS
+ ipaPath: '$(Pipeline.Workspace)/drop/net9.0-desktop/Uno.Gallery-*.pkg'
+ shouldSkipWaitingForProcessing: true
+ appSpecificId: 1619130328
+