The Swift Package Index logo.Swift Package Index

Build Information

Failed to build SDL with Swift 5.9 for macOS (SPM).

Build Command

Build command unavailable

Build Log

========================================
RunAll
========================================
Builder version: 4.27.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/pureswift/sdl.git
Reference: master
Initialized empty Git repository in /Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/.git/
From https://github.com/pureswift/sdl
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at e317e88 Updated headers location for macOS
Cloned https://github.com/pureswift/sdl.git
Revision (git rev-parse @):
e317e8882cc03709aaddd17770e1fab5522ea256
SUCCESS checkout https://github.com/pureswift/sdl.git at master
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
  "identity": ".resolve-product-dependencies",
  "name": "resolve-dependencies",
  "url": "/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/.resolve-product-dependencies",
  "version": "unspecified",
  "path": "/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/.resolve-product-dependencies",
  "dependencies": [
    {
      "identity": "sdl",
      "name": "SDL",
      "url": "https://github.com/pureswift/sdl.git",
      "version": "unspecified",
      "path": "/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/sdl",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/pureswift/sdl.git
[1/455] Fetching sdl
Fetched https://github.com/pureswift/sdl.git (0.29s)
Creating working copy for https://github.com/pureswift/sdl.git
Working copy of https://github.com/pureswift/sdl.git resolved at master
Found 0 product dependencies
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             5.9
Building package at path:  $PWD/checkout
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.0.0.app xcrun swift build --arch arm64
Building for debugging...
[1/16] Compiling SDL Texture.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "shim.h"
        ^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CSDL2/shim.h:2:10: error: '/opt/homebrew/include/SDL2/SDL.h' file not found
#include "/opt/homebrew/include/SDL2/SDL.h"
         ^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SDL/BlendMode.swift:8:8: error: could not build Objective-C module 'CSDL2'
import CSDL2
       ^
[2/16] Compiling SDL VideoDisplay.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "shim.h"
        ^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CSDL2/shim.h:2:10: error: '/opt/homebrew/include/SDL2/SDL.h' file not found
#include "/opt/homebrew/include/SDL2/SDL.h"
         ^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SDL/BlendMode.swift:8:8: error: could not build Objective-C module 'CSDL2'
import CSDL2
       ^
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/17] Emitting module SDL
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "shim.h"
        ^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CSDL2/shim.h:2:10: error: '/opt/homebrew/include/SDL2/SDL.h' file not found
#include "/opt/homebrew/include/SDL2/SDL.h"
         ^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SDL/BlendMode.swift:8:8: error: could not build Objective-C module 'CSDL2'
import CSDL2
       ^
[4/17] Compiling SDL PixelFormat.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "shim.h"
        ^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CSDL2/shim.h:2:10: error: '/opt/homebrew/include/SDL2/SDL.h' file not found
#include "/opt/homebrew/include/SDL2/SDL.h"
         ^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SDL/BlendMode.swift:8:8: error: could not build Objective-C module 'CSDL2'
import CSDL2
       ^
[5/17] Compiling SDL Renderer.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "shim.h"
        ^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CSDL2/shim.h:2:10: error: '/opt/homebrew/include/SDL2/SDL.h' file not found
#include "/opt/homebrew/include/SDL2/SDL.h"
         ^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SDL/BlendMode.swift:8:8: error: could not build Objective-C module 'CSDL2'
import CSDL2
       ^
[6/17] Compiling SDL DisplayMode.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "shim.h"
        ^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CSDL2/shim.h:2:10: error: '/opt/homebrew/include/SDL2/SDL.h' file not found
#include "/opt/homebrew/include/SDL2/SDL.h"
         ^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SDL/BlendMode.swift:8:8: error: could not build Objective-C module 'CSDL2'
import CSDL2
       ^
[7/17] Compiling SDL Error.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "shim.h"
        ^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CSDL2/shim.h:2:10: error: '/opt/homebrew/include/SDL2/SDL.h' file not found
#include "/opt/homebrew/include/SDL2/SDL.h"
         ^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SDL/BlendMode.swift:8:8: error: could not build Objective-C module 'CSDL2'
import CSDL2
       ^
[8/17] Compiling SDL Color.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "shim.h"
        ^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CSDL2/shim.h:2:10: error: '/opt/homebrew/include/SDL2/SDL.h' file not found
#include "/opt/homebrew/include/SDL2/SDL.h"
         ^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SDL/BlendMode.swift:8:8: error: could not build Objective-C module 'CSDL2'
import CSDL2
       ^
[9/17] Compiling SDL CountableSet.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "shim.h"
        ^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CSDL2/shim.h:2:10: error: '/opt/homebrew/include/SDL2/SDL.h' file not found
#include "/opt/homebrew/include/SDL2/SDL.h"
         ^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SDL/BlendMode.swift:8:8: error: could not build Objective-C module 'CSDL2'
import CSDL2
       ^
[10/17] Compiling SDL Event.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "shim.h"
        ^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CSDL2/shim.h:2:10: error: '/opt/homebrew/include/SDL2/SDL.h' file not found
#include "/opt/homebrew/include/SDL2/SDL.h"
         ^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SDL/BlendMode.swift:8:8: error: could not build Objective-C module 'CSDL2'
import CSDL2
       ^
[11/17] Compiling SDL Palette.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "shim.h"
        ^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CSDL2/shim.h:2:10: error: '/opt/homebrew/include/SDL2/SDL.h' file not found
#include "/opt/homebrew/include/SDL2/SDL.h"
         ^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SDL/BlendMode.swift:8:8: error: could not build Objective-C module 'CSDL2'
import CSDL2
       ^
[12/17] Compiling SDL BitMaskOption.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "shim.h"
        ^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CSDL2/shim.h:2:10: error: '/opt/homebrew/include/SDL2/SDL.h' file not found
#include "/opt/homebrew/include/SDL2/SDL.h"
         ^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SDL/BlendMode.swift:8:8: error: could not build Objective-C module 'CSDL2'
import CSDL2
       ^
[13/17] Compiling SDL BlendMode.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "shim.h"
        ^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CSDL2/shim.h:2:10: error: '/opt/homebrew/include/SDL2/SDL.h' file not found
#include "/opt/homebrew/include/SDL2/SDL.h"
         ^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SDL/BlendMode.swift:8:8: error: could not build Objective-C module 'CSDL2'
import CSDL2
       ^
[14/17] Compiling SDL SDL.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "shim.h"
        ^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CSDL2/shim.h:2:10: error: '/opt/homebrew/include/SDL2/SDL.h' file not found
#include "/opt/homebrew/include/SDL2/SDL.h"
         ^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SDL/BlendMode.swift:8:8: error: could not build Objective-C module 'CSDL2'
import CSDL2
       ^
[15/17] Compiling SDL Surface.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "shim.h"
        ^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CSDL2/shim.h:2:10: error: '/opt/homebrew/include/SDL2/SDL.h' file not found
#include "/opt/homebrew/include/SDL2/SDL.h"
         ^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SDL/BlendMode.swift:8:8: error: could not build Objective-C module 'CSDL2'
import CSDL2
       ^
[16/17] Compiling SDL Window.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "shim.h"
        ^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CSDL2/shim.h:2:10: error: '/opt/homebrew/include/SDL2/SDL.h' file not found
#include "/opt/homebrew/include/SDL2/SDL.h"
         ^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SDL/BlendMode.swift:8:8: error: could not build Objective-C module 'CSDL2'
import CSDL2
       ^
error: fatalError
warning: failed to retrieve search paths with pkg-config; maybe pkg-config is not installed
warning: you may be able to install sdl2 using your system-packager:
    brew install sdl2
[0/1] Planning build
Building for debugging...
[1/16] Compiling SDL Color.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "shim.h"
        ^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CSDL2/shim.h:2:10: error: '/opt/homebrew/include/SDL2/SDL.h' file not found
#include "/opt/homebrew/include/SDL2/SDL.h"
         ^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SDL/BlendMode.swift:8:8: error: could not build Objective-C module 'CSDL2'
import CSDL2
       ^
[2/16] Compiling SDL CountableSet.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "shim.h"
        ^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CSDL2/shim.h:2:10: error: '/opt/homebrew/include/SDL2/SDL.h' file not found
#include "/opt/homebrew/include/SDL2/SDL.h"
         ^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SDL/BlendMode.swift:8:8: error: could not build Objective-C module 'CSDL2'
import CSDL2
       ^
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/17] Emitting module SDL
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "shim.h"
        ^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CSDL2/shim.h:2:10: error: '/opt/homebrew/include/SDL2/SDL.h' file not found
