Idea & moe issues

Hi,
Having uge issues running my application (imported with gradle and made with libgdx) using moe.
Does someone has a clear guide to how run app using Idea and moe by sideloading it on a connected Iphone?
(I’m using mac)