February 2012
6 posts
2 tags
AppCode, OCUnit, GHUnit, CI and All That
Outdated: See Continuous Integration for Cocoa Reloaded I am using AppCode for not-so-daily Cocoa coding sessions. Therefore, I want to use its nice OCUnit integration—similar to the JUnit integration of IntelliJ. At the same time, I do not want to give up the CI integration of GHUnit. To combine both, I did the following. Set up your GHUnit target denoted by ghunit. Create a new OCUnit target...
Feb 22nd
1 tag
Zur Mittagsstunde von Neil LaBute, Residenz...
Krampfhaft…
Feb 15th
2 tags
Continuous Integration for Cocoa
Outdated: See Continuous Integration for Cocoa Reloaded Using GHUnit and Jenkins, it is quite straight-forward to set up continuous integration environment for Cocoa—also iOS—projects. Set up GHUnit and write some awesome tests Makefile (put this in the project root folder) default: # Set default make action here # xcodebuild -target Tests -configuration MyMainTarget -sdk macosx...
Feb 12th
13 notes
2 tags
Analyzing Objective-C Code Using Jenkins
Outdated: See Continuous Integration for Cocoa Reloaded Using Jenkins, you can automatically execute Clang’s static analyzer each time you commit to your local Git repository. First, download the binary files, unpack them somewhere and install the Clang Scan-Build Plugin in Jenkins. Then, create a new free-style job with the following [ -e clangScanBuildReports ] && rm -r...
Feb 4th
3 tags
Building a Cocoa App via Jenkins
After some heavy Cocoa coding, I want to build my application in the Release configuration for deployment—well, I must admit that my app is not quite ready yet—, I have to archive it using Xcode and share it. If you are aware of a shortcut, please let me know. Having set up Jenkins on my machine, I wanted Jenkins to do it for me. This is how: Create a new free-style Job and name it...
Feb 1st
2 tags
Setting Up Jenkins on Lion
Recently, I set up Jenkins on my machine and it was not a trivial task. Therefore, this post will serve me as a memo for later. Get jenkins.war and put it somewhere. In my case, /opt/bin Create a dedicated user who will run Jenkins Find out free UniqueID and PrimaryGroupID using dscl . -list /Users UniqueID dscl . -list /Groups PrimaryGroupID In my case 503 was free. Create the group and user...
Feb 1st