#include "/opt/homebrew/include/SDL2/SDL.h"
         ^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SDL/BlendMode.swift:8:8: error: could not build Objective-C module 'CSDL2'
import CSDL2
       ^
[4/17] Compiling SDL Event.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "shim.h"
        ^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CSDL2/shim.h:2:10: error: '/opt/homebrew/include/SDL2/SDL.h' file not found
#include "/opt/homebrew/include/SDL2/SDL.h"
         ^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SDL/BlendMode.swift:8:8: error: could not build Objective-C module 'CSDL2'
import CSDL2
       ^
[5/17] Compiling SDL Palette.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "shim.h"
        ^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CSDL2/shim.h:2:10: error: '/opt/homebrew/include/SDL2/SDL.h' file not found
#include "/opt/homebrew/include/SDL2/SDL.h"
         ^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SDL/BlendMode.swift:8:8: error: could not build Objective-C module 'CSDL2'
import CSDL2
       ^
[6/17] Compiling SDL Texture.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "shim.h"
        ^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CSDL2/shim.h:2:10: error: '/opt/homebrew/include/SDL2/SDL.h' file not found
#include "/opt/homebrew/include/SDL2/SDL.h"
         ^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SDL/BlendMode.swift:8:8: error: could not build Objective-C module 'CSDL2'
