Answers: <p>I think you can also look at new lightweight virtualization for macOS called <a href="https://veertu.com/anka-technology/" rel="nofollow noreferrer">Anka</a>. Anka Build can make it possible for you to setup a virtualized infrastructure on Apple hardware and enable you to provision macOS Vms on-demand from Jenkins.</p>
  
Answers: CC BY-SA 3.0
Answers: 2017-07-15T05:38:14.190Z
Answers: 2017-07-28T18:43:35.893Z
Answers: 2017-07-28T18:43:35.893Z
Answers: Manisha
Answers: <blockquote>
    <p>Is there any other viable solution, maybe better than the ones above :) ?</p>
  </blockquote>
  
  <p>For Jenkins probably no, due to the license issues you mentioned (you have to run macOS on Apple branded hardware). If you can work with that then it's definitely a solution.</p>
  
  <p>If not, then I'd suggest you to check for a hosted iOS continuous integration system where you don't have to deal with the Apple hardware / licensing, the service will manage it for you, e.g. <a href="https://www.bitrise.io" rel="noreferrer">https://www.bitrise.io</a></p>
  
  <p>There are also services where you can rent Apple hw and you can configure it any way you like, <a href="https://www.macstadium.com" rel="noreferrer">https://www.macstadium.com</a> is one of them (probably the biggest one).</p>
  
Answers: CC BY-SA 3.0
Answers: 2017-04-21T12:58:34.957Z
Answers: Thanks for the reponse. I am still looking for a solution. I think a MiniMac is the way to go for now.
Answers: Dan Bodnar
Answers: CC BY-SA 3.0
Answers: 2017-04-11T05:15:49.353Z
Answers: 2017-04-11T05:15:49.353Z
Answers: Viktor Benei
Body: <p>As a iOS developer, I was looking to create a CI and CCQ (= Continuous Code Quality) infrastructure for the iOS projects we have in development so far. We already use Jenkins and SonarQube for almost all the Web and Android projects (using a VM foreach project, installing and configuring the CI and CCQ is automated) and it works great. But for the iOS projects, Jenkins needs to do the build on a computer running macOS, so I am not sure I have the perfect solution for that. </p>
  
  <ul>
  <li>I was looking into a solution to virtualise the macOS. For each
  project, to create a virtual macOS and install Jenkins as slave there
  to handle the builds. The solution looked perfect, but it seems it is
  not legal to have more than 2 VM running with macOS (and of course,
  only on Mac computer)
  <a href="http://images.apple.com/legal/sla/docs/macOS1012.pdf" rel="noreferrer">http://images.apple.com/legal/sla/docs/macOS1012.pdf</a> -> The point
  2.B. So this isn't a solution for my case.</li>
  <li>Another common solution I've read about is to have a Mac computer
  (maybe a MacMini) that will handle all the builds for all the
  projects. What do you think about this implementation? How many
  projects may it handle? Developers may need to do some configurations
  on their own project (especially in SonarQube), is it safe? </li>
  <li>Can we have multiple Jenkins and SonarQube instances on the same machine, using different ports? Is this even a solution to be considered or I am talking non-sense?</li>
  <li>Is there any other viable solution, maybe better than the ones above :) ? </li>
  </ul>
  
  <p>Note: I am not sticking to Jenkins + SonarQube duo, if there are any other tools better suitable for iOS development, please share them with me. </p>
  
Comments: CC BY-SA 3.0
Comments: 2017-04-21T12:57:54.330Z
Comments: @Pierre.Vriens: it's Continuous Code Quality. I'm not sure if this is a generally used term, or just SonarQube uses it. :)
Comments: Dan Bodnar
Tags: <jenkins><continuous-integration><ios>
Title: Continuous Integration infrastructure for multiple iOS projects
UserDisplayName: Dan Bodnar
ThreadText: # Continuous Integration infrastructure for multiple iOS projects
  
  (Asked by: username_0 on 2017-04-10)
  
  As a iOS developer, I was looking to create a CI and CCQ (= Continuous Code Quality) infrastructure for the iOS projects we have in development so far. We already use Jenkins and SonarQube for almost all the Web and Android projects (using a VM foreach project, installing and configuring the CI and CCQ is automated) and it works great. But for the iOS projects, Jenkins needs to do the build on a computer running macOS, so I am not sure I have the perfect solution for that.
  
  * I was looking into a solution to virtualise the macOS. For each
    project, to create a virtual macOS and install Jenkins as slave there
    to handle the builds. The solution looked perfect, but it seems it is
    not legal to have more than 2 VM running with macOS (and of course,
    only on Mac computer)
    <http://images.apple.com/legal/sla/docs/macOS1012.pdf> -> The point
    2.B. So this isn't a solution for my case.
  * Another common solution I've read about is to have a Mac computer
    (maybe a MacMini) that will handle all the builds for all the
    projects. What do you think about this implementation? How many
    projects may it handle? Developers may need to do some configurations
    on their own project (especially in SonarQube), is it safe?
  * Can we have multiple Jenkins and SonarQube instances on the same machine, using different ports? Is this even a solution to be considered or I am talking non-sense?
  * Is there any other viable solution, maybe better than the ones above :) ?
  
  Note: I am not sticking to Jenkins + SonarQube duo, if there are any other tools better suitable for iOS development, please share them with me.
  
  **Tags:** jenkins, continuous-integration, ios
  
  > **Comments:**
  > **username_0**: @Pierre.Vriens: it's Continuous Code Quality. I'm not sure if this is a generally used term, or just SonarQube uses it. :)  
  
  ---
  
  ## 2 answers
  
  ### Answer by username_2 on 2017-04-11. Score: 10
  
  > Is there any other viable solution, maybe better than the ones above :) ?
  
  For Jenkins probably no, due to the license issues you mentioned (you have to run macOS on Apple branded hardware). If you can work with that then it's definitely a solution.
  
  If not, then I'd suggest you to check for a hosted iOS continuous integration system where you don't have to deal with the Apple hardware / licensing, the service will manage it for you, e.g. <https://www.bitrise.io>
  
  There are also services where you can rent Apple hw and you can configure it any way you like, <https://www.macstadium.com> is one of them (probably the biggest one).
  
  > **Comments:**
  > **username_0**: Thanks for the reponse. I am still looking for a solution. I think a MiniMac is the way to go for now.  
  
  ---
  
  ### Answer by username_1 on 2017-07-15. Score: 2
  
  I think you can also look at new lightweight virtualization for macOS called [Anka](https://veertu.com/anka-technology/). Anka Build can make it possible for you to setup a virtualized infrastructure on Apple hardware and enable you to provision macOS Vms on-demand from Jenkins.
  
  
  ---
  
  