Continious integration for Mac/iOS

I have project source (without compiled binaries) in repository, and Binary version of UE4 from launcher on Mac machine.

I want to build iOS binaries (*.ipa) from terminal (to use with jenkins ci).

Is it possible? How to achieve it?