There are a few packages which seem to require ibtool. This binary comes from the full Xcode rather than cli tools for some reason, and that would make the package non-free.
In a moment of madness I thought - what’s to stop me from reimplementing it? Turns out there’s a project on GH already which can process some iOS xib files, but it’s extremely alpha and has bugs. But after a few changes, I can process the smallest of Transmission’s xib files. (With lots of attributes still missing, but still)
But before I dig too deep and polish the results to be 100% matching:
Has anyone tried to do that yet? Are there any known “this will not work because…” reasons?
Has anyone thought about it and collected any minimal .xib files? Just getting enough good samples is an annoying job.
I tried it once for the Vulkan-Tools cube demo, but it didn’t work. That may be one simple example. Another could be the Mac pinentry for GNUPG. There are translated nibs checked into nixpkgs, which might be useful as references for intended output. They’re not minimal, but the apps are not complicated.
Edit: Added pinentry links. The cube demo is using storyboards, which may not be what you wantz
I don’t think there’s any fundamental reason it couldn’t be done, just… nobody has wanted to do it If you got somewhere with it, that would be incredible!
Although I warn you that your next job would be to write a Metal shader compiler that targets an undocumented IR… (and xcbuild really needs a maintainer or a rewrite…)