I needed LibRaw to work around data Apple's not giving to me in CR3 files via CGImage, but I needed a Swift wrapper for LibRaw. Since I didn't see one, I decided to create one.
The project is at https://github.com/davidrankin2/SwiftLibRaw, and contributions are welcome. The code is very pre-production, but it compiles and I can collect metadata off my CR3 files so far...
I would especially love to talk to anyone who has gotten LibRaw to compile with Xcode or in a Swift Package. SwiftLibRaw is using the Brew library right now, but native compiling is on my to-do list because I want to use this code on iOS too.

I'm using this bash script to
I'm using this bash script to build a universal dylib library which can be dropped into Xcode.
https://gist.github.com/chrismacke/c123a6c25c211932099628d0504e5808