auriamg / macdylibbundler

Utility to ease bundling libraries into executables for OSX
MIT License
550 stars 83 forks source link

Cannot ignore libswiftAppKit.dylib #17

Open jannejava opened 8 years ago

jannejava commented 8 years ago

Trying to fix path in a mixed obj-c and Swift project. I cannot ignore libswiftAppKit.dylib. Or I am missing something?

dylibbundler -od -b -x MacOS/MyApp -d ./libs -i libswiftAppKit.dylib
* Collecting dependencies...............
/!\ WARNING : Library libswiftAppKit.dylib has an incomplete name (location unknown)
auriamg commented 8 years ago

To be honest it's been quite a long time since I've written dylibbundler so I don't remember by heart, but IIRC the "-i" option is meant to ignore directories, not individual files. So maybe a special case would need to be added into dylibbundler to handle swift