dotnet/Silk.NET

[SDL3] iOS simulator build of SDL3 has invalid native format

joskuijpers opened this issue · 0 comments

Summary

When building a target with net8.0-ios, I get the following error:

ld: unknown file type in '~/.nuget/packages/silk.net.sdl.native/3.2.4-build875.0/runtimes/iossimulator/native/libSDL3.a'

The file is of this type:

file ±/.nuget/packages/silk.net.sdl.native/3.2.4-build875.0/runtimes/iossimulator/native/libSDL3.a
±/.nuget/packages/silk.net.sdl.native/3.2.4-build875.0/runtimes/iossimulator/native/libSDL3.a: Mach-O universal binary with 2 architectures: [x86_64:current ar archive] [arm64]
±/.nuget/packages/silk.net.sdl.native/3.2.4-build875.0/runtimes/iossimulator/native/libSDL3.a (for architecture x86_64):       current ar archive
±/.nuget/packages/silk.net.sdl.native/3.2.4-build875.0/runtimes/iossimulator/native/libSDL3.a (for architecture arm64):        data

Steps to reproduce

  • Platform: iOS
  • Framework Version: 8
  1. Created a new project for iOS with SDL3
  2. Built it