5633f4e890
### Description When building universal apps with NativeAOT, the output path for the app bundle (and zipped .ipa) is incorrect when building with NativeAOT. For example publishing a MAUI template app with NativeAOT gives the following output (notice: `osx-arm64`): ``` Created the package: /Users/ivan/tmp/net9-rc1/MacCatRc1/bin/Release/net9.0-maccatalyst/osx-arm64/publish/MacCatRc1-1.0.pkg ``` and the following output tree: ``` bin/Release bin/Release/net9.0-maccatalyst bin/Release/net9.0-maccatalyst/maccatalyst-arm64/* bin/Release/net9.0-maccatalyst/maccatalyst-x64/* bin/Release/net9.0-maccatalyst/osx-arm64 bin/Release/net9.0-maccatalyst/osx-arm64/MacCatRc1.app/* bin/Release/net9.0-maccatalyst/osx-arm64/publish/* ``` The problem comes from the fact that .NET SDK for NativeAOT builds will try to resolve `RuntimeIdentifier` when it is not specified in: |
||
---|---|---|
.. | ||
Microsoft.MacCatalyst.Sdk | ||
Microsoft.iOS.Sdk | ||
Microsoft.iOS.Windows.Sdk | ||
Microsoft.macOS.Sdk | ||
Microsoft.tvOS.Sdk | ||
Templates | ||
Workloads | ||
package | ||
targets | ||
.gitignore | ||
BreakingChanges.md | ||
BundleContents.md | ||
DefaultCompilationIncludes.md | ||
HIERARCHY.md | ||
Makefile | ||
PackageInfo.plist | ||
SingleProject.md | ||
VERSIONS.md | ||
build-custom-runtime.sh | ||
generate-target-platforms.csharp | ||
generate-vs-workload.csharp | ||
generate-wix.csharp | ||
generate-workloadmanifest-json.csharp | ||
generate-workloadmanifest-targets.csharp |