Skip to content

Migrate macOS native library from FAT binary to architecture-specific RIDs#5

Closed
nowsprinting wants to merge 1 commit intomainfrom
fix/rid_osx
Closed

Migrate macOS native library from FAT binary to architecture-specific RIDs#5
nowsprinting wants to merge 1 commit intomainfrom
fix/rid_osx

Conversation

@nowsprinting
Copy link
Contributor

@nowsprinting nowsprinting commented Jan 14, 2026

Replace the unofficial 'osx' RID with official .NET RIDs (osx-arm64, osx-x64) to properly support both Apple Silicon and Intel architectures. This improves compatibility with .NET runtime's RID resolution and follows official guidelines.

Changes:

  • Split build-native-osx job into matrix strategy for parallel builds
  • Integrate test-native-osx into build-native-osx for each architecture
  • Remove lipo step and distribute separate binaries per architecture
  • Update NuGet package paths to include both osx-arm64 and osx-x64

Note: This is necessary because NuGetForUnity processes RIDs strictly.

… RIDs

Replace the unofficial 'osx' RID with official .NET RIDs (osx-arm64, osx-x64) to properly support both Apple Silicon and Intel architectures. This improves compatibility with .NET runtime's RID resolution and follows official guidelines.

Changes:
- Split build-native-osx job into matrix strategy for parallel builds
- Integrate test-native-osx into build-native-osx for each architecture
- Remove lipo step and distribute separate binaries per architecture
- Update NuGet package paths to include both osx-arm64 and osx-x64

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
@nowsprinting
Copy link
Contributor Author

This PR will be discontinued because the fat library is required for player builds.
For UnityNuGet users, announce the NativeRuntimeSettings.json settings.

@nowsprinting nowsprinting deleted the fix/rid_osx branch January 15, 2026 04:04
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