- Specifying the wrong path for the built application
- Running Jenkins as a user other than the one currently logged into OS X
I got tripped up by the first problem because there was a bug in the code I wrote to figure out the current working directory of the build: it worked on my local machine but not in Jenkins’ workspace (whoops). ios-sim would be a better tool if it alerted the user that the specified application path doesn’t exist, so I’ve made it do just that.
Fortunately, I didn’t bump into the second issue because I installed Jenkins using Homebrew *, but I’m mentioning it because more than one of the ios-sim users commenting on this issue seem to be running Jenkins as root.
I’m writing up a much more detailed post about CI for iOS… watch this space!
Update: 23 July 2012 New targets for ios-sim links — it’s now part of phonegap
* By default, all the services installed by Homebrew run as the user who installed Homebrew itself.