I need help and advice

I need to build iOS .APP and an .IPA file via Jenkins. I have access on source code which is on Github, I also have Jenkins installed, but I don’t know which command I need to use to build that files. I searched it on internet but nothing. is there any way to do to via Jenkins? (IOS app is written on swift)