djt djt - 14 days ago 7
iOS Question

iOS - Continuous Integration with Jenkins / Fastlane

I'm setting up a continuous integration server on AWS EC2, and wanted to integrate Fastlane into it. Per the Fastlane docs:

fastlane requires macOS or Linux with Ruby 2.0.0 or above


and also

Deploying from your own computer isn't cool. You know what's cool? Letting a remote server publish app updates for you.
link

My question is, if your continuous integration server is a Linux box (which it most certainly will be), then how can you do remote builds for an iOS app -- which Fastlane seems to suggest that you do -- on your Linux box.

Answer

You can not use a Linux machine for an iOS app as you need Xcode to build it.

You can use online ci servers such as https://travis-ci.org/ or https://www.bitrise.io/.