Tag: xcode

Reference Xcode version number from Jenkins

I’m trying to get a reference to my Xcode projects CFBundleVersionString or CFBundleVersion within my Jenkins Build. My goal is to be able to set the build numbers in this sort of fashion ${CFBundleVersionString}.${build_number}. This way the Version is dictated by the project and the build number is added on when the project is built. […]

Xcode 5 storyboard compile failure

I’m running Xcode 5 and building for iOS 7. When I try to build this project for archiving I get this error. I get it on my local machine and on my jenkins build server. I have gone through the storyboard and I am not finding any reason for this error. It builds just fine […]

Keychain won't unlock from Jenkins script unless user logged in

I’m running a Jenkins CI server on an OS X machine. The server is running as a standard user ‘john’, and is started by running launchctl. One of the things this server does is build XCode projects using keys and certificates stored in a keychain ‘xcode.keychain’: Jenkins (which is running under the user ‘john’ according […]

Running iOS Unit Tests from Command Line with Xcode 4.5

While running Unit Tests from command line (necessary for Jenkins) used to work until Xcode 4.4.1 with this hack, it does not seem to work anymore with Xcode 4.5. Now I get the following error message: ….MyTests.build/Script-641C6E0115D3BECD004175F…: line 3: 16669 Segmentation fault: 11 “${SYSTEM_DEVELOPER_DIR}/Tools/RunUnitTests” Any ideas how to make it work again?

Apple CI / Xcode Service and Jenkins

Is there a way/plugin to integrate the new Xcode service and/or the new Apple CI with Jenkins? Why? A main issue with having a Jenkins server + an OSX build slave connected via ssh is that Unit Tests do not work, as the iOS Simulator needs a graphical environment which is not present in this […]

How do we manually fix “ResourceRules.plist: cannot read resources” error after xcode 6.1 upgrade?

We are having the same issue found here, here, here and here Basically we upgraded to xcode 6.1 and our build are getting the “ResourceRules.plist: cannot read resources” error. We have a Jenkins server that does our ios builds for us. We are using the Xcode plugin on Jenkins to do the actual build and […]

Use xcodebuild (Xcode 8) and automatic signing in CI (Travis/Jenkins) environments

With the release of Xcode 8, Apple introduced a new way of managing the signing configuration. Now you have two options Manual and Automatic. According to the WWDC 2016 Session about Code signing (WWDC 2016 – 401 – What’s new in Xcode app signing), when you select Automatic signing, Xcode is going to: Create signing […]

Select branch to build in Jenkins

I have several branches in my project. Is it possible to make dynamic branch selection in Jenkins’s job? The idea is that Jenkins will get list of current branches and display them as possible choice parameter. Is there any way to do that? Thanks

Xcode 6.0.1 crashes when merging 2 branches

Every time I try to merge a branch into another branch Xcode 6.0.1 crashes. So far I have: Tried from a different computer to merge the same branches (pushed them and pulled them before obviously) and it still crashes. Created a new branch from the “faulty branch” added a space in it and merged it […]

How can I get Xcode 5 to run iOS unit tests on a Jenkins slave?

We’ve been using Jenkins with the Xcode plugin to run continuous integration of our iOS applications including automatic execution and reporting of the unit tests. This worked well using Jenkins on a Linux machine and a Mac slave running Xcode 4.6.3. Now we are looking to update the setup to Xcode 5 to support targetting […]

Git Baby is a git and github fan, let's start git clone.