Skip to content

Instantly share code, notes, and snippets.

@dnlcrl
Forked from ssp/xibtonib.sh
Last active December 13, 2021 11:11
Show Gist options
  • Star 7 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dnlcrl/196cefd1fcfa0028c252 to your computer and use it in GitHub Desktop.
Save dnlcrl/196cefd1fcfa0028c252 to your computer and use it in GitHub Desktop.
Convert .xib files to .nib files
#! /bin/sh
find . -name "*.xib" -type f | awk '{sub(/.xib/,"");print}' | xargs -I % ibtool --compile %.nib %.xib
@Nusokcom
Copy link

Nusokcom commented Nov 4, 2017

It seems that I doesn't work now

@yushroom
Copy link

yushroom commented Feb 5, 2018

It works, thx

@barracuda156
Copy link

@dnlcrl Could this tool help Xcode 3 to recognize modern XIB files?

@dnlcrl
Copy link
Author

dnlcrl commented Dec 13, 2021

@barracuda156 I wrote this gist like 6 years ago, I don't even remember what's the purpose of nib and xib files lol I'm sorry

@barracuda156
Copy link

@dnlcrl Got it, thanks. (Those are Xcode interface builder files.)

@dnlcrl
Copy link
Author

dnlcrl commented Dec 13, 2021

Oh sure now I remember thank you :D as for your question, it might worth a try then, good luck!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment