I'm working on a project which will use an open source cross-plateform library. This library is a huge one, built using the Makefile
system (or even Rakefile
😉). I would love to build a podspec to be able to integrate this lib using CocoaPods
. But I cannot find a way to do this.
I thought about adding a run script to the pod install
phase, or (maybe better) add a run script phase to the Xcode target which would launch the proper make […]
command to have this open source lib build for the right platform.
Any idea or pointers on that? Thanks!
See the prepare_command
docs: http://guides.cocoapods.org/syntax/podspec.html#prepare_command.