import CSDL2
       ^
[7/17] Compiling SDL VideoDisplay.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "shim.h"
        ^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CSDL2/shim.h:2:10: error: '/opt/homebrew/include/SDL2/SDL.h' file not found
#include "/opt/homebrew/include/SDL2/SDL.h"
         ^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SDL/BlendMode.swift:8:8: error: could not build Objective-C module 'CSDL2'
import CSDL2
       ^
[8/17] Compiling SDL PixelFormat.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "shim.h"
        ^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CSDL2/shim.h:2:10: error: '/opt/homebrew/include/SDL2/SDL.h' file not found
#include "/opt/homebrew/include/SDL2/SDL.h"
         ^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SDL/BlendMode.swift:8:8: error: could not build Objective-C module 'CSDL2'
import CSDL2
       ^
[9/17] Compiling SDL Renderer.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "shim.h"
        ^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CSDL2/shim.h:2:10: error: '/opt/homebrew/include/SDL2/SDL.h' file not found
#include "/opt/homebrew/include/SDL2/SDL.h"
         ^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SDL/BlendMode.swift:8:8: error: could not build Objective-C module 'CSDL2'
import CSDL2
       ^
[10/17] Compiling SDL SDL.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "shim.h"
        ^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CSDL2/shim.h:2:10: error: '/opt/homebrew/include/SDL2/SDL.h' file not found
#include "/opt/homebrew/include/SDL2/SDL.h"
         ^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SDL/BlendMode.swift:8:8: error: could not build Objective-C module 'CSDL2'
import CSDL2
       ^
[11/17] Compiling SDL Surface.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "shim.h"
        ^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CSDL2/shim.h:2:10: error: '/opt/homebrew/include/SDL2/SDL.h' file not found
#include "/opt/homebrew/include/SDL2/SDL.h"
         ^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SDL/BlendMode.swift:8:8: error: could not build Objective-C module 'CSDL2'
import CSDL2
       ^
[12/17] Compiling SDL BitMaskOption.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "shim.h"
        ^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CSDL2/shim.h:2:10: error: '/opt/homebrew/include/SDL2/SDL.h' file not found
#include "/opt/homebrew/include/SDL2/SDL.h"
         ^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SDL/BlendMode.swift:8:8: error: could not build Objective-C module 'CSDL2'
import CSDL2
       ^
[13/17] Compiling SDL BlendMode.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "shim.h"
        ^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CSDL2/shim.h:2:10: error: '/opt/homebrew/include/SDL2/SDL.h' file not found
#include "/opt/homebrew/include/SDL2/SDL.h"
         ^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SDL/BlendMode.swift:8:8: error: could not build Objective-C module 'CSDL2'
import CSDL2
       ^
[14/17] Compiling SDL DisplayMode.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "shim.h"
        ^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CSDL2/shim.h:2:10: error: '/opt/homebrew/include/SDL2/SDL.h' file not found
#include "/opt/homebrew/include/SDL2/SDL.h"
         ^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SDL/BlendMode.swift:8:8: error: could not build Objective-C module 'CSDL2'
import CSDL2
       ^
[15/17] Compiling SDL Error.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "shim.h"
        ^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CSDL2/shim.h:2:10: error: '/opt/homebrew/include/SDL2/SDL.h' file not found
#include "/opt/homebrew/include/SDL2/SDL.h"
         ^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SDL/BlendMode.swift:8:8: error: could not build Objective-C module 'CSDL2'
import CSDL2
       ^
[16/17] Compiling SDL Window.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "shim.h"
        ^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CSDL2/shim.h:2:10: error: '/opt/homebrew/include/SDL2/SDL.h' file not found
#include "/opt/homebrew/include/SDL2/SDL.h"
         ^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SDL/BlendMode.swift:8:8: error: could not build Objective-C module 'CSDL2'
import CSDL2
       ^
error: fatalError
warning: failed to retrieve search paths with pkg-config; maybe pkg-config is not installed
warning: you may be able to install sdl2 using your system-packager:
    brew install sdl2
BUILD FAILURE 5.9 macosSpm