Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is it possible to run jenkins with two different iOS sdks

Tags:

xcode

jenkins

We are using Jenkins to run our xcodebuilds on a Mac Mini server. In the last weeks we started development of iOS 7 apps and we installed Xcode 5 DP versions on the Mac Mini.

When installing a new Xcode version and configuring the xcodebuild of the new Xcode which xcode-select this new version is also used for building our old iOS 6 apps - which breaks the UI of them.

Is there a way to tell Jenkins which xcodebuild it should use to build a project?

like image 701
Thomas Einwaller Avatar asked Aug 08 '13 21:08

Thomas Einwaller


1 Answers

Check out the solution posted by Andy Molloy at http://andymolloy.net/specifying-xcode-version-for-jenkins-projects.

You have to install EnvInject plugin for Jenkins and add DEVELOPER_DIR=/Applications/Xcode5-DP6.app/Contents/Developer environment variable to your build job.

like image 65
kolyuchiy Avatar answered Sep 29 '22 19:09

kolyuchiy