Skip to content

ci: use plural RuntimeIdentifiers for the Mac universal debug build - #372

Merged
SteveTeece merged 1 commit into
devfrom
fix/mac-prerelease-runtimeidentifiers
Sep 2, 2026
Merged

SteveTeece merged 1 commit into
devfrom
fix/mac-prerelease-runtimeidentifiers

Conversation

@SteveTeece

Copy link
Copy Markdown
Owner

The macOS job in debug-pre-release.yml failed with:

NETSDK1083: The specified RuntimeIdentifier 'maccatalyst-x64;maccatalyst-arm64' is not recognized

It was passing the singular -p:RuntimeIdentifier with a semicolon list. The .NET SDK validates a lone RuntimeIdentifier as a single RID and rejects a list. MAUI's Mac Catalyst targets only rewrite a ;-list in the singular property into the plural RuntimeIdentifiers when it is set inside the .csproj (as MAUI does for Release builds) - not when it arrives as a command-line global property. A Debug CLI universal build must therefore pass the plural -p:RuntimeIdentifiers itself.

The %3B escaping is unchanged and still required (issue #366).

The macOS job in debug-pre-release.yml failed with:

  NETSDK1083: The specified RuntimeIdentifier
  'maccatalyst-x64;maccatalyst-arm64' is not recognized

It was passing the singular -p:RuntimeIdentifier with a semicolon list.
The .NET SDK validates a lone RuntimeIdentifier as a single RID and
rejects a list. MAUI's Mac Catalyst targets only rewrite a ;-list in the
singular property into the plural RuntimeIdentifiers when it is set inside
the .csproj (as MAUI does for Release builds) - not when it arrives as a
command-line global property. A Debug CLI universal build must therefore
pass the plural -p:RuntimeIdentifiers itself.

The %3B escaping is unchanged and still required (issue #366).

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
@SteveTeece
SteveTeece merged commit 17a2554 into dev Sep 2, 2026
1 check passed
@SteveTeece
SteveTeece deleted the fix/mac-prerelease-runtimeidentifiers branch September 2, 2026 22:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant