Skip to content

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

@joskuijpers

Description

@joskuijpers
Contributor

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    Status

    Todo

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @joskuijpers

        Issue actions

          [SDL3] iOS simulator build of SDL3 has invalid native format · Issue #2430 · dotnet/Silk.